Closed ColeBollig closed 1 year ago
Lots of errors in the build. Could you take a look.
I believe the build failures are due to the code requiring at minimum JWT-CPP v0.5.0 for the json traits change that breaks the api and isn't getting it. In theory you want v0.6.0 for the openssl 3.0 update within JWT-CPP. I am not sure how to change it so the github build uses the correct JWT-CPP version
I have figured out how to make the base requirement of jwt-cpp
Depending on the rpm building test and your approval I believe all changes are here. I do have a couple of things to note.
Tested in docker Fedora:36 container with Openssl 3. scitoken-verify was successful for both RS256 and ES256 token from demo.scitokens.org, and successfully passed all unit tests.
After a few iterations, I think I'm happy with the pull request. Summary of my changes:
-Tested Compilation in Fedora 36 docker container with openssl-devel (3.0.5) and saw no compilation warnings for use of deprecated functions -Made to be compatible with JWT-CPP 0.6.0 for its openssl 3.0 support -Minimal testing (Due to lack of know how). scitokens-verify works for both RSA and EC methods.
-Please scrutinize everything. I don't want to break scitokens