aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/messages/rotator.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove advanced key generator rotations from verifier/encryptor.Kasper Timm Hansen2017-09-241-34/+6
| | | | | | | | Noticed that verifiers and encryptors never once mentioned key generators and salts but only concerned themselves with generated secrets. Clears up the confusing naming around raw_key and secret as well. And makes the rotation API follow the constructor signature to the letter.
* Infer options from the primary verifier.Kasper Timm Hansen2017-09-241-4/+7
| | | | | | Spares users from passing in non-changing values explicitly. [ Michael Coyne & Kasper Timm Hansen ]
* Add key rotation message Encryptor and VerifierMichael Coyne2017-09-231-0/+81
Both classes now have a rotate method where new instances are added for each call. When decryption or verification fails the next rotation instance is tried.