Be more verbose on unexpected key ID (Closes: #645792).
authorthijs <thijs@b513b33f-fedd-0310-b452-c3deb5f4c849>
Tue, 1 Nov 2011 18:54:31 +0000 (18:54 +0000)
committerthijs <thijs@b513b33f-fedd-0310-b452-c3deb5f4c849>
Tue, 1 Nov 2011 18:54:31 +0000 (18:54 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@484 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/caff
debian/changelog

index f9bb72d90404f88805d17e13328ec408c3f892fa..6e987a4421878a76a7d7413a48006ed872082b26 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -375,7 +375,7 @@ sub trace2($) {
 
 
 sub generate_config() {
-       notice("Error: \$LOGNAME is not set.\n") unless defined $ENV{'LOGNAME'};
+       notice("Error: \$LOGNAME is not set.") unless defined $ENV{'LOGNAME'};
        my $gecos = defined $ENV{'LOGNAME'} ? (getpwnam($ENV{LOGNAME}))[6] : undef;
        my $email;
        my @keys;
@@ -1185,7 +1185,7 @@ if ($CONFIG{'no-download'}) {
                                $speced_key = $spec if $local_keyids{$spec};
                        };
                        unless ($speced_key) {
-                           notice ("Imported unexpected key; got: $imported_key\n");
+                           notice ("Imported unexpected key; got: $imported_key\nAre you trying to work on a subkey?");
                            next;
                        };
                        debug ("Imported $imported_key for $speced_key");
index beeef556f29f183bb64301cfe56943618af17dc4..f28ff883f15a18b32a3972f47eab2ef3b0a06da6 100644 (file)
@@ -2,6 +2,7 @@ signing-party (1.1.4-1) UNRELEASED; urgency=low
 
   [ Thijs Kinkhorst ]
   * Correct path of ~/.caffrc in informational messages (Closes: #582603).
+  * Be more verbose on unexpected key ID (Closes: #645792).
 
   [ Franck Joncourt ]
   * Debian package:
@@ -40,7 +41,7 @@ signing-party (1.1.4-1) UNRELEASED; urgency=low
     + Create the mail files in ~/.caff/keys even if mail is not sent
       (closes: #590666).
 
- -- Franck Joncourt <franck@debian.org>  Mon, 22 Nov 2010 21:44:10 +0100
+ -- Thijs Kinkhorst <thijs@debian.org>  Tue, 01 Nov 2011 19:54:10 +0100
 
 signing-party (1.1.3-1) unstable; urgency=low