You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I found an issue while trying to decrypt something with enc: A256CBC-HS512 which was encrypted by another library. I was getting 'Authentication tag verification failed' with this library but not on others.
After hunting down the differences on how the tag was calculated I narrowed it down to this line
The octet string AL, which is the number of bits in AAD expressed as a big-endian 64-bit unsigned integer
I made the changes to both decrypt and encrypt in my fork, but was unable to figure out how to fix all the failing tests in spec/jwe/enc_spec.rbso haven't raised a PR.
The text was updated successfully, but these errors were encountered:
Hi, I found an issue while trying to decrypt something with enc: A256CBC-HS512 which was encrypted by another library. I was getting 'Authentication tag verification failed' with this library but not on others.
After hunting down the differences on how the tag was calculated I narrowed it down to this line
According to RFC 7516 JSON Web Encryption (JWE)
I made the changes to both decrypt and encrypt in my fork, but was unable to figure out how to fix all the failing tests in
spec/jwe/enc_spec.rb
so haven't raised a PR.The text was updated successfully, but these errors were encountered: