moq-auth: ML-DSA signing, and ES384 as the documented asymmetric default

Aperta
#10,444 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

quest

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) to moq-auth in 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)

Lingua principale
Rust
Stelle
1.6k
Fork
251
Merge medio
10h 10m
PR unite (30g)
822

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di moq-dev/moq

Tutte le issue di moq-dev/moq

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.