mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-08 17:43:04 +01:00
speedo: Make signing optional for w32-release
* build-aux/speedo.mk (AUTHENTICODE_sign): Check if certificates are available.
This commit is contained in:
parent
28403cb5fe
commit
a56c591f90
@ -1391,13 +1391,15 @@ define AUTHENTICODE_sign
|
|||||||
/fd sha256 /du https://gnupg.org a.exe ;\
|
/fd sha256 /du https://gnupg.org a.exe ;\
|
||||||
scp "$(AUTHENTICODE_SIGNHOST):a.exe" $(2);\
|
scp "$(AUTHENTICODE_SIGNHOST):a.exe" $(2);\
|
||||||
echo "speedo: signed file is '$(2)'" ;\
|
echo "speedo: signed file is '$(2)'" ;\
|
||||||
else \
|
elif [ -e "$(AUTHENTICODE_KEY)" ]; then \
|
||||||
echo "speedo: Signing using key $(AUTHENTICODE_KEY)";\
|
echo "speedo: Signing using key $(AUTHENTICODE_KEY)";\
|
||||||
osslsigncode sign -certs $(AUTHENTICODE_CERTS) \
|
osslsigncode sign -certs $(AUTHENTICODE_CERTS) \
|
||||||
-pkcs12 $(AUTHENTICODE_KEY) -askpass \
|
-pkcs12 $(AUTHENTICODE_KEY) -askpass \
|
||||||
-ts "http://timestamp.globalsign.com/scripts/timstamp.dll" \
|
-ts "http://timestamp.globalsign.com/scripts/timstamp.dll" \
|
||||||
-h sha256 -n GnuPG -i https://gnupg.org \
|
-h sha256 -n GnuPG -i https://gnupg.org \
|
||||||
-in $(1) -out $(2) ;\
|
-in $(1) -out $(2) ;\
|
||||||
|
else \
|
||||||
|
echo "speedo: WARNING: Binaries are not signed"; \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user