- JANSSON (>= 2.0)
- CMake (>= 3.7)
- OpenSSL (>= 1.1.0)
- GnuTLS (>= 3.6.0)
NOTE: OpenSSL >= 3.0 is required for JWK and JWKS support
- Check Library for unit testing
- Doxygen
🔗 Release
LibJWT is available in most Linux distributions as well as through Homebrew for Linux, macOS, and Windows.
$ mkdir build
$ cd build
$ cmake ..
$ make
If you have libcheck installed you can compile the test suite which you can
run using the check
target.
CMake will auto detect OpenSSL and GnuTLS and use one or both. There are CMake options to force either one on or off.