Skip to content

Commit

Permalink
Merge pull request #230 from tegonal/improve/typo-more-context-in-err…
Browse files Browse the repository at this point in the history
…-msg

mention from which gpg store we could not extract a signing key
  • Loading branch information
robstoll authored Oct 28, 2024
2 parents 60c6f3a + 37cd3f9 commit 718b58d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gt-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,10 @@ function gt_pull() {
fi
if gpg --homedir "$gpgDir" --verify "$sigFile" "$absoluteFile"; then
local keyData keyId
keyData=$(getSigningGpgKeyData "$sigFile" "$gpgDir") || die "could not get the key data of %s" "$sigFile"
keyData=$(getSigningGpgKeyData "$sigFile" "$gpgDir") || die "could not get the key data of %s out of gpg store %s\nFollowing the available public keys" "$sigFile" "$gpgDir"
keyId=$(extractGpgKeyIdFromKeyData "$keyData")
if isGpgKeyInKeyDataRevoked "$keyData"; then
returnDying "the key %s which signed the file \033[0;36m%s\033[0m form remote %s was revoked" "$keyId" "$repoFile" "$remote" || return $?
returnDying "the key %s which signed the file \033[0;36m%s\033[0m from remote %s was revoked" "$keyId" "$repoFile" "$remote" || return $?
fi
else
returnDying "gpg verification failed for file \033[0;36m%s\033[0m from remote %s" "$repoFile" "$remote" || return $?
Expand Down

0 comments on commit 718b58d

Please sign in to comment.