VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Signing
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2013-06-22 15:39:39 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:18:23 (GMT)
commit8f8272d0703b158582054307900dfa5cb61aeea7 (patch)
tree227989aba721c751139751d9084ece9673e7a659 /src/Signing
parent6b2e97c2438e85ddf2f166cf7c56f6c923ffcac4 (diff)
downloadVeraCrypt-8f8272d0703b158582054307900dfa5cb61aeea7.zip
VeraCrypt-8f8272d0703b158582054307900dfa5cb61aeea7.tar.gz
Add bat file for signing VeraCrypt drivers and binaries, and all generating a signed installer
Diffstat (limited to 'src/Signing')
-rw-r--r--src/Signing/Thawt_CodeSigning_CA.crt27
-rw-r--r--src/Signing/sign.bat17
-rw-r--r--src/Signing/thawte_Primary_MS_Cross_Cert.cer32
3 files changed, 76 insertions, 0 deletions
diff --git a/src/Signing/Thawt_CodeSigning_CA.crt b/src/Signing/Thawt_CodeSigning_CA.crt
new file mode 100644
index 0000000..e46f7b4
--- /dev/null
+++ b/src/Signing/Thawt_CodeSigning_CA.crt
@@ -0,0 +1,27 @@
+-----BEGIN CERTIFICATE-----
+MIIEnDCCA4SgAwIBAgIQR5dNeHOlvKsNL7NwGS/OXjANBgkqhkiG9w0BAQUFADCB
+qTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYGA1UECxMf
+Q2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMvKGMpIDIw
+MDYgdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxHzAdBgNV
+BAMTFnRoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EwHhcNMTAwMjA4MDAwMDAwWhcNMjAw
+MjA3MjM1OTU5WjBKMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMVGhhd3RlLCBJbmM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Hdsr7x7ZiIx/telZM3ZwyW/U9DEYYlTsqI2iDZEHZAG0PGSQVaHK9
+xXFnbqxM25DrUaUaYgfQvmoARzxyL+xPYT5zhc5aCre6wBwTdeMiOSjdbR0JRp1P
+uuhAgZHGpM6UchsBzypuFWeVia59t7fN+Qo9dbZrPCU=
+-----END CERTIFICATE----- \ No newline at end of file
diff --git a/src/Signing/sign.bat b/src/Signing/sign.bat
new file mode 100644
index 0000000..739fc60
--- /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
diff --git a/src/Signing/thawte_Primary_MS_Cross_Cert.cer b/src/Signing/thawte_Primary_MS_Cross_Cert.cer
new file mode 100644
index 0000000..d5e09da
--- /dev/null
+++ b/src/Signing/thawte_Primary_MS_Cross_Cert.cer
@@ -0,0 +1,32 @@
+-----BEGIN CERTIFICATE-----
+MIIFeTCCA2GgAwIBAgIKYR+wpAAAAAAAHTANBgkqhkiG9w0BAQUFADB/MQswCQYD
+VQQGEwJVUz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