Skip to content

fix: use curve-matching EC keys for ES384/ES512 backend tests#963

Merged
vgrozdanic merged 3 commits intomasterfrom
vg/fix-ci
Feb 11, 2026
Merged

fix: use curve-matching EC keys for ES384/ES512 backend tests#963
vgrozdanic merged 3 commits intomasterfrom
vg/fix-ci

Conversation

@vgrozdanic
Copy link
Contributor

@vgrozdanic vgrozdanic commented Feb 9, 2026

After merging a couple of PRs, CI has started failing because newer PyJWT versions enforce EC curve/algorithm compatibility and we were using ES256 in all tests.

I have generated keys locally, tried using well known JWKs but PyJWT < 2.0 doesn't support decoding JWK.

Changes:

  • Add dedicated ES384 and ES512 test key pairs in tests/keys.py
  • Update tests/test_backends.py to use matching keys per EC algorithm
  • Fix failures in CI with newer PyJWT versions that enforce EC curve/algorithm compatibility

@vgrozdanic vgrozdanic requested a review from a team February 9, 2026 20:30
Copy link
Member

@Andrew-Chen-Wang Andrew-Chen-Wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank youuuuu!!!

@vgrozdanic vgrozdanic merged commit 3ec8a48 into master Feb 11, 2026
55 of 56 checks passed
@vgrozdanic vgrozdanic deleted the vg/fix-ci branch February 11, 2026 18:53
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

Comments