Skip to content

Conversation

@hieuk09
Copy link
Contributor

@hieuk09 hieuk09 commented Oct 9, 2024

Description

This Pull Request changes/fixes this error when the key for EdDSA is invalid

NoMethodError:
  undefined method `raise_encode_error!' for an instance of JWT::JWA::Eddsa

This method is renamed to raise_sign_error!. This PR updates raise_decode_error! to raise_verify_error!, too.

Checklist

Before the PR can be merged be sure the following are checked:

  • There are tests for the fix or feature added/changed
  • A description of the changes and a reference to the PR has been added to CHANGELOG.md. More details in the CONTRIBUTING.md

@hieuk09 hieuk09 force-pushed the bug/fix-raise-error branch from 7b0dbfa to 3ce46c7 Compare October 9, 2024 02:33
@anakinj anakinj merged commit 42f905c into jwt:main Oct 9, 2024
@anakinj
Copy link
Member

anakinj commented Oct 9, 2024

Great job. Thank you.

@hieuk09 hieuk09 deleted the bug/fix-raise-error branch December 26, 2024 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants