jwt-cpp
jwt-cpp copied to clipboard
A header only library for creating and validating json web tokens in c++
Can a JWK be generated from an RSA public key using this repo?
Today I learned that apparently Cloudflare links to this project for its [hiring program](https://apply.cloudflareworkers.com/systems#:~:text=while%20jwt%2Dcpp%20provides%20helper%20functions%20for%20JWTs). I feel honored that my little pet library managed to be considered good by (at least...
**Describe the bug** The base64url decoder does not accept "%3D" as padding, only "%3d" (with lowercase d). As far as I can tell, uppercase is also a valid representation of...
We should deprecate/remove the older helpers and rename them to have RSA in the name. _Originally posted by @prince-chrismc in https://github.com/Thalhammer/jwt-cpp/issues/185#issuecomment-973717147_
Looking through the code I could not find support for AES256GCM encryption (for the CJOSE C library it is referred to using: "alg" is CJOSE_HDR_ALG_DIR and "enc" is set to...
**Describe the impediment** I recently stumbled upon [this forum conversation](https://docs.microsoft.com/en-us/answers/questions/267627/how-to-use-jwt-tokens-with-c.html). The tldr is that all proper jwt libraries for c++ require either libressl or openssl. While this is not an...
I have a use case where it I need to produce a JWT where the payload data shouldn't be included in the token itself, as described [here in the spec](https://tools.ietf.org/html/rfc7515#appendix-F).
PSS adds salt to the generated signature, so simply signing a known token and check for a specific result (as done in all other test cases) is not possible. We...
closes #241 Not the first time this has been asked, time to add it
- actions/checkout@v4 for the most part - pin donw format to clang-14 for all linter jobs - coverallsapp/github-action@v2 with explicit format