diff --git a/config/application.rb b/config/application.rb
index 03280c1194e0a00bbcdb9e3dee46db8cfa04474e..88f89b56b81bfdbb1f1bf3b1b1f1c9fa7e68e401 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -53,6 +53,8 @@ module Osuny
     # Need for +repage, because of https://github.com/rails/rails/commit/b2ab8dd3a4a184f3115e72b55c237c7b66405bd9
     config.active_storage.supported_image_processing_methods = ["+"]
 
+    config.active_support.key_generator_hash_digest_class = OpenSSL::Digest::SHA1
+
     config.action_view.sanitized_allowed_tags = [
       "a", "abbr", "acronym", "address", "b", "big", "blockquote", "br",
       "cite", "code", "dd", "del", "dfn", "div", "dl", "dt", "em",