Dimitri John Ledkov e44a4dc4b3 apparmor: switch SECURITY_APPARMOR_HASH from sha1 to sha256
sha1 is insecure and has colisions, thus it is not useful for even
lightweight policy hash checks. Switch to sha256, which on modern
hardware is fast enough.

Separately as per NIST Policy on Hash Functions, sha1 usage must be
withdrawn by 2030. This config option currently is one of many that
holds up sha1 usage.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
2023-11-19 00:47:56 -08:00
..
2023-10-18 15:58:49 -07:00
2023-10-23 00:26:05 -07:00
2023-10-18 15:30:47 -07:00
2023-10-18 15:30:47 -07:00
2023-10-18 15:30:47 -07:00
2023-10-18 15:30:47 -07:00
2023-11-03 09:48:17 -10:00
2022-12-14 13:42:09 -08:00
2023-10-18 15:30:47 -07:00
2023-10-18 15:30:47 -07:00
2023-11-03 09:48:17 -10:00
2023-01-10 10:04:35 -08:00