-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 session cookies #1324
Conversation
73e152d
to
d61af09
Compare
This class is a replacement for Rack::Session::Cookie and uses AES GCM encryption to protect the session data. This new class thus introduces confidentiality in addition to integrity and authenticity which is already provided by Rack::Session::Cookie via an HMAC. This class will also seamlessly upgrade existing session cookies.
The underlying sessions are now fully encrypted. We can just rely on this feature to protect the header canaries used by SessionHijack.
d61af09
to
7440f22
Compare
Any hope of this eventually getting merged? Should we add a way of opting-in to this feature to start off initially? /cc @zzak |
@namusyaka I see this was tagged for 2.1.0. Let me know if there's any more work to do on this PR to get it ready for merging. Thanks! |
@mikeycgto Yeah we're going to get this in v2.1.0, thank you for your contribution! |
Excellent! Just ping me here if there's anything that needs to be changed or updated. Thanks again! |
Hi there, looks like it's been a while -- any word on this getting merged / released? Anything I could do to help? |
@mjc-gh there are some conflicts , resolve them may make your work to be merged |
fa1efbb
to
3f77b86
Compare
3f77b86
to
6d217ab
Compare
PR for issue #1300.