go back to sha1 for manifest files (#786)

This commit is contained in:
Caleb St. John
2024-12-07 09:57:48 -05:00
committed by GitHub
parent 05f26fe3df
commit 50f35eca83
+2 -1
View File
@@ -36,7 +36,8 @@ def build_manifest():
for file in files:
abspath = os.path.join(root, file)
with open(abspath, 'rb') as f:
checksums[os.path.relpath(abspath, UPDATE_DIR)] = hashlib.file_digest(f, 'sha256').hexdigest()
# FIXME: before we release 25.04.0 proper, change this to sha256
checksums[os.path.relpath(abspath, UPDATE_DIR)] = hashlib.file_digest(f, 'sha1').hexdigest()
with open(os.path.join(UPDATE_DIR, 'manifest.json'), "w") as f:
f.write(json.dumps({