Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up rotation for encrypted API tokens #3730

Open
connorshea opened this issue Jun 15, 2024 · 0 comments
Open

Set up rotation for encrypted API tokens #3730

connorshea opened this issue Jun 15, 2024 · 0 comments

Comments

@connorshea
Copy link
Owner

In Rails 7, the the default digest class for the key generator changed from SHA1 to SHA256, but we're still on SHA1.

In order to finish the Rails 7 upgrade tasks (even though we're on 7.1 right now), we have to register a rotator for the encrypted messages we store, and then rotate them.

Need to test this heavily to ensure it actually works before shipping it, then we can bump the load_defaults from 6.1 to 7.0, and then move forward to Rails 7.2 in the future.

https://guides.rubyonrails.org/v7.0/upgrading_ruby_on_rails.html#key-generator-digest-class-changing-to-use-sha256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant