libjwt
libjwt copied to clipboard
JWT C Library
for now, no change to source code or cmake script. Build fails, fixes to follow.
```c #include #include int main() { jwt_t* jwt; jwt_new(&jwt); // HS256 token with secret 123 int ret = jwt_decode(&jwt, "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.YW1752G5KvXQJ97MN3fzwLPhVYq2vONmBjQ1c5OEMag", NULL, 0); printf("jwt_decode result: %d\n", ret); // returns 0 ==...
Hi @benmcollins I'm rewriting our internal application to add mbedTLS support next to openssl in order to reduce memory load. libjwt is the final piece remaining .. I noticed in...
Ben, would you accept a rework of the CMake build scripts for windows ? I suggest using vcpkg to manage dependencies and appveyor for CI and unit tests ?
Hello, I am maintaining a nginx module using libjwt, someone reported that [the exp value is not parsed correctly](https://github.com/max-lt/nginx-jwt-module/discussions/33) when using a fractional (for example `"exp": 1698742245.336421`). Is that intended...
Looks like a more recent version and maintained of [`m4/doxygen.m4`](https://github.com/benmcollins/libjwt/blob/master/m4/doxygen.m4): https://www.gnu.org/software/autoconf-archive/ax_prog_doxygen.html
-- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 Package: libssl-dev Version: 3.0.5-2ubuntu2.1 Warnings during compilation are like: libjwt/jwt-openssl.c: In function ‘jwt_sign_sha_pem’: libjwt/jwt-openssl.c:258:17:...
Hello, any chance this library will support JWE creation using algorithms such as RSA-OAEP-256?
In an oidc token, audience can be an array. This allows multiple valid audiences to be specified and the target audience should be checked if its in the list in...
From rfc7515 > 4.1.11. "crit" (Critical) Header Parameter > > The "crit" (critical) Header Parameter indicates that extensions to > this specification and/or [JWA] are being used that MUST be...