Skip to content

Commit 8945d92

Browse files
📖 Add generating keys to FAQ (#242)
* 📖 Add generating keys to FAQ * Fix typos Co-authored-by: Dominik Thalhammer <thalhammer.d@googlemail.com>
1 parent 6830943 commit 8945d92

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/faqs.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ them unless they have the (private or symetric) key used to generate the token.
1212
confidential information into it, current industry recommends generating a random id and store the data on your
1313
server, using the id to look it up whenever you need.
1414

15+
### How can new keys be generated for my application?
16+
17+
The algorithms provided are all based on OpenSSL, mixing other
18+
cryptographic tools might not work.
19+
20+
Here are a few links for your convenience:
21+
22+
- [RSA](https://stackoverflow.com/a/44474607)
23+
- [ED25519](https://stackoverflow.com/a/73118582)
24+
- [ES256](https://github.com/Thalhammer/jwt-cpp/blob/68309438cf30679d6581d6cfbfeea0c028d9ed04/example/es256k.cpp#L5)
25+
1526
### Can this library encrypt/decrypt claims?
1627

1728
No it does not, see [#115](https://github.com/Thalhammer/jwt-cpp/issues/115) for more details.

0 commit comments

Comments
 (0)