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

Secure cookies #12

Open
dinever opened this issue Apr 12, 2016 · 2 comments
Open

Secure cookies #12

dinever opened this issue Apr 12, 2016 · 2 comments

Comments

@dinever
Copy link
Owner

dinever commented Apr 12, 2016

Currently Golf stores cookies explicitly. Let's create a secure cookie method Context.SecureCookie & Context.SetSecureCookie to allow encrypting the cookies using a symmetric key.

Before using the secure cookie, the user should set a secret_token, which will be used as the symmetric encryption key in the app configuration.

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

3 participants
@dinever @chloexu and others