Commit b6be1eb
authored
[release/0.3] Use SHA256 to digest the seccomp profile (#530)
The MD5 hash algorithm panics under GODEBUG=fips140=only. Calculate the
digest of the seccomp profile using SHA256 instead. The message
containing the digest is informational only so changing the hash
algorithm should not introduce any compatibility breaks. And as far as I
can tell the DockerOpt.msg field is a dead store so this change should
have no observable impact on behaviour aside from not panicking when run
in FIPS140-only mode.
Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit e91fb78)
Signed-off-by: Cory Snider <csnider@mirantis.com>1 parent d9e8816 commit b6be1eb
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
| 286 | + | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
0 commit comments