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
We should validate that the secret is not a asymmetric key or certificate for HMAC.
Example:
Create an HS256 token. Generate the HMAC signature using the literal bytes of the public key file (often in the PEM format). This will confuse the implementation into interpreting the public key file as an HMAC key.
The text was updated successfully, but these errors were encountered:
We should validate that the secret is not a asymmetric key or certificate for HMAC.
Example:
Create an HS256 token. Generate the HMAC signature using the literal bytes of the public key file (often in the PEM format). This will confuse the implementation into interpreting the public key file as an HMAC key.
The text was updated successfully, but these errors were encountered: