google / jwt_verify_lib

Provide c++ library to verify JWT tokens
Apache License 2.0
42 stars 43 forks source link

Add ed25519 support #48

Closed jheiss closed 4 years ago

jheiss commented 4 years ago

This is my first C++ in a very long time so apologies in advance for any beginner mistakes. I tried to follow the structure and style of the code for other algorithms like EC and RSA.

I'm adding this with the goal of getting the support into Envoy. I've built a copy of Envoy with these changes and confirmed that it works with ed25519 tokens in my environment.