pyjwkest icon indicating copy to clipboard operation
pyjwkest copied to clipboard

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

Open jcdevil opened this issue 7 years ago • 1 comments

Environment :

  • macOS 10.13.4
  • pyjwkest : 1.4.0

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 ?

jcdevil avatar Jun 26 '18 12:06 jcdevil

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.

rohe avatar Jun 26 '18 12:06 rohe