[PATCH] Add signing for windows installer

Wald Commits scm-commit at wald.intevation.org
Thu Aug 21 14:59:36 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1408625972 -7200
# Node ID 180daa3ecbec73541a00f928848c5a47595dd18a
# Parent  419cf0560d45c0ff663a3dd3dc1152a856a829ab
Add signing for windows installer

diff -r 419cf0560d45 -r 180daa3ecbec packaging/win-createpackage.sh.in
--- a/packaging/win-createpackage.sh.in	Thu Aug 21 14:50:13 2014 +0200
+++ b/packaging/win-createpackage.sh.in	Thu Aug 21 14:59:32 2014 +0200
@@ -47,4 +47,10 @@
     -Dsize=$EST_SIZE \
     -Dproductname_short="TrustBridge" @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi
 
+osslsigncode sign -certs @CMAKE_SOURCE_DIR@/ui/tests/data/codesign/codesigning.pem \
+   -key @CMAKE_SOURCE_DIR@/ui/tests/data/codesign/codesigning.key \
+   -h sha256 -in @CMAKE_BINARY_DIR@/TrustBridge- at PROJECT_VERSION@.exe \
+   -out @CMAKE_BINARY_DIR@/TrustBridge- at PROJECT_VERSION@-signed.exe
+mv @CMAKE_BINARY_DIR@/TrustBridge- at PROJECT_VERSION@-signed.exe CMAKE_BINARY_DIR@/TrustBridge- at PROJECT_VERSION@.exe
+
 rm -r $TMPDIR


More information about the Trustbridge-commits mailing list