Project

General

Profile

Fix for FIPS systems: OpenSSL::Digest::DigestError (Digest initialization failed: initialization error)

Added by Martin Johnson 4 days ago

After installing Redmine 6.1.1 on RedHat 9.7 with FIPS mode enabled, clicking on a project SVN Repository was not working.

Rails = 7.2.3
Ruby = 3.3.10
MariaDB = 10.5.29

logs/production.log showed: "OpenSSL::Digest::DigestError (Digest initialization failed: initialization error)"

Fix: added a line to config/application.rb after line 34:

config.active_support.hash_digest_class = OpenSSL::Digest::SHA256

Hope this is useful!