Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix RotationConfiguration test and remove nil-kind rotates. | Kasper Timm Hansen | 2017-09-24 | 1 | -4/+1 |
| | |||||
* | Use new rotation signature in cookies. | Kasper Timm Hansen | 2017-09-24 | 1 | -5/+5 |
| | | | | [ Michael Coyne & Kasper Timm Hansen ] | ||||
* | Remove advanced key generator rotations from verifier/encryptor. | Kasper Timm Hansen | 2017-09-24 | 1 | -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 Hansen | 2017-09-24 | 1 | -4/+7 |
| | | | | | | Spares users from passing in non-changing values explicitly. [ Michael Coyne & Kasper Timm Hansen ] | ||||
* | [ci skip] RotationConfiguration is an implementation detail, not public API. | Kasper Timm Hansen | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | Add key rotation message Encryptor and Verifier | Michael Coyne | 2017-09-23 | 2 | -0/+106 |
| | | | | | | 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. | ||||
* | Perform self-serialization once metadata is involved. | Kasper Timm Hansen | 2017-08-13 | 1 | -17/+32 |
| | | | | Adds support for metadata even when using ActiveSupport::MessageEncryptor::NullSerializer. | ||||
* | Fix all rubocop violations | Rafael Mendonça França | 2017-08-03 | 1 | -0/+1 |
| | |||||
* | Let Metadata instance handle purpose coercion. | Kasper Timm Hansen | 2017-07-23 | 1 | -4/+4 |
| | | | | [ Assain Jaleel & Kasper Timm Hansen ] | ||||
* | Remove dependency on `from_now` extension. | Kasper Timm Hansen | 2017-07-23 | 1 | -1/+1 |
| | | | | [ Assain Jaleel & Kasper Timm Hansen ] | ||||
* | Add expires_at, expires_in, and purpose meta_data to messages. | Assain | 2017-07-19 | 1 | -0/+55 |