From: weasel Date: Sat, 26 Feb 2005 13:06:19 +0000 (+0000) Subject: gpg changes its interface every week or so - now --sign-key does no longer fall back... X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=662cb5436d4116813864d05bc152c75b9e7a3a64;p=pgp-tools.git gpg changes its interface every week or so - now --sign-key does no longer fall back to --edit git-svn-id: svn://svn.debian.org/pgp-tools/trunk@34 b513b33f-fedd-0310-b452-c3deb5f4c849 --- diff --git a/caff/caff b/caff/caff index 084b41c..6e9b2bb 100755 --- 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); };