Last active
June 12, 2023 03:36
-
-
Save nevans/558b69f227c243f63552a6f91915424f to your computer and use it in GitHub Desktop.
Rails 5.2.4: verifying and decrypting session cookies, to be used from rails console or in a script with the rails application loaded
@nickpearson thanks! Hmmm... I wonder how it got in there?! Perhaps an accidental <ctrl>-a
sent to vim right before uploading.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you. This worked for me on Rails 5.2 after changing line 39 to use
aes-256-cbc
instead ofaes-255-cbc
.