diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-01-09 11:35:57 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-01-14 10:48:57 +0100 |
commit | 69cb0bea8197fbb2031371a1f71b9a1c94f93b27 (patch) | |
tree | c42f997b1fbee6dc584f1ce1e24d208f1e746a9e /src/Signing/sign_test_debug.bat | |
parent | 44b2215a7ac4e5001f229d77b0bb88a55e1ab2c2 (diff) | |
download | VeraCrypt-69cb0bea8197fbb2031371a1f71b9a1c94f93b27.tar.gz VeraCrypt-69cb0bea8197fbb2031371a1f71b9a1c94f93b27.zip |
Windows: add a 10 seconds delay between signtool calls to avoid issues caused by antivirus software locking the newly signed files temporarily after they are signed.
Diffstat (limited to 'src/Signing/sign_test_debug.bat')
-rw-r--r-- | src/Signing/sign_test_debug.bat | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Signing/sign_test_debug.bat b/src/Signing/sign_test_debug.bat index 1e26eb96..0b39032f 100644 --- a/src/Signing/sign_test_debug.bat +++ b/src/Signing/sign_test_debug.bat @@ -17,6 +17,8 @@ cd %SIGNINGPATH% 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 "..\Debug\Setup Files\veracrypt.sys" "..\Debug\Setup Files\veracrypt-x64.sys" "..\Debug\Setup Files\VeraCrypt.exe" "..\Debug\Setup Files\VeraCrypt Format.exe" "..\Debug\Setup Files\VeraCryptExpander.exe" "..\Debug\Setup Files\VeraCrypt-x64.exe" "..\Debug\Setup Files\VeraCrypt Format-x64.exe" "..\Debug\Setup Files\VeraCryptExpander-x64.exe" +timeout /t 10 + 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 "..\Debug\Setup Files\veracrypt.sys" "..\Debug\Setup Files\veracrypt-x64.sys" "..\Debug\Setup Files\VeraCrypt.exe" "..\Debug\Setup Files\VeraCrypt Format.exe" "..\Debug\Setup Files\VeraCryptExpander.exe" "..\Debug\Setup Files\VeraCrypt-x64.exe" "..\Debug\Setup Files\VeraCrypt Format-x64.exe" "..\Debug\Setup Files\VeraCryptExpander-x64.exe" @@ -62,6 +64,8 @@ cd %SIGNINGPATH% 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 "..\Debug\Setup Files\VeraCrypt Setup %VC_VERSION%.exe" +timeout /t 10 + 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 "..\Debug\Setup Files\VeraCrypt Setup %VC_VERSION%.exe" |