Comments (3)
@CD1212 Temporary fix for Rails 5.2 is to set Rails.application.config.action_dispatch.use_authenticated_cookie_encryption = false
. I have a branch with support for AEAD encryption (default in Rails 5.2), but it fails to decrypt a session cookie generated by a new Rails 5.2. I'm not sure what I'm doing wrong, I'll get back to it later in the week. If anyone can review the code, a fresh pair of eyes might spot the issue: #15
from plug_rails_cookie_session_store.
After further investigation the problem for me is only present in Rails >= 5.2.
5.0.x and 5.1.x all seem to work fine.
from plug_rails_cookie_session_store.
I will have to take a look at the changes in 5.2, things like rails/rails#28132
I'll try to find some time by end of week
from plug_rails_cookie_session_store.
Related Issues (11)
- nil can't be coerced into Fixnum HOT 3
- Cannot write session HOT 2
- Cowboy 2 compatibility HOT 1
- LiveView Configuration Issue - LiveView session was misconfigured or the user token is outdated HOT 1
- Elixir can read Marshal Format HOT 18
- Generation phoenix cookies like rails
- In Rails 7.1 the cookie format has changed compared to 7.0. Breaks Phx->Rails, but not Rails->Phx transition. HOT 1
- mix test fail HOT 1
- Having trouble sharing session between rails 3 and phoenix HOT 1
- Does not work on Rails 4 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plug_rails_cookie_session_store.