-
-
Notifications
You must be signed in to change notification settings - Fork 694
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
Adding support for Ed25519 signatures #42
Comments
I have to admit that I don't know much about NaCL so I'd be good to have some feedback from somebody that does. What's the use case for using Ed25519 signatures? |
They essentially offer digital (public key) signatures similar to |
The JSON Web Algorithms (JWA) draft spec doesn't seem to include anything other than HMAC (HS*), RSASSA-PKCS-v1_5 (RS*), ECDSA (EC*), and RSASSA-PSS (PS*). I think that the library should focus on implementing the proposed spec as closely as possible and leave non-standard algorithms to others, but that's just my opinion. That being said, there's no reason we shouldn't make it easier by introducing some sort of a pluggable extension mechanism that developers could use to add non-standard algorithms for use in their applications. Maybe we could rework the existing @jpadilla, if you think this sort of a plugin design might be a good idea, let me know and I can create a separate issue for it.. |
From my angle a plugin model would probably work great. |
Sounds good to me. I also want to start moving this to a v1 stance. It's already being used in production and has been kicking around for a while now. |
Most definitely; looking forward to trying the registry stuff soon. |
Since January 2017, Ed25519 and Ed448 signatures are now standardized by this RFC: https://tools.ietf.org/html/rfc8037 (using alg=EdDSA) |
Would anyone upstream be interested in adding support for NaCl-style Ed25519 signatures? I have done some preliminary work in here based on PyNaCl. At the moment it includes a fallback (and prohibitively slow) pure-Python implementation as well, but I could easily be persuaded to create a PR without that part and/or based on feedback.
The text was updated successfully, but these errors were encountered: