moq-auth: ML-DSA signing, and ES384 as the documented asymmetric default
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, rust
- Domain
- authentication, security
Research direction
Start with doc/bin/relay/auth.md:157 and doc/bin/cli.md:484 to review the current asymmetric signing guidance, then locate the Rust and JavaScript implementations of moq-auth. The proposal calls for ES384 documentation and ML-DSA JWS support in both implementations; JavaScript will need an ML-DSA library or WASM build. Done means the docs and implementations cover the proposed algorithms; relay key refusal is optional.
Written by the indexing model from the issue text.
Description
The NSA advisory of December 2, 2026 calls for an immediate move to post-quantum cryptography and drops every elliptic curve below P-384 from CNSA. Filippo Valsorda reads it as a classical attack on 256-bit curves (P-256, X25519, Ed25519): https://words.filippo.io/nsa-advisory/. ML-DSA is unaffected; RSA-3072 and P-384 are acceptable as a stopgap.
Today moq-auth signs with ES256, ES384, RS*/PS*, EdDSA (Ed25519) and HS*, and the docs steer asymmetric users to ES256 (doc/bin/relay/auth.md:157, doc/bin/cli.md:484).
Proposal
- Point the docs' asymmetric examples at ES384 now, and say that ES256 and EdDSA rely on 256-bit curves.
- Add ML-DSA JWS (
ML-DSA-44/65/87, draft-ietf-cose-dilithium) tomoq-authin Rust and JS. aws-lc-rs has ML-DSA. On the JS side, WebCrypto has no ML-DSA yet, so it would need a library or a WASM build. - Optionally, let a relay refuse ES256/EdDSA keys by config.
Related: relay TLS already prefers X25519MLKEM768 (rind-rustls DEFAULT_KX_GROUPS), so key exchange needs no change.
(Written by Claude Opus 5.5)
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 251
- Avg merge
- 10h 10m
- Merged PRs (30d)
- 822
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from moq-dev/moq
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
moq-dev/moq#10463 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
moq-dev/moq#10460 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
quest
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
moq-dev/moq#10373 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
quest
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
moq-dev/moq#10336 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
[Bug] AM Context Monitor (am-monitor): Session turns count is capped at 80 due to turns.slice(-80)Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
lbjlaq/Antigravity-Manager#4180 ·
Maintainers usually reply within 1 day
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zizmorcore/zizmor#2608 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
longbridge/nsh#4201 ·
Maintainers usually reply within 1 day