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

Support X25519 and X25519MLKEM768 #3596

Closed
nisbet-hubbard opened this issue Dec 10, 2024 · 2 comments
Closed

Support X25519 and X25519MLKEM768 #3596

nisbet-hubbard opened this issue Dec 10, 2024 · 2 comments

Comments

@nisbet-hubbard
Copy link

Is your feature request related to a problem? Please describe.
Element X only supports NIST curves:

prime256v1:secp384r1:secp521r1->prime256v1

Describe the solution you'd like
Supporting X25519, which is better trusted.

Describe alternatives you've considered
X25519MLKEM768, the post-quantum alternative that has seen standardisation, should be the next move.

For context, see https://pq.cloudflareresearch.com/

Additional context
https://developer.apple.com/documentation/cryptokit/curve25519

@ara4n
Copy link
Member

ara4n commented Dec 12, 2024

Element X already Curve25519 today, not NIST curves: https://spec.matrix.org/unstable/client-server-api/#molmv1curve25519-aes-sha2.

Meanwhile, PQXDH support is happening at matrix-org/vodozemac#120.

@ara4n ara4n closed this as completed Dec 12, 2024
@nisbet-hubbard
Copy link
Author

Element X already Curve25519 today, not NIST curves: https://spec.matrix.org/unstable/client-server-api/#molmv1curve25519-aes-sha2.

@ara4n Has this been implemented in the client? nginx shows that Element X only supports prime256v1:secp384r1:secp521r1.

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

No branches or pull requests

2 participants