raspiblitz icon indicating copy to clipboard operation
raspiblitz copied to clipboard

Change how we download Keys?

Open rootzoll opened this issue 2 years ago • 1 comments

see https://github.com/raspiblitz/raspiblitz/pull/3754/#issuecomment-1508119608

rootzoll avatar Nov 21 '23 17:11 rootzoll

Joininbox has the improved method implemented already: https://github.com/openoms/joininbox/blob/a596e25ce03adfe48cf465fc01c4757167452ac1/scripts/_functions.bitcoincore.sh#L9-L92

Basically:

# Receive signer keys
curl -s "https://api.github.com/repos/bitcoin-core/guix.sigs/contents/builder-keys" |
    jq -r '.[].download_url' | while read url; do curl -s "$url" | gpg --import; done

# verify the manifest
gpg --verify SHA256SUMS.asc

openoms avatar Nov 23 '23 12:11 openoms