When decrypting a JWS payload inside of a JWT using EC keys I am having problems.
I have run into an error that says:
``auth_data=': couldn't set additional authenticated data (OpenSSL::Cipher::CipherError)`
Im not sure on how to proceed from this error. I am calling this using:
JOSE::JWE.block_decrypt(key, token).first
The key being a JWK converted from a PEM file.
The token is the encrypted payload used by decrypting the entire JWT and then grabbing the payload and passing it in.