From ee145fe7a1544beda3081d5c057c2e682c8f001b Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sun, 26 Sep 2021 15:45:20 -0400 Subject: [PATCH] Sign with SHA1 --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index f0f51299..9ce91f19 100644 --- a/configure.py +++ b/configure.py @@ -189,7 +189,7 @@ def dist(): # Run cs_flags = "" if args.code_sign_cert_path and args.signtool_path: - cs_flags = '"/Ssigntool=%s sign /f %s /t http://timestamp.sectigo.com $f"' % (args.signtool_path, args.code_sign_cert_path) + cs_flags = '"/Ssigntool=%s sign /f %s /fd SHA1 /t http://timestamp.sectigo.com $f"' % (args.signtool_path, args.code_sign_cert_path) run("innosetup\\iscc /Qp " + cs_flags + " \"innosetup.iss\"") print("Done! Setup created in dist/")