Skip to content

Commit

Permalink
extract key data from remote's gpg store, not from default
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Oct 28, 2024
1 parent c0e5f1d commit a9c83ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gt-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ function gt_pull() {
fi
if gpg --homedir "$gpgDir" --verify "$sigFile" "$absoluteFile"; then
local keyData keyId
keyData=$(getSigningGpgKeyData "$sigFile") || die "could not get the key data of %s" "$sigFile"
keyData=$(getSigningGpgKeyData "$sigFile" "$gpgDir") || die "could not get the key data of %s" "$sigFile"
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 $?
Expand Down

0 comments on commit a9c83ae

Please sign in to comment.