| commit | fc6ac870cc65fbd7cafaa27bf97fd716cb433d1a | [log] [tgz] |
|---|---|---|
| author | Saúl Ibarra Corretgé <s@saghul.net> | Tue Dec 02 17:13:14 2025 +0100 |
| committer | Ben Collins <benmcollins13@gmail.com> | Fri Dec 12 08:44:08 2025 -0500 |
| tree | ef9fb5b258e98ca0636f156259ef8650c9d4ef78 | |
| parent | 91fa41ad05e71fd03c3156372cd0ef1bd52b2261 [diff] |
Avoid symbol collision with aklomp/base64 In static builds, symbol collisions are possible since the functions are named the same. Embed the base64 library in the only file where it's used and make all its functions static.
[!WARNING] Version 3 of LibJWT is a complete overhaul of the code. Please see documentation for usage.
| Standard | RFC | Description |
|---|---|---|
JWS | :page_facing_up: RFC-7515 | JSON Web Signature |
JWE | :page_facing_up: RFC-7516 | JSON Web Encryption |
JWK | :page_facing_up: RFC-7517 | JSON Web Keys and Sets |
JWA | :page_facing_up: RFC-7518 | JSON Web Algorithms |
JWT | :page_facing_up: RFC-7519 | JSON Web Token |
[!NOTE] Throughout this documentation you will see links such as the ones above to RFC documents. These are relevant to that particular part of the library and are helpful to understand some of the specific standards that shaped the development of LibJWT.
[!NOTE] OpenSSL is required and used for JWK(S) operations.
JWS Algorithm alg | OpenSSL | GnuTLS | MbedTLS |
|---|---|---|---|
HS256 HS384 HS512 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
ES256 ES384 ES512 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
RS256 RS384 RS512 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
EdDSA using ED25519 | :white_check_mark: | :white_check_mark: | :x: |
EdDSA using ED448 | :white_check_mark: | :white_check_mark: >= 3.8.8 | :x: |
PS256 PS384 PS512 | :white_check_mark: | :white_check_mark: | :white_check_mark:* |
ES256K | :white_check_mark: | :x: | :white_check_mark: |
* RSASSA-PSS support in MbedTLS depends on Mbed-TLS/TF-PSA-Crypto#154
:link: Current Docs
:link: Legacy Docs v2.1.1
:link: GitHub Repo
LibJWT is available in most Linux distributions as well as through Homebrew for Linux, macOS, and Windows.
$ mkdir build $ cd build $ cmake .. $ make