mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-12 05:39:22 +02:00
add more debug for chantools PGP check
This commit is contained in:
parent
487d3ef760
commit
8b1811f1e2
@ -102,7 +102,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
fi
|
||||
gpg --import ./pgp_keys.asc
|
||||
sleep 3
|
||||
echo "# running: gpg --verify manifest-v${pinnedVersion}.txt.asc"
|
||||
verifyResult=$(gpg --verify manifest-v${pinnedVersion}.txt.asc 2>&1)
|
||||
echo "# verifyResult(${verifyResult})"
|
||||
goodSignature=$(echo ${verifyResult} | grep 'Good signature' -c)
|
||||
echo "# goodSignature(${goodSignature})"
|
||||
correctKey=$(echo ${verifyResult} | tr -d " \t\n\r" | grep "${GPGcheck}" -c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user