-
Notifications
You must be signed in to change notification settings - Fork 255
Open
Labels
Description
I'd love to see support for RFC-8037 (JWS/JWT specifically with Ed25519 via PyNaCl) and RFC-7539 (JWE using ChaCha20/Poly1305 encryption) in here.
- Regarding RFC-8037, there seems to be a PR Implement PyNaCl backend for Ed25519 keys (part of RFC 8037) #100 available already, that needs merging. So I guess the work's pretty much done if it's deemed acceptable.
- Regarding RFC-7539 things are a bit more difficult, as not all functions from
libsodium(used underneath PyNaCl) are available via the PyNaCl API. Though, if somebody has PyNaCl, they also do havelibsodiumavailable. I have recently hacked around in my own code base to make somelibsodiumfunctions for the IETF-compliant authenticated encryption available to Python by usingctypes. That may provide a working pathway into enabling RFC-7539 for ChaCha20/Poly1305 encryption.
Hopefully some things will make their way into python-jose to allow for more modern, compact and fast ciphers to be used.
Reactions are currently unavailable