Thalhammer / jwt-cpp

A header only library for creating and validating json web tokens in c++
https://thalhammer.github.io/jwt-cpp/
MIT License
886 stars 241 forks source link

Add generating keys to FAQ #242

Closed prince-chrismc closed 2 years ago

prince-chrismc commented 2 years ago

closes #241

Not the first time this has been asked, time to add it

Thalhammer commented 2 years ago

I fixed some minor typos, but apart from that it looks good. We might want to consider providing helper functions for key generation, since its a pretty common pattern to automatically generate a random key at first startup that's used for further operation.

prince-chrismc commented 2 years ago

Thanks! I wrote that while waiting for my plane I didn't not have a chance to review myself.

prince-chrismc commented 2 years ago

Great idea!