mikkyang / rust-jwt

JSON Web Token library for Rust
MIT License
178 stars 38 forks source link

Add EdDSA (Ed25519) signature support via ed25519-dalek #97

Open flying-kestrel opened 1 year ago

flying-kestrel commented 1 year ago

This is a PR based on top of #96 that further expands support for EdDSA keys, this time in algorithm::ed25519_dalek, via the ed25519_dalek crate.

The rationale for adding a second mechanism to verify Ed25519 signatures is that OpenSSL is sometimes far too heavyweight of a solution; dalek is also a pure-Rust implementation, which helps for porting to less-supported architectures.

Dygear commented 10 months ago

This is very cool, great job!