Skip to content

Commit 4ea2e96

Browse files
committed
pythonbuild: fix hashlib algorithms names
The names were normalized in Python 3.9. Let's check for the new names.
1 parent d27c2e9 commit 4ea2e96

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

pythonbuild/verify_distribution.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ def verify_hashlib():
5353

5454
wanted_hashes = {
5555
"blake2b",
56-
"blake2b512",
5756
"blake2s",
58-
"blake2s256",
5957
"md4",
6058
"md5",
6159
"md5-sha1",
@@ -64,20 +62,20 @@ def verify_hashlib():
6462
"sha1",
6563
"sha224",
6664
"sha256",
67-
"sha3-224",
68-
"sha3-256",
69-
"sha3-384",
70-
"sha3-512",
65+
"sha3_224",
66+
"sha3_256",
67+
"sha3_384",
68+
"sha3_512",
7169
"sha384",
7270
"sha3_224",
7371
"sha3_256",
7472
"sha3_384",
7573
"sha3_512",
7674
"sha512",
77-
"sha512-224",
78-
"sha512-256",
79-
"shake128",
80-
"shake256",
75+
"sha512_224",
76+
"sha512_256",
77+
"shake_128",
78+
"shake_256",
8179
"shake_128",
8280
"shake_256",
8381
"sm3",

0 commit comments

Comments
 (0)