-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArgumentError in `verify': wrong number of arguments (given 3, expected 1) #435
Comments
Any update on this ? Seeing the same issue (with ruby 3) |
None, still waiting for feedback on this. |
Thanks for the feedback. But I did get a very similar issue trying to decode an azure jwt token. public_key was of type |
For sure if a Then why the verification is failing if the certificates public key is given is pretty hard to figure out without more info or some example. |
Going to close this one as a stale issue. Suspect mixing PKey instances and certificate instances here. |
I'm using the sample code shown in the README for
RS256
:Instead of getting a
decoded_token
hash, I get this error message:This seems to be because
OpenSSL::X509::Certificate.verify
expects a single argument but is receiving 3:The text was updated successfully, but these errors were encountered: