]> git.sthu.org Git - pgp-tools.git/commitdiff
some debug output in sigremoval
authorweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 20 Oct 2004 11:04:57 +0000 (11:04 +0000)
committerweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 20 Oct 2004 11:04:57 +0000 (11:04 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@20 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/caff

index 6b23803ece8e024a0141f62793aed9e4ea2eac14..718e847eb876656da0431dc349be2b741b803b8e 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -686,14 +686,18 @@ for my $keyid (@keyids_ok) {
                        my @sigline = grep { /^sig/ } (split /\n/, $stdout);
                        my $line = pop @sigline;
                        my $answer = "no";
+                       debug("[sigremoval] doing line $line.");
                        if (defined $line) { # only if we found a sig here - we never remove revocation packets for instance
                                my ($dummy1, $dummy2, $dummy3, $dummy4, $signer, $created, $dummy7, $dummy8, $dummy9) = split /:/, $line;
                                if ($signer eq $longkeyid) {
+                                       debug("[sigremoval] selfsig ($signer).");
                                        $answer = "no";
                                } elsif (grep { $signer eq $_ } @{$CONFIG{'keyid'}}) {
+                                       debug("[sigremoval] signed by us ($signer).");
                                        $answer = "no";
                                        $signed_by_me = $signed_by_me > $created ? $signed_by_me : $created;
                                } else {
+                                       debug("[sigremoval] not interested in that sig ($signer).");
                                        $answer = "yes";
                                };
                        };