rails/rails — pull request #16462 by xuchu (2014-08-11 15:56:50+00:00)
Title: Add expiration support for message_verifier and message_encryptor

The patch will bake the expiration into message_verifier's signed message and message_encryptor's encrypted message to prevent the expiration from being forged. It will check the expiration every time you try to verify a signed message or decrypt an encrypted message. If the message is expired, it will return nil.

cc @rafaelfranca @chancancode