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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
11
11
**Fixes and enhancements:**
12
12
13
+
- Require the algorithm to be provided when signing and verifying tokens using JWKs [#695](https://github.com/jwt/ruby-jwt/pull/695) ([@anakinj](https://github.com/anakinj))
context'with algorithms not supported by key provided'do
248
+
it'raises JWT::VerificationError'do
249
+
expect{token.verify_signature!(algorithm: %w[RS384RS512],key: jwk)}.toraise_error(JWT::VerificationError,'Provided JWKs do not support one of the specified algorithms: RS384, RS512')
0 commit comments