X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=caff%2Fcaff;h=e4458a326d800074c4bbca55db17d633e98b93fd;hb=51798854c512dd3ae2ef6ae73eb51119533b8dce;hp=8f728482167ddf8da436b38fc2adb4abc0ec84b3;hpb=332630c824113b69c3d23bdb40a102597a5c16b8;p=pgp-tools.git diff --git a/caff/caff b/caff/caff index 8f72848..e4458a3 100755 --- a/caff/caff +++ b/caff/caff @@ -175,6 +175,11 @@ Default: B<0>. If true, then skip the signing step. Default: B<0>. +=item B [boolean] + +If true, then pause before continuing to the signing step. +This is useful for offline signing. Default: B<0>. + =item B [seconds] Don't export UIDs by default, on which your latest signature is older @@ -818,6 +823,10 @@ unless (@keyids_ok) { ########### # sign keys ########### +if ($CONFIG{'ask-sign'} && ! $CONFIG{'no-sign'}) { + $CONFIG{'no-sign'} = ! ask("Continue with signing?", 1); +} + unless ($CONFIG{'no-sign'}) { info("Sign the following keys according to your policy, then exit gpg with 'save' after signing each key"); for my $keyid (@keyids_ok) {