fix pgp key fetching
This commit is contained in:
parent
d6189f0f28
commit
47e883a348
8
Makefile
8
Makefile
|
@ -181,23 +181,23 @@ endef
|
||||||
|
|
||||||
define fetch_pgp_key
|
define fetch_pgp_key
|
||||||
mkdir -p $(KEY_DIR) && \
|
mkdir -p $(KEY_DIR) && \
|
||||||
$(call toolchain," \
|
$(call toolchain,' \
|
||||||
for server in \
|
for server in \
|
||||||
ha.pool.sks-keyservers.net \
|
keys.openpgp.org \
|
||||||
hkp://keyserver.ubuntu.com:80 \
|
hkp://keyserver.ubuntu.com:80 \
|
||||||
hkp://p80.pool.sks-keyservers.net:80 \
|
hkp://p80.pool.sks-keyservers.net:80 \
|
||||||
|
ha.pool.sks-keyservers.net \
|
||||||
pgp.mit.edu \
|
pgp.mit.edu \
|
||||||
; do \
|
; do \
|
||||||
echo "Trying: $${server}"; \
|
echo "Trying: $${server}"; \
|
||||||
gpg \
|
gpg \
|
||||||
--recv-key \
|
|
||||||
--keyserver "$${server}" \
|
--keyserver "$${server}" \
|
||||||
--keyserver-options timeout=10 \
|
--keyserver-options timeout=10 \
|
||||||
--recv-keys "$(1)" \
|
--recv-keys "$(1)" \
|
||||||
&& break; \
|
&& break; \
|
||||||
done; \
|
done; \
|
||||||
gpg --export -a $(1) > $(KEY_DIR)/$(1).asc; \
|
gpg --export -a $(1) > $(KEY_DIR)/$(1).asc; \
|
||||||
")
|
')
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define toolchain
|
define toolchain
|
||||||
|
|
Loading…
Reference in New Issue