Skip to content
Snippets Groups Projects
Unverified Commit bc16d05a authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

Merge pull request #700 from noesya/fix/upgrade-sha256-fix

SHA256 migration : Rails.application.secret_key_base
parents 25d5b620 c2b5f438
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ class MigrateToRails7Sha256Signature < ActiveRecord::Migration[7.0]
begin
# Try to find blob with ID from SHA1-signed_id
key_generator = ActiveSupport::KeyGenerator.new(
Rails.application.secrets.secret_key_base,
Rails.application.secret_key_base,
iterations: 1000,
hash_digest_class: OpenSSL::Digest::SHA1
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment