summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-02-08 17:26:25 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-02-08 17:26:25 (GMT)
commitdb28718ebe03f618394bf0319d9647b1f3467aa3 (patch)
tree3817c9a58b7c716aa2bdb6516e1ddaf57565326c
parent36ae29c759fb7854345b61a18958e00635ee8e04 (diff)
downloadcpython-db28718ebe03f618394bf0319d9647b1f3467aa3.zip
cpython-db28718ebe03f618394bf0319d9647b1f3467aa3.tar.gz
cpython-db28718ebe03f618394bf0319d9647b1f3467aa3.tar.bz2
Updates build to use SHA256 hash when signing files
-rw-r--r--Tools/msi/msi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 219c0ed..a56e40a 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -1436,6 +1436,7 @@ merge(msiname, "SharedCRT", "TARGETDIR", modules)
if certname:
os.system('signtool sign /n "%s" '
'/t http://timestamp.verisign.com/scripts/timestamp.dll '
+ '/fd SHA256 '
'/d "Python %s" '
'%s' % (certname, full_current_version, msiname))