From: thijs Date: Tue, 22 May 2007 08:49:56 +0000 (+0000) Subject: cope with a sig that has an empty create date, treat that X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=2640c76a0922ec1bea27c4fba43629123405f86c;p=pgp-tools.git cope with a sig that has an empty create date, treat that as 0 and do not output a warning. git-svn-id: svn://svn.debian.org/pgp-tools/trunk@317 b513b33f-fedd-0310-b452-c3deb5f4c849 --- diff --git a/caff/pgp-fixkey b/caff/pgp-fixkey index f35110d..48d47be 100755 --- a/caff/pgp-fixkey +++ b/caff/pgp-fixkey @@ -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; diff --git a/debian/changelog b/debian/changelog index 893fe13..ddca718 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 24 Apr 2007 11:17:43 +0200 + -- Thijs Kinkhorst Tue, 22 May 2007 10:48:40 +0200 signing-party (0.4.9-1) unstable; urgency=low