You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you please provide some instructions about how to make Botan-2.x as backend crypto library?
Additional Context
I don't need ssl and I am not farmiliar to openssl. I choose Botan as it's moderner and it's easier to use. How can I integrate jwt with Botan-2.x? By the way, for json, I use boost.
I've gotten the knowledge that jwt is trait-based that it is expected that I can plugin Botan adapter as a trait. I've read traits in jwt-cpp/traits/ and they are all customized traits for json options. Then what's should I do for this problem: to implement a trait for algorithm/crypto and integrate it with json trait or to implement a trait for both json(by boost) and crypto(by Botan) customization? Would you please provide some examples or instructions on how to customize a crypto backend?
Thank you very much.
The text was updated successfully, but these errors were encountered:
Hi addsoa,
I am happy for your interest in adding support for the Botan crypto library.
jwt-cpp is indeed trait based, however, as you have noted, this only applies to the json part.
Because there are so few crypto libraries in the wild and most of them provide some sort of wrapper for openssl's api I choose to not make this part based on templates.
I have never worked with Botan before, but I expect primitives like a RSA/ECDSA key type and basic signing/verification to be there. Integrating it into jwt-cpp would likely involve a fair amount of changes. Your main working area would be the algorithm namespace. jwt-cpp supports custom algorithms, so you can implement algorithms one by one using botan in your own code to test them out.
What's your question?
Would you please provide some instructions about how to make Botan-2.x as backend crypto library?
Additional Context
I don't need ssl and I am not farmiliar to openssl. I choose Botan as it's moderner and it's easier to use. How can I integrate jwt with Botan-2.x? By the way, for json, I use boost.
I've gotten the knowledge that jwt is trait-based that it is expected that I can plugin Botan adapter as a trait. I've read traits in jwt-cpp/traits/ and they are all customized traits for json options. Then what's should I do for this problem: to implement a trait for algorithm/crypto and integrate it with json trait or to implement a trait for both json(by boost) and crypto(by Botan) customization? Would you please provide some examples or instructions on how to customize a crypto backend?
Thank you very much.
The text was updated successfully, but these errors were encountered: