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