summaryrefslogtreecommitdiffstats
path: root/meta-poky/conf/distro
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2022-02-28 19:37:26 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-01 23:44:59 +0000
commite9cc9772f277cbb270f52916b21d94abdaa1467f (patch)
tree03ce990650df2fc46e3acb01ec6c11fcd4afc90b /meta-poky/conf/distro
parent83766c9fffa45cd3a94cf8076f7c8f45aba11a12 (diff)
downloadpoky-e9cc9772f277cbb270f52916b21d94abdaa1467f.tar.gz
insane.bbclass: Update insane.bbclass to work on FIPS enabled hosts
hashlib.md5() is not permitted on a FIPS enabled host system. This is due to md5 not being an approved hash algorithm. Instead use: hashlib.new('MD5', usedforsecurity=False) This is allowed, as it's clear the hash is used for a non-security purpose. Using an md5 to identify when a license has changed is permitted, as we're not using it for file integrity. (From OE-Core rev: 7f7eb82ce47ede6ec6f50cbcb56cbfbe10e8d20c) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/conf/distro')
0 files changed, 0 insertions, 0 deletions