IdentityPython / pyjwkest

Implementation of JWT, JWS, JWE and JWK
Apache License 2.0
94 stars 55 forks source link

`dir` value for "alg" (Algorithm) Header Parameter Values for JWE #83

Open jcdevil opened 6 years ago

jcdevil commented 6 years ago

Environment :

Hello I tried to use the value dir for encryption algorithm but finally got the error :

NoSuitableDecryptionKey: dir

Can you confirm please / Any advice to implement this ?

rohe commented 6 years ago

pyjwkest doesn't support Direct AES encryption.

If pyca/Cryptography which is the crypto library used by pyjwkest supports it, then it should be possible to add it.