Ramzi
Ramzi
Thank you @zhaozg for your quick reply. I will try that and let you know.
When I will manage to decrypt the JWE encrypted key I will have to use this decrypted key to decrypt the cipher text. I will do so using the iv...
Thank you so much @zhaozg. In the meantime I managed to do the AES-256-GCM decryption using lua-resty-openssl. But I will definitely look into the example you gave and let you...
> @r-oueslati Please look at https://github.com/zhaozg/lua-openssl/blob/master/test/issue%23156.lua and #156 > Maybe that will make you happy, and I not use AES-256-GCM, so ... Hello @zhaozg , It did make me happy...
``` local k = openssl.rsa.read(b64_decode(key2_der)) local padded = k:decrypt(encryptedkey, 'no', true) local encryption_key = openssl.rsa.padding_check(padded, 'oaep', 256) ``` But encryption_key is nil. Did I do anything wrong ?
Hello @zhaozg :) I picked up where I left off last year and made it work (JWE with alg=RSA-OAEP-256 and enc=A256GCM). First I parse the JWE to get the encrypted...
Hi @bungle I'm having the same issue. I would like to use nettle in a kong plugin that needs to decrypt using aes-256-gcm (Kong 1.5.1 on Ubuntu 18.04). I have...