Skip to content
@rails-cookies-everywhere

Rails Cookies Everywhere

Libraries to decrypt Rails Cookies in various languages

Rails Cookies Everywhere

A collection of projects aiming to help developers use their Ruby on Rails authentication cookies in other apps.

Rails Cookies Monster

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.

Available languages/platforms:

Of course, lots of similar projects exist:

Decrypting cookies

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

Encrypting cookies

The JavaScript library can encrypt cookies for Rails, but it's ill-advised to use.

Basics and rules

  • 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_BASE value from the ENV.

Pinned Loading

  1. rails-cookies-rust rails-cookies-rust Public

    Rails cookie parser written in Rust

    Rust

  2. rails-cookies-nodejs rails-cookies-nodejs Public

    Rails 5 (5.2.4.4) cookie parser.

    JavaScript 1

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…