Skip to content

Commit f96d817

Browse files
committed
import the builder keys from guix.sigs repo instead of a local copy
1 parent c164a81 commit f96d817

File tree

2 files changed

+3
-693
lines changed

2 files changed

+3
-693
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ RUN KNOTS_MAJOR_VERSION=$(echo ${KNOTS_VERSION} | cut -c1-2) \
1111
&& wget https://bitcoinknots.org/files/${KNOTS_MAJOR_VERSION}.x/${KNOTS_VERSION}/SHA256SUMS.asc \
1212
&& wget https://bitcoinknots.org/files/${KNOTS_MAJOR_VERSION}.x/${KNOTS_VERSION}/bitcoin-${KNOTS_VERSION}.tar.gz
1313

14-
COPY builder_pubkeys.pem .
15-
1614
RUN apk add --no-cache \
1715
coreutils \
16+
curl \
1817
gnupg \
1918
gnupg-keyboxd \
20-
&& gpg --import builder_pubkeys.pem \
19+
jq \
20+
&& curl -s https://api.github.com/repos/bitcoinknots/guix.sigs/contents/builder-keys | jq -r '.[].download_url' | while read url; do curl -s "$url" | gpg --import; done \
2121
&& gpg --verify SHA256SUMS.asc SHA256SUMS \
2222
&& sha256sum --ignore-missing -c SHA256SUMS
2323

0 commit comments

Comments
 (0)