From: Don Armstrong Date: Fri, 27 Sep 2013 21:13:52 +0000 (-0700) Subject: fix checksigs to use the keyid X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=45ea062921bed2935d23a5c96803b5f751878a6a;p=bin.git fix checksigs to use the keyid --- diff --git a/checksigs b/checksigs index bab4c20..528d4b4 100755 --- a/checksigs +++ b/checksigs @@ -32,9 +32,9 @@ sub _get_unknown_keys($$){ $smime_fingerprint,$flag_field, ) = split(/\:/,$key_record); next unless defined $user_id and lc($user_id) eq lc('[User ID not found]'); - next if exists $got_uid_already{$user_id}; + next if exists $got_uid_already{$full_key_id}; qx($config->{gpg_command} --recv-keys $full_key_id 2>/dev/null); - $got_uid_already{$user_id} = 1; + $got_uid_already{$full_key_id} = 1; print "Retreveved key: 0x".(substr $full_key_id, -8)."\n"; } }