# Authorization & witnesses

A descriptor defines the rules. A witness supplies the evidence that a particular transaction satisfies them.

Canonical page: https://quantumchain.info/docs/protocol/authorization-and-witnesses

Category: Protocol · Reviewed: 24 November 2026

## Rule, commitment, evidence

An address identifies committed authority; a witness must satisfy that authority for this exact action.

1. **Descriptor** — Defines allowed keys, thresholds, time conditions or delegated authority.
2. **Commitment** — An address or object binds to that descriptor through a canonical reference.
3. **Signing message** — Commits to the chain, action, outputs, fees and replay context.
4. **Witness** — Supplies signatures and other required evidence for deterministic verification.

## Authorization families

These are design families, not a claim that every wallet or node already supports them. Recovery and delegation do not imply that the platform can bypass an owner’s rules.

| Family | Requirement |
| --- | --- |
| Single key | A valid signature from the descriptor’s authorized key |
| Threshold | Enough distinct authorized signers approve the same signing message |
| Hybrid | The descriptor’s required classical and post-quantum evidence |
| Timelock | Applicable time conditions plus the required signing authority |
| Delegated | A valid delegation within its scope, limits and lifetime |
| Recovery | A pre-authorized recovery path with its defined conditions |

## What approval must bind

The signing message includes the chain, transaction format and type, canonical payload, relevant fees, sequence, validity bounds, descriptor reference and any flags that change meaning. A changed recipient or amount needs fresh approval.

Domain separation distinguishes transaction signatures from block votes, descriptor operations and other message types. A signature collected for one purpose must not become valid authorization for another.

## A two-of-three example

| Submitted evidence | Result under an illustrative 2-of-3 rule |
| --- | --- |
| A and B sign the same message | Threshold met if both signatures and all other conditions are valid |
| A signs twice | One distinct signer; threshold not met |
| A and B sign different destinations | No common authorized transaction |
| A and an unrelated key sign | Unrelated key does not count |

> **Threshold alone is not sufficient**
> Authorization does not prove that inputs are unspent, amounts conserve value, the validity window is open or the transaction has finalized.

[View the diagram or interactive example](<https://quantumchain.info/docs/protocol/authorization-and-witnesses#threshold>). Visual-only examples are not reproduced in this text export.

## Verify in the correct context

- Resolve the descriptor and verify its commitment against the referenced object.
- Reject unsupported witness types, suites and malformed signature encodings.
- Check every signature against the exact signing message.
- Count authorized signers once and enforce canonical witness order.
- Check time, delegation, recovery and replay conditions.
- Apply the separate state and transaction validity rules.

## Cryptographic migration without silent downgrade

The architecture describes classical, hybrid and post-quantum modes with explicit suite identifiers. A verifier must enforce the selected descriptor’s requirements. It must not accept only one signature when the rule requires both.

Algorithm selection, suite identifiers, encodings and migration activation rules need conformance vectors and implementation review. QPU execution is a separate engineering topic; a post-quantum signature does not mean a quantum processor ran the transaction.

## Related reading

- [Transaction structure](<https://quantumchain.info/docs/protocol/transaction-format>)
- [Ledger & state](<https://quantumchain.info/docs/protocol/ledger-and-state>)
- [Consensus & finality](<https://quantumchain.info/docs/protocol/consensus-and-finality>)
- [QuantumChain whitepaper](<https://quantumchain.info/whitepaper>)
