diff options
-rwxr-xr-x | build-installers.sh | 2 | ||||
-rw-r--r-- | build-release.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build-installers.sh b/build-installers.sh index 6d3459e3b..8ec188adc 100755 --- a/build-installers.sh +++ b/build-installers.sh @@ -202,7 +202,7 @@ if [ -f "${AUTHENTICODE_PFXFILE}" ] && [ -f "${AUTHENTICODE_PASSWORD}" ]; then authenticode_sign() { NEST="" for hashalg in sha1 sha256; do - SIGN_MSG=$(osslsigncode sign -pkcs12 "${AUTHENTICODE_PFXFILE}" -pass "${PFX_PASS}" -n "Duplicati" -i "http://www.duplicati.com" -h "${hashalg}" ${NEST} -t "http://timestamp.verisign.com/scripts/timstamp.dll" -in "$1" -out tmpfile) + SIGN_MSG=$(osslsigncode sign -pkcs12 "${AUTHENTICODE_PFXFILE}" -pass "${PFX_PASS}" -n "Duplicati" -i "http://www.duplicati.com" -h "${hashalg}" ${NEST} -t "http://timestamp.globalsign.com/scripts/timestamp.dll" -in "$1" -out tmpfile) if [ "${SIGN_MSG}" != "Succeeded" ]; then echo "${SIGN_MSG}"; fi mv tmpfile "$1" NEST="-nest" diff --git a/build-release.sh b/build-release.sh index 70a9809e9..757a9edef 100644 --- a/build-release.sh +++ b/build-release.sh @@ -222,7 +222,7 @@ if [ -f "${AUTHENTICODE_PFXFILE}" ] && [ -f "${AUTHENTICODE_PASSWORD}" ]; then authenticode_sign() { NEST="" for hashalg in sha1 sha256; do - SIGN_MSG=$(osslsigncode sign -pkcs12 "${AUTHENTICODE_PFXFILE}" -pass "${PFX_PASS}" -n "Duplicati" -i "http://www.duplicati.com" -h "${hashalg}" ${NEST} -t "http://timestamp.verisign.com/scripts/timstamp.dll" -in "$1" -out tmpfile) + SIGN_MSG=$(osslsigncode sign -pkcs12 "${AUTHENTICODE_PFXFILE}" -pass "${PFX_PASS}" -n "Duplicati" -i "http://www.duplicati.com" -h "${hashalg}" ${NEST} -t "http://timestamp.globalsign.com/scripts/timestamp.dll" -in "$1" -out tmpfile) if [ "${SIGN_MSG}" != "Succeeded" ]; then echo "${SIGN_MSG}"; fi mv tmpfile "$1" NEST="-nest" |