]> git.sthu.org Git - pgp-tools.git/commitdiff
Make Bluehorn happy
authorweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Tue, 19 Jul 2005 12:24:19 +0000 (12:24 +0000)
committerweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Tue, 19 Jul 2005 12:24:19 +0000 (12:24 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@132 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/caff

index 014b8387e0176502583e93bda60964e0ba1dd350..2e8ce8901f4cc12333314a20a2e33bef54f39cea 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -734,6 +734,10 @@ if ($params->{'local-user'}) {
 for my $keyid (@ARGV) {
        $keyid =~ s/^0x//i;
        unless ($keyid =~ /^([A-F0-9]{8}|[A-F0-9]{16}||[A-F0-9]{40})$/i) {
+               if ($keyid =~ /^[A-F0-9]{32}$/) {
+                       info("Ignoring v3 fingerprint $keyid.  v3 keys are obsolete.");
+                       next;
+               };
                print STDERR "$keyid is not a keyid.\n";
                usage(\*STDERR, 1);
        };