From 662cb5436d4116813864d05bc152c75b9e7a3a64 Mon Sep 17 00:00:00 2001 From: weasel Date: Sat, 26 Feb 2005 13:06:19 +0000 Subject: [PATCH] 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 --- caff/caff | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); }; -- 2.39.5