summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-02-08 17:27:44 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-02-08 17:27:44 (GMT)
commita74826b086bfadf1ad6965ed9352517dfe84daa9 (patch)
tree6b4df83621171744b9cf5498e98ab98868d64aec
parenta2724095cd55d75497d9cd48d35911599f4dedda (diff)
parent84d9fe39539bfda4d3b5298ab244af972b3766ce (diff)
downloadcpython-a74826b086bfadf1ad6965ed9352517dfe84daa9.zip
cpython-a74826b086bfadf1ad6965ed9352517dfe84daa9.tar.gz
cpython-a74826b086bfadf1ad6965ed9352517dfe84daa9.tar.bz2
Updates build to use SHA256 hash when signing files
-rw-r--r--PCbuild/pyproject.props2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index f32b1bf..7033cc3 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -154,7 +154,7 @@ foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses
<SignToolPath Condition="'$(SignToolPath)' == '' or !Exists($(SignToolPath))">$(registry:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Kits\Installed Roots@KitsRoot81)\bin\x86\signtool.exe</SignToolPath>
<SignToolPath Condition="!Exists($(SignToolPath))">$(registry:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Kits\Installed Roots@KitsRoot)\bin\x86\signtool.exe</SignToolPath>
<SignToolPath Condition="!Exists($(SignToolPath))">$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1A@InstallationFolder)\Bin\signtool.exe</SignToolPath>
- <_SignCommand Condition="Exists($(SignToolPath))">"$(SignToolPath)" sign /q /n "$(SigningCertificate)" /t http://timestamp.verisign.com/scripts/timestamp.dll /d "Python $(PythonVersion)"</_SignCommand>
+ <_SignCommand Condition="Exists($(SignToolPath))">"$(SignToolPath)" sign /q /n "$(SigningCertificate)" /fd sha256 /t http://timestamp.verisign.com/scripts/timestamp.dll /d "Python $(PythonVersion)"</_SignCommand>
</PropertyGroup>
<Target Name="_SignBuild" AfterTargets="AfterBuild" Condition="'$(SigningCertificate)' != '' and $(SupportSigning)">