Keats / jsonwebtoken

JWT lib in rust
MIT License
1.71k stars 272 forks source link

Add `ES256K` algorithm #391

Open daniel-mader opened 6 months ago

daniel-mader commented 6 months ago

Are you planning to add more ECDSA algorithms such as ES256K (curve secp256k1)? I looked into ring which currently only seems to support ES256 and ES384. Seems like RustCrypto/elliptic-curves would support it, but I reckon that you would not consider adding the additional k256 crate at this point.

Keats commented 5 months ago

Not for now, there are a few PRs to change the backend already:

  1. https://github.com/Keats/jsonwebtoken/pull/377
  2. https://github.com/Keats/jsonwebtoken/pull/318