diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-02-08 09:24:46 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-02-08 09:24:46 -0800 |
commit | 84d9fe39539bfda4d3b5298ab244af972b3766ce (patch) | |
tree | 5daac81ec3c6a76e6b155dee14e383f484d874a9 | |
parent | 988b9bcd881c21286d0bce64009c8b5afa50da8e (diff) | |
download | cpython-git-84d9fe39539bfda4d3b5298ab244af972b3766ce.tar.gz |
Updates build to use SHA256 hash when signing files.
-rw-r--r-- | PCbuild/pyproject.props | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index f32b1bf543..7033cc3b7d 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)"> |