VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Signing/sign.bat
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2013-06-22 17:39:39 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:18:23 +0100
commit8f8272d0703b158582054307900dfa5cb61aeea7 (patch)
tree227989aba721c751139751d9084ece9673e7a659 /src/Signing/sign.bat
parent6b2e97c2438e85ddf2f166cf7c56f6c923ffcac4 (diff)
downloadVeraCrypt-8f8272d0703b158582054307900dfa5cb61aeea7.tar.gz
VeraCrypt-8f8272d0703b158582054307900dfa5cb61aeea7.zip
Add bat file for signing VeraCrypt drivers and binaries, and all generating a signed installer
Diffstat (limited to 'src/Signing/sign.bat')
-rw-r--r--src/Signing/sign.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Signing/sign.bat b/src/Signing/sign.bat
new file mode 100644
index 00000000..739fc60e
--- /dev/null
+++ b/src/Signing/sign.bat
@@ -0,0 +1,17 @@
+PATH=%PATH%;%DDK%\bin\x86
+
+signtool sign /v /a /ac thawte_Primary_MS_Cross_Cert.cer /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\veracrypt.sys"
+signtool sign /v /a /ac thawte_Primary_MS_Cross_Cert.cer /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\veracrypt-x64.sys"
+
+signtool sign /v /a /ac Thawt_CodeSigning_CA.crt /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt.exe"
+signtool sign /v /a /ac Thawt_CodeSigning_CA.crt /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt Format.exe"
+
+cd "..\Release\Setup Files\"
+
+"VeraCrypt Setup.exe" /p
+
+cd "..\..\Signing"
+
+signtool sign /v /a /ac Thawt_CodeSigning_CA.crt /t http://timestamp.verisign.com/scripts/timestamp.dll "..\Release\Setup Files\VeraCrypt Setup 7.1a.exe"
+
+pause \ No newline at end of file