Changeset - r26063:e5845237d244
[Not reviewed]
master
0 1 0
Owen Rudge - 3 years ago 2021-11-09 14:05:11
owen@owenrudge.net
Change: Explicitly specify SHA1 for legacy code signing on Windows
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
os/windows/sign.bat
Show inline comments
 
@@ -12,7 +12,7 @@ REM URL of the timestamp server
 
IF NOT DEFINED SIGNTOOL_TIMESTAMP_URL (SET SIGNTOOL_TIMESTAMP_URL=http://timestamp.digicert.com)
 

	
 
REM Sign with SHA-1 for Windows 7 and below
 
"%SIGNTOOL_PATH%" sign -v -n %2 -t %SIGNTOOL_TIMESTAMP_URL% %1
 
"%SIGNTOOL_PATH%" sign -v -n %2 -t %SIGNTOOL_TIMESTAMP_URL% -fd sha1 %1
 

	
 
REM Sign with SHA-256 for Windows 8 and above
 
"%SIGNTOOL_PATH%" sign -v -n %2 -tr %SIGNTOOL_TIMESTAMP_URL% -fd sha256 -td sha256 -as %1
0 comments (0 inline, 0 general)