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
The current io.jwt.decode built-in doesn't perform any crypto verification of the signature. As mentioned in #417, it would be nice if OPA could verify JWT signatures.
I could see this working one of a few ways (in order of preference):
Add new crypto built-ins to verify signatures independent of JWTs.
Modify the existing JWT decode built-in to to support verification (e.g., add a key param that if set would enable verification).
Add a new JWT decode built-in that also verifies the signature.
The text was updated successfully, but these errors were encountered:
Fixesopen-policy-agent#421
removed blank line
updated test
added command info documentation
wrap the error messages
used buitin URL decode method
moved verify token code in tokens module
Fixes#421
removed blank line
updated test
added command info documentation
wrap the error messages
used buitin URL decode method
moved verify token code in tokens module
The current
io.jwt.decode
built-in doesn't perform any crypto verification of the signature. As mentioned in #417, it would be nice if OPA could verify JWT signatures.I could see this working one of a few ways (in order of preference):
key
param that if set would enable verification).The text was updated successfully, but these errors were encountered: