X Tutup
The Wayback Machine - https://web.archive.org/web/20201103052903/https://github.com/expressjs/cookie-parser/issues/12
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

Encrypted Cookies #12

Open
nburoojy opened this issue Aug 30, 2014 · 4 comments
Open

Encrypted Cookies #12

nburoojy opened this issue Aug 30, 2014 · 4 comments
Assignees
Labels

Comments

@nburoojy
Copy link

@nburoojy nburoojy commented Aug 30, 2014

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

@Fishrock123
Copy link
Member

@Fishrock123 Fishrock123 commented Aug 30, 2014

Whenever pillarjs/cookies#42 lands

@hex7c0
Copy link

@hex7c0 hex7c0 commented Sep 7, 2014

Hi, I write https://github.com/hex7c0/cookie-encryption.
maybe for @jonathanong can be useful for his implementation

@dougwilson dougwilson self-assigned this Sep 18, 2015
@dougwilson dougwilson removed the future label Sep 18, 2015
@ebourmalo
Copy link

@ebourmalo ebourmalo commented Apr 21, 2016

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

@baihaqyaviq
Copy link

@baihaqyaviq baihaqyaviq commented Jun 4, 2018

hi, this is support for laravel encrypted cookie?

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

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.
X Tutup