]> git.donarmstrong.com Git - bin.git/commitdiff
fix checksigs to use the keyid
authorDon Armstrong <don@donarmstrong.com>
Fri, 27 Sep 2013 21:13:52 +0000 (14:13 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 27 Sep 2013 21:13:52 +0000 (14:13 -0700)
checksigs

index bab4c208319ee3eb495626db0c8645faead52234..528d4b40ad82485ef2881c7f33ed6309f13f9b46 100755 (executable)
--- 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";
      }
 }