cope with a sig that has an empty create date, treat that
authorthijs <thijs@b513b33f-fedd-0310-b452-c3deb5f4c849>
Tue, 22 May 2007 08:49:56 +0000 (08:49 +0000)
committerthijs <thijs@b513b33f-fedd-0310-b452-c3deb5f4c849>
Tue, 22 May 2007 08:49:56 +0000 (08:49 +0000)
as 0 and do not output a warning.

git-svn-id: svn://svn.debian.org/pgp-tools/trunk@317 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/pgp-fixkey
debian/changelog

index f35110d5460a0e1621dbcf400aac7ec6fd80914c..48d47be19e717b581ea0c41822fb527eed90cd78 100755 (executable)
@@ -265,7 +265,7 @@ if (scalar @KEYIDS == 0) {
                } elsif (!defined $thiskey) {
                        next;
                } elsif ($type eq 'sig' || $type eq 'rev') {
-                       if (($keyid eq '0' x 16) || ($created == 0)) {
+                       if (($keyid eq '0' x 16) || ($created eq "") || ($created == 0)) {
                                push @KEYIDS, $thiskey;
                                info("Key $thiskey needs cleaning.");
                                $thiskey = undef;
index 893fe137de570cabd5f66dddcbbf4b26191d1620..ddca71856dad5a8817dbee0269fbe3b5f93ab413 100644 (file)
@@ -2,12 +2,13 @@ signing-party (0.4.9-2) unstable; urgency=low
 
   * caff:
     + Fix syntax error in example config variables (Closes: #413020).
-    + Fix perl warnings when calling pgp-fixkey with unknown keyid.
+    + Fix perl warnings when calling pgp-fixkey with unknown keyid or
+      with empty signature create date.
   * gpg-key2ps:
     + Add '-1' option to only display one column of slips, for extra
       wide keys (Closes: #399474).
 
- -- Thijs Kinkhorst <thijs@debian.org>  Tue, 24 Apr 2007 11:17:43 +0200
+ -- Thijs Kinkhorst <thijs@debian.org>  Tue, 22 May 2007 10:48:40 +0200
 
 signing-party (0.4.9-1) unstable; urgency=low