We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14da70f commit 8a27a4dCopy full SHA for 8a27a4d
1 file changed
config/application.rb
@@ -19,6 +19,12 @@ class Application < Rails::Application
19
# Initialize configuration defaults for originally generated Rails version.
20
config.load_defaults 7.0
21
22
+ # Rails used SHA1 to encrypt attributes before, now it uses SHA256
23
+ # TODO: Reencrypt the secrets
24
+ # HACK: For now we set the old SHA1 algorithm
25
+ config.active_support.hash_digest_class = OpenSSL::Digest::SHA1
26
+ config.active_support.key_generator_hash_digest_class = OpenSSL::Digest::SHA1
27
+
28
config.autoloader = :zeitwerk
29
30
# Settings in config/environments/* take precedence over those specified here.
0 commit comments