You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renamed rails5 format to rails_4 and added rails_5_1 format for decoding
authenticated & encrypted session cookies used by Rails 5.1+.
Changed the result of any decrypt method to include the cookie format detected
to allow disambiguation between randomly decrypted sessions for further
processing.
Minimal platform requirement moving up to OTP 22 due to use of new crypto
API.
New features
Added support for Rails 5.1+ session decoding.
Added auto format for automatically infering the Rails version from the
cookie format.
Added infer_rails_version/1 for programatically inferring Rails version from
a cookie payload.
Added crypto properties for specifying custom salts, HMAC algorithms and
ciphers, to support non-default Rails configurations.
Misc
Added config for use with rebar3.
Added .gitignore, GitHub workflow and simple test for ensuring correct
behaviour.