A collection of projects aiming to help developers use their Ruby on Rails authentication cookies in other apps.
In order to test libraries properly, the Rails Cookies Monster project aims to build all versions of Rails available, retrieve cookies from a base installation, and use them as test values.
Of course, lots of similar projects exist:
The only major difference between Rails 5/6 and Rails 7 is the hash digest used for key generation, which changed from Sha1 to Sha256.
| Language | Rails 5/6 | Rails 7 |
|---|---|---|
| JavaScript | ✅ | ❌ |
| Rust | ✅ | ✅ |
The JavaScript library can encrypt cookies for Rails, but it's ill-advised to use.
- All libraries MUST work with the latest Rails defaults.
- When allowed by the language, all libraries should work "batteries included" by pulling the
SECRET_KEY_BASEvalue from theENV.