mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Normalize all line terminators
This commit is contained in:
@@ -1,32 +1,32 @@
|
||||
PATH=%PATH%;%WSDK81%\bin\x86
|
||||
|
||||
set PFXNAME=TestCertificate\idrix_codeSign.pfx
|
||||
set PFXPASSWORD=idrix
|
||||
set PFXCA=TestCertificate\idrix_TestRootCA.crt
|
||||
set SHA256PFXNAME=TestCertificate\idrix_Sha256CodeSign.pfx
|
||||
set SHA256PFXPASSWORD=idrix
|
||||
set SHA256PFXCA=TestCertificate\idrix_SHA256TestRootCA.crt
|
||||
|
||||
rem sign using SHA-1
|
||||
signtool sign /v /a /f %PFXNAME% /p %PFXPASSWORD% /ac %PFXCA% /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\veracrypt.sys" "..\Release\Setup Files\veracrypt-x64.sys" "..\Release\Setup Files\VeraCrypt.exe" "..\Release\Setup Files\VeraCrypt Format.exe" "..\Release\Setup Files\VeraCryptExpander.exe" "..\Release\Setup Files\VeraCrypt-x64.exe" "..\Release\Setup Files\VeraCrypt Format-x64.exe" "..\Release\Setup Files\VeraCryptExpander-x64.exe"
|
||||
|
||||
rem sign using SHA-256
|
||||
signtool sign /v /a /f %SHA256PFXNAME% /p %SHA256PFXPASSWORD% /ac %SHA256PFXCA% /as /fd sha256 /tr http://timestamp.globalsign.com/?signature=sha2 /td SHA256 "..\Release\Setup Files\veracrypt.sys" "..\Release\Setup Files\veracrypt-x64.sys" "..\Release\Setup Files\VeraCrypt.exe" "..\Release\Setup Files\VeraCrypt Format.exe" "..\Release\Setup Files\VeraCryptExpander.exe" "..\Release\Setup Files\VeraCrypt-x64.exe" "..\Release\Setup Files\VeraCrypt Format-x64.exe" "..\Release\Setup Files\VeraCryptExpander-x64.exe"
|
||||
|
||||
cd "..\Release\Setup Files\"
|
||||
|
||||
copy /V /Y ..\..\..\Translations\*.xml .
|
||||
|
||||
"VeraCrypt Setup.exe" /p
|
||||
|
||||
del *.xml
|
||||
|
||||
cd "..\..\Signing"
|
||||
|
||||
rem sign using SHA-1
|
||||
signtool sign /v /a /f %PFXNAME% /p %PFXPASSWORD% /ac %PFXCA% /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt Setup 1.17.exe"
|
||||
|
||||
rem sign using SHA-256
|
||||
signtool sign /v /a /f %SHA256PFXNAME% /p %SHA256PFXPASSWORD% /ac %SHA256PFXCA% /as /fd sha256 /tr http://timestamp.globalsign.com/?signature=sha2 /td SHA256 "..\Release\Setup Files\VeraCrypt Setup 1.17.exe"
|
||||
|
||||
PATH=%PATH%;%WSDK81%\bin\x86
|
||||
|
||||
set PFXNAME=TestCertificate\idrix_codeSign.pfx
|
||||
set PFXPASSWORD=idrix
|
||||
set PFXCA=TestCertificate\idrix_TestRootCA.crt
|
||||
set SHA256PFXNAME=TestCertificate\idrix_Sha256CodeSign.pfx
|
||||
set SHA256PFXPASSWORD=idrix
|
||||
set SHA256PFXCA=TestCertificate\idrix_SHA256TestRootCA.crt
|
||||
|
||||
rem sign using SHA-1
|
||||
signtool sign /v /a /f %PFXNAME% /p %PFXPASSWORD% /ac %PFXCA% /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\veracrypt.sys" "..\Release\Setup Files\veracrypt-x64.sys" "..\Release\Setup Files\VeraCrypt.exe" "..\Release\Setup Files\VeraCrypt Format.exe" "..\Release\Setup Files\VeraCryptExpander.exe" "..\Release\Setup Files\VeraCrypt-x64.exe" "..\Release\Setup Files\VeraCrypt Format-x64.exe" "..\Release\Setup Files\VeraCryptExpander-x64.exe"
|
||||
|
||||
rem sign using SHA-256
|
||||
signtool sign /v /a /f %SHA256PFXNAME% /p %SHA256PFXPASSWORD% /ac %SHA256PFXCA% /as /fd sha256 /tr http://timestamp.globalsign.com/?signature=sha2 /td SHA256 "..\Release\Setup Files\veracrypt.sys" "..\Release\Setup Files\veracrypt-x64.sys" "..\Release\Setup Files\VeraCrypt.exe" "..\Release\Setup Files\VeraCrypt Format.exe" "..\Release\Setup Files\VeraCryptExpander.exe" "..\Release\Setup Files\VeraCrypt-x64.exe" "..\Release\Setup Files\VeraCrypt Format-x64.exe" "..\Release\Setup Files\VeraCryptExpander-x64.exe"
|
||||
|
||||
cd "..\Release\Setup Files\"
|
||||
|
||||
copy /V /Y ..\..\..\Translations\*.xml .
|
||||
|
||||
"VeraCrypt Setup.exe" /p
|
||||
|
||||
del *.xml
|
||||
|
||||
cd "..\..\Signing"
|
||||
|
||||
rem sign using SHA-1
|
||||
signtool sign /v /a /f %PFXNAME% /p %PFXPASSWORD% /ac %PFXCA% /fd sha1 /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt Setup 1.17.exe"
|
||||
|
||||
rem sign using SHA-256
|
||||
signtool sign /v /a /f %SHA256PFXNAME% /p %SHA256PFXPASSWORD% /ac %SHA256PFXCA% /as /fd sha256 /tr http://timestamp.globalsign.com/?signature=sha2 /td SHA256 "..\Release\Setup Files\VeraCrypt Setup 1.17.exe"
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user