-
Notifications
You must be signed in to change notification settings - Fork 112
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
Encrypted cookie #178
Comments
hmmm, I'd like to add encryted cookie in koa, I'll do it when I'm free. |
How exciting! I found this lib. https://github.com/nicokaiser/koa-encrypted-session It uses koa-sessions options ( encode & decode ) to encrypt/decrypt the cookie |
Pull request created for this feature request: #182 |
As @ioness already wrote, there is the koa-encrypted-session module that simply provides encode/decode function for koa-session. It is opinionated (i.e. it uses libsodium for encryption and does not let you choose the algorithm), but that way it can be simple and secure. |
Hello!
Would it be a good idea to save cookies encrypted ?
Cheers
The text was updated successfully, but these errors were encountered: