[PATCH] --set-expire
David Shaw
dshaw at jabberwocky.com
Thu May 5 21:09:36 CEST 2005
On Thu, May 05, 2005 at 02:35:00PM +0200, Florian Weimer wrote:
> The following patch adds a --set-expire to GnuPG 1.4.1. It would be
> really nice if it were possible to include it in a future release of
> the 1.4 branch.
>
> Yes, I know, I should use GPGME for non-interactive use, but after
> browsing the GPGME documentation, I came to the conclusion that it
> doesn't support changing data signature expiration, either.
Good idea. I've done something very similar to this for 1.4.2.
Rather than a single --set-expire, there are two different options:
--default-sig-expire and --default-cert-expire, so that the default
may be set for either data or key signatures.
If --ask-sig-expire is set, then --default-sig-expire is used as the
default (hit return to accept the default). If --ask-sig-expire is
not set, then --default-sig-expire is used as the expiration date
directly.
David
More information about the Gnupg-devel
mailing list