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

How to implement simple JWE for session-cookies ? #383

Open
chkp-michaelo opened this issue Jun 16, 2022 · 0 comments
Open

How to implement simple JWE for session-cookies ? #383

chkp-michaelo opened this issue Jun 16, 2022 · 0 comments

Comments

@chkp-michaelo
Copy link

chkp-michaelo commented Jun 16, 2022

I'm using JWT signed with a uuid-v4 secret for session-cookies.
I need to also encrypt the content of the cookie to hide sensitive json data.
What's the simplest, best-practice way to achieve this with JWE ? can I re-use the same uuid-v4 for JWE encryption ?

Thanks

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

No branches or pull requests

1 participant