We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 751b523 + 4e09114 commit abda2bdCopy full SHA for abda2bd
1 file changed
bci_tester/fips.py
@@ -18,10 +18,11 @@
18
# OpenSSL 3.x in Tumbleweed dropped those as they're beyond deprecated
19
if OS_VERSION in ("15.3", "15.4", "15.5"):
20
NONFIPS_DIGESTS += ("md4", "mdc2")
21
+elif OS_VERSION in ("16.0",):
22
+ NONFIPS_DIGESTS += ("sha1",)
23
24
#: FIPS compliant openssl digests
25
FIPS_DIGESTS: Tuple[str, ...] = (
- "sha1",
26
"sha224",
27
"sha256",
28
"sha3-224",
@@ -36,6 +37,9 @@
36
37
"shake256",
38
)
39
40
+if OS_VERSION not in ("16.0"):
41
+ FIPS_DIGESTS += ("sha1",)
42
+
43
NULL_DIGESTS: Dict[str, str] = {
44
"blake2b512": "786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce",
45
"blake2s256": "69217a3079908094e11121d042354a7c1f55b6482ca1a51e1b250dfd1ed0eef9",
0 commit comments