File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -416,14 +416,15 @@ request.content_type #=> "text/csv; header=present; charset=utf-16"
416
416
request.media_type # => "text/csv"
417
417
```
418
418
419
- ### Key generator digest class changing to use SHA256
419
+ ### Key generator digest class change requires a cookie rotator
420
420
421
421
The default digest class for the key generator is changing from SHA1 to SHA256.
422
422
This has consequences in any encrypted message generated by Rails, including
423
423
encrypted cookies.
424
424
425
425
In order to be able to read messages using the old digest class it is necessary
426
- to register a rotator.
426
+ to register a rotator. Failing to do so may result in users having their sessions
427
+ invalidated during the upgrade.
427
428
428
429
The following is an example for rotator for the encrypted and the signed cookies.
429
430
You can’t perform that action at this time.
0 commit comments