Merge fort-nix/nix-bitcoin#444: fetch-release: add missing homedir to gpg command
296e103228
fetch-release: add missing homedir to gpg command (Jonas Nick) Pull request description: ACKs for top commit: erikarvstedt: ACK296e103228
Tree-SHA512: 722f80fc16d85c866af9a6d9094ca5edbb1955dc5d455300ba07fc57c66a787c91cadf534773ebaec744c577238226668f34f9c1f2080fa563b07d4161e1d6e8
This commit is contained in:
commit
f8ce24647e
|
@ -20,7 +20,7 @@ mkdir -p -m 700 "$GPG_HOME"
|
|||
# Import key
|
||||
gpg --homedir $GPG_HOME --import "$scriptDir/key-jonasnick.bin" &> /dev/null
|
||||
# Check that exactly one key was imported
|
||||
(($(gpg --list-keys --with-colons | grep -c pub) == 1))
|
||||
(($(gpg --homedir $GPG_HOME --list-keys --with-colons | grep -c pub) == 1))
|
||||
# Verify key fingerprint
|
||||
gpg --homedir $GPG_HOME --list-keys "36C7 1A37 C9D9 88BD E825 08D9 B1A7 0E4F 8DCD 0366" > /dev/null
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user