-
Notifications
You must be signed in to change notification settings - Fork 223
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 Cookies #12
Comments
Whenever pillarjs/cookies#42 lands |
Hi, I write https://github.com/hex7c0/cookie-encryption. |
I was also looking for this option and didn't find anything. I made a super-easy to use express middleware to achieve transparently cookie encryption / decryption: cookie-encrypter. var app = express();
app.use(cookieParser(secretKey));
app.use(cookieEncrypter(secretKey)); Hope this helps |
hi, this is support for laravel encrypted cookie? |
Hey, I'm going to attempt to add support for cookie encryption. I am also going to modify the README to highlight the difference between signing and encrypting, and to give tips on creating strong keys. |
I'm trying to add cookie encryption to the main express repo, but I run into this when I go to create a PR: I even created and published a whole npm package just to handle encryption, kind of like |
I am now able to open a PR. Must be a one-time thing. |
We would like to encrypt cookie contents instead of encode+sign. Would this feature fall within the scope of cookie-parser?
For reference, a similar feature has been requested in cookie-session and cookies:
expressjs/cookie-session#9
pillarjs/cookies#42
The text was updated successfully, but these errors were encountered: