]> git.donarmstrong.com Git - bin.git/commitdiff
* Fix the unknown key id comparison to be case insensitive
authorDon Armstrong <don@donarmstrong.com>
Wed, 14 Dec 2005 03:18:14 +0000 (03:18 +0000)
committerDon Armstrong <don@donarmstrong.com>
Wed, 14 Dec 2005 03:18:14 +0000 (03:18 +0000)
checksigs

index d0467f3f8d971ca0dcddd45f4f2584e577ed4be1..c45b8d26313e1f307fcdc716420abf704d3ee12a 100755 (executable)
--- a/checksigs
+++ b/checksigs
@@ -30,7 +30,7 @@ sub _get_unknown_keys($$){
              $owner_trust,$user_id,$signature_class,$key_capabilities,
              $smime_fingerprint,$flag_field,
             ) = split(/\:/,$key_record);
-         next unless defined $user_id and $user_id eq '[User id not found]';
+         next unless defined $user_id and lc($user_id) eq lc('[User ID not found]');
          qx($config->{gpg_command} --recv-keys $full_key_id 2>/dev/null);
          print "Retreveved key: 0x".(substr $full_key_id, -8)."\n";
      }