Verify composite signatures with MLDSA65-Ed25519-SHA512
During a transition, you may want verification to require both ML-DSA-65 and Ed25519. RFC 10073 defines composite signatures for this purpose. QuantAegis supports the MLDSA65-Ed25519-SHA512 combination.
How it works · composite signatures bind two algorithms
The signing inputs are the message, the context, and the composite private key. The signer binds the SHA-512 hash of the message to a scheme-specific label and the context, then signs with both algorithms. The result is a 3,373-byte composite signature. The verifier uses the two corresponding public key components and accepts the signature only if both component signatures are valid.
In Python, generate a key pair with MlDsa65Ed25519.keygen(), then call sign and verify as in the signing tutorial. Use fresh keys dedicated to this composite scheme for both components. Reusing standalone signing keys or their seeds as component keys breaks key separation between schemes. When storing public keys or signatures, keep the composite algorithm identifier with them. Signing example · Rust API · RFC 10073