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

Update digest class to SHA256 #398

Closed
wants to merge 1 commit into from

Conversation

tarebyte
Copy link
Contributor

@tarebyte tarebyte commented Nov 5, 2023

Issue ticket link / number:

#391

What changes did you make?

This updates the digest class for ActiveSupport::Digest to use OpenSSL::Digest::SHA256. This digest is used for things like ETags and ActiveRecord query caching.

Why did you make the changes?

This is the new standard recommendation from Rails. See https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#digest-class-for-activesupport-digest-changing-to-sha256

@tarebyte tarebyte closed this Dec 14, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants