]> git.sthu.org Git - pgp-tools.git/commitdiff
gpg changes its interface every week or so - now --sign-key does no longer fall back...
authorweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Sat, 26 Feb 2005 13:06:19 +0000 (13:06 +0000)
committerweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Sat, 26 Feb 2005 13:06:19 +0000 (13:06 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@34 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/caff

index 084b41c0bfc419cfe0569f66fc5c7e30fdde5703..6e9b2bb1fb1b5d2fb8018a55f06fba8063204cd0 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -554,14 +554,15 @@ if ($CONFIG{'no-download'}) {
 # sign keys
 ###########
 unless ($CONFIG{'no-sign'}) {
-       info("Sign the following keys according to your policy...");
+       info("Sign the following keys according to your policy..., then exit gpg with 'save'");
        for my $keyid (@keyids_ok) {
                my @command;
                push @command, $CONFIG{'gpg-sign'};
                push @command, '--local-user', $USER if (defined $USER);
                push @command, "--homedir=$GNUPGHOME";
                push @command, '--secret-keyring', $CONFIG{'secret-keyring'};
-               push @command, '--sign-key', $keyid;
+               push @command, '--edit', $keyid;
+               push @command, 'sign';
                print join(' ', @command),"\n";
                system (@command);
        };