You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the [ConfiguringRailsApplications](configuring.html#config-active-record-encryption-hash-digest-class)
339
+
guide for more information on `config.active_record.encryption.hash_digest_class`.
340
+
341
+
In addition, a new configuration [`config.active_record.encryption.support_sha1_for_non_deterministic_encryption`](configuring.html#config-active-record-encryption-support-sha1-for-non-deterministic-encryption)
342
+
was introduced to resolve [a bug](https://github.com/rails/rails/issues/42922) that caused some attributes to be
343
+
encrypted usingSHA-1 even whenSHA-256 was configured via the aforementioned `hash_digest_class` configuration.
344
+
345
+
By default, `config.active_record.encryption.support_sha1_for_non_deterministic_encryption` is disabled in
346
+
Rails7.1. If you have data encrypted in a version of Rails<7.1 that you believe may be affected
347
+
by the aforementioned bug, this configuration should be enabled:
0 commit comments