Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 2.47 KB

ssl.md

File metadata and controls

43 lines (32 loc) · 2.47 KB

Cryptography Libraries

The underlying cryptography libraries describe here can be selected when configuring CMake by explicitly setting JWT_SSL_LIBRARY to one of three values. The default is to use OpenSSL.

  • OpenSSL
  • LibreSSL
  • wolfSSL

Here's an example:

cmake . -DJWT_SSL_LIBRARY:STRING=wolfSSL 

Supported Versions

These are the version which are currently being tested:

OpenSSL LibreSSL wolfSSL
1.0.2u 3.3.6 5.1.1
1.1.0i 3.4.3 5.2.0
1.1.1q 3.5.3 5.3.0
3.0.5

Note

A complete list of versions tested in the past can be found here.

Notes

JWT-CPP relies on the OpenSSL API, as a result both LibreSSL and wolfSSL need to include their respective compatibility layers. Most system already have OpenSSL so it's important to make sure when compiling your application it only includes one. Otherwise you may have missing symbols when linking.