From e525465592d7e6364bee2ff531dbb04302010401 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 Sep 2021 16:22:15 +0200 Subject: [PATCH] python/build/verify.py: support SHA256 --- python/build/verify.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/build/verify.py b/python/build/verify.py index b730c4e39..e22ff274d 100644 --- a/python/build/verify.py +++ b/python/build/verify.py @@ -31,6 +31,8 @@ def guess_digest_algorithm(digest): return hashlib.sha1 elif l == 64: return hashlib.sha256 + elif l == 128: + return hashlib.sha512 else: return None