Commit da9ed97
authored
Rely on the digest class defined by Rails (#173)
Rails applications can override the digest class through
configuration settings. Further, Rails does this by default in
versions suchs as 7 where it defaults to SHA256. Using
ActiveSupport::Digest directly skips over this setting causing
it to always be MD5 in the current state. This breaks in modern
environments MD5 is disabled such as FIPS environments.
Signed-off-by: Eric D. Helms <[email protected]>1 parent a654f73 commit da9ed97
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
0 commit comments