Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-Quantum PASERK (k5, k6) #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

paragonie-security
Copy link
Contributor

@paragonie-security paragonie-security commented Sep 5, 2024

Both k5.seal and k6.seal use X-Wing (X25519 + ML-KEM-768).

Symmetric-key encryption and Password-Based Key Wrapping are unchanged (aside from the headers differing).

See paseto-standard/paseto-spec#36 for the congruent PASETO change

EDIT:

  • k5.seal now uses ML-KEM-1024 to keep in line with CNSA 2.0.
  • k6.seal uses X-Wing, as originally written

Both k5.seal and k6.seal use X-Wing (X25519 + ML-KEM-768).

Symmetric-key encryption and Password-Based Key Wrapping are unchanged (aside from the headers differing).
@paragonie-security
Copy link
Contributor Author

paragonie-security commented Sep 5, 2024

One alternative we also considered: Just using basic ML-KEM-1024 for PASERK v5.seal, rather than X-Wing, since the NSA wants everyone using that.

CNSA 2.0 requires ML-KEM without a hybrid construction, and also mandates, "Use Level V parameters for all classification levels".

Since v5 is the "NIST" and "FIPS" flavor of PASETO, k5 will aim to maintain CNSA 2.0 friendliness for PASERK.
@paragonie-security
Copy link
Contributor Author

Actually, CNSA 2.0 (which a lot of companies that sell to the US government care about) tells us we'd have to use ML-KEM-1024, so now we're doing that.

@paragonie-security
Copy link
Contributor Author

(Test vectors will be generated once this pull request has been merged, and our reference implementation has been updated to accommodate the new algorithms.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant