Keats / jsonwebtoken

JWT lib in rust
MIT License
1.61k stars 253 forks source link

Add `ES256K` algorithm #391

Open daniel-mader opened 1 month ago

daniel-mader commented 1 month 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 1 month 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