QUANTUM · DESIGN GUIDE
Hybrid signatures
One authorization, two cryptographic checks: understand binding, required suites and migration without silent fallback.
Explore a both-required descriptor
The witness specification allows descriptors that require a classical signature and a post-quantum signature, with shared key-binding metadata. The diagram illustrates that specific AND rule. Other authorization profiles must define their own rules explicitly.
Both signatures must authorize the same correctly bound payload under the descriptor. Two individually valid signatures over unrelated messages do not satisfy one transaction authorization.
Both means both.
Toggle the illustrative checks to explore an AND descriptor.
Both checks pass for the same bound payload. Other transaction and finality checks still apply.
Educational logic only · no keys, signatures or transactions are generated or verified.
The descriptor defines the obligation
A descriptor expresses authority; a witness supplies evidence. A hybrid descriptor is not the same as a threshold multisignature wallet: two algorithms do not necessarily mean two people or two independent devices.
| Element | Purpose |
|---|---|
| Suite identifiers and parameters | Identify the required algorithms unambiguously |
| Key references and binding | Associate both key families with the intended authority |
| Payload context | Bind signatures to the transaction, network/domain and applicable authorization context |
| Validation rule | State whether both signatures are required and how failure is handled |
Failure must remain a failure
A valid witness does not prove the whole transaction is valid. Input ownership, available value, replay protection, current state and the applicable payment rules still need validation.
| Condition in this AND profile | Required interpretation |
|---|---|
| One required signature missing or invalid | Authorization fails |
| Required suite unknown or unsupported | Cannot satisfy this descriptor; no silent fallback |
| Signatures cover different payloads or key binding fails | Authorization fails |
| Both bound signatures pass | Only this authorization condition is satisfied |
Construct, inspect, then sign
A production signing path needs exact canonical encoding, domain-separation rules and interoperability vectors. This documentation example performs no cryptography and never requests private keys.
- Resolve the intended descriptor and supported suites before requesting signatures.
- Construct the canonical authorization payload and expose meaningful payment details for review.
- Produce each required signature in its custody boundary and bind it to the same authorization.
- Verify the assembled witness before submission; reject mismatched or incomplete evidence.
- Track submission and finality separately from successful local signature verification.
Support old and new authority deliberately
Crypto agility means controlled support for explicit suite and descriptor families. It does not mean replacing a signature format opportunistically after a transaction is signed.
The architecture calls for activation and deprecation rules, compatibility windows and governance-aware migration. The final parameter sets, activation schedule and byte-level format remain implementation decisions requiring evidence.