-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception on examples: jwt::error::signature_verification_exception #284
Comments
What version of boost are you using? And How did you install it into your system? |
I use boost version 1_76, and to compile it in my system I use:
Note: build_tool is b2 |
The Boost.JSON support was introduced with 1.77 in 4c2ea57 and was only tested with the C++17 standalone mode not with a whole Boost installation. My suspicious is this might be an untested configuration which is why we are seeing this. Boost also removed this mode so newer version do not work either sadly :( Are you able to test this with a newer version of boost? |
I'm afraid, we are currently using boost version 1_76 for a lot of components, and cannot use a newer version. Maybe there is a way to use a non hole boost to compile this library? I see in the README.md: "There is no hard dependency on a JSON library" and "or your convience there are serval traits implementation which provide some popular JSON libraries" I installed nlohmann: After that I tried to build this library: And I got same warning: What can I do to use, for example, nlohmann json instead boost json to compile this library? |
Sorry its hard to help since this is so system dependent. I don't use apt so I don't know what files that would be installed. I work on Conan which is a c++ package manager :) You can check the CI for the installation
|
What happened?
Trying to solve Exception 'jwt::error::signature_verification_exception' while running examples jwks-verify and private-claims
This is on Ubuntu 18.04 OpenSSL 1.1.1
How To Reproduce?
Version
0.6.0
What OS are you seeing the problem on?
Linux
What compiler are you seeing the problem on?
GCC
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: