v0.2.0: hybrid signatures ML-DSA-65 + Ed25519 (RFC 10073), docs first #2
Reference in New Issue
Block a user
Delete Branch "feature/signatures"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
v0.2.0: hybrid post-quantum signatures (docs first)
Mark's decision of 2026-11-25: add hybrid signatures (ML-DSA with Ed25519) to Arcanum before Day 3, so Day 3 can authenticate exchanged X-Wing public keys post-quantum, not only through Tessera's classical Ed25519.
This PR starts with the (D)TDD document,
docs/02_signatures.md. The tests come next, then the code, on this branch. Not for merging until all three are in.id-MLDSA65-Ed25519-SHA512, byte for byte. No combiner of our own.ml-dsa =0.1.2(RustCrypto: pure Rust,forbid(unsafe_code),no_std, unaudited, three 2026 advisories all fixed before 0.1.0) anded25519-dalek =3.0.0(sharescurve25519-dalek 5.0.0withx25519-dalek). Both use rand_core 0.10. Facts checked against the local registry sources.Research with sources:
F:\Akce\Via esearch\ml-dsa-2026-11-25.md(outside the repository).Critical self-review of the plan
ml-dsais unaudited and 0.1.x. The hybrid only buys "either half holds". A bug in our glue could still break both, which is why the RFC vectors and an independent rebuild of M′ in the tests matter.SignerandVerifiersign deterministically with an empty context, which is not RFC 10073. The plan calls the inherent methods and bans a directml-dsadependency downstream.sign_internalis public in 0.1.2, the same pattern as ml-kem'sencapsulate_deterministic.Merged
--no-ffintomainasfc96614, from head1e7e0bb. Tagged v0.2.0 (annotated, unsigned) and pushed;HEAD==origin/main.Via/qa/review-arcanum-pr2.md): 0 blockers, 0 majors, 12 minors.99db18a…1e7e0bb: S-01 to S-06 and S-09 to S-11.docs/02_signatures.md: S-07, S-08, S-12, and the S-04 stack residue inside ml-dsa.1e7e0bb:cargo test126 passed / 0 failed / 5 ignored (debug) and 127 / 0 / 4 (release). clippy, fmt,cargo denyand the zeroize probe are clean.signatures601 s, 181,113 executions, 0 crashes; seven mutations, each seen to fail.d56ee10:AppContext::newis aconst fntaking&'static [u8].Closed by hand, since manual-merge detection is off in this repo.
Pull request closed