-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Encrypt and sign session cookies #20
Comments
This is currently blocked on an open PR for Hyper updating its OpenSSL to 0.9 and the Cookies lib to 0.4. Pushing to 0.2. |
I really hope hyperium/hyper#975 will be merged soon :) |
Should be noted it might not be based off the response from the maintainer here: Seems like it'll remove openssl-sys so as to not cause conflicts/not be breaking change. |
rwf2/cookie-rs#68 will make this possible. |
Unfortunately this must be pushed to 0.3. |
It's done in v0.10.0 :) |
I've submitted a PR (rwf2/cookie-rs#76) to make this possible. After the PR is in, session support in Rocket should be straightforward. |
PR is in. |
Sessions landed in master ~18 days ago in 16cb729. Aside from the session example, however, sessions are undocumented. This is because the API is likely to change before support lands in |
Session can not be restored after process restart. It appears, some key gets changed on every run and it prevents session from properly decrypting cookies. I'm not sure if this is a bug or me using it wrong. Also if it needs its own issue here. |
@pointlessone You need to set the |
No description provided.
The text was updated successfully, but these errors were encountered: