Skip to content
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

Support for AES256GCM encryption/decryption? #154

Open
noelotterness opened this issue Aug 11, 2021 · 4 comments
Open

Support for AES256GCM encryption/decryption? #154

noelotterness opened this issue Aug 11, 2021 · 4 comments

Comments

@noelotterness
Copy link

Looking through the code I could not find support for AES256GCM encryption (for the CJOSE C library it is referred to using: "alg"
is CJOSE_HDR_ALG_DIR and "enc" is set to CJOSE_HDR_ENC_A256GCM).
Is there support for this in jwt-cpp and if so, how would I go about using it to encrypt/decrypt a signed token?
Thanks

@Thalhammer
Copy link
Owner

AES (or really any encryption) is part of jwe, which we do not support yet. I though about it at the beginning but I did not need it and so far it looked like neither did anyone else using this. I'll take a look later as to how hard it would be to implement this.

@noelotterness
Copy link
Author

noelotterness commented Aug 11, 2021 via email

@ferencIOS
Copy link

Hi everybody!

Is there any update on that front?

Thanks in advance

@prince-chrismc
Copy link
Collaborator

No but if you need it feel free to contribute :) IF you have ideas how'd you implement let us know and we can make sure you are on the right track :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants