[Pgp-tools-commit] r132 - trunk/caff

Peter Palfrader weasel at costa.debian.org
Tue Jul 19 12:24:20 UTC 2005


Author: weasel
Date: 2005-07-19 12:24:19 +0000 (Tue, 19 Jul 2005)
New Revision: 132

Modified:
   trunk/caff/caff
Log:
Make Bluehorn happy

Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2005-07-16 13:10:47 UTC (rev 131)
+++ trunk/caff/caff	2005-07-19 12:24:19 UTC (rev 132)
@@ -734,6 +734,10 @@
 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);
 	};





More information about the Pgp-tools-commit mailing list