Expiration date of key signature

Peter Lebbing peter at digitalbrains.com
Wed Feb 10 18:41:19 CET 2016


On 10/02/16 16:52, Muri Nicanor wrote:
> if i want to sign a gpg-key, how do i set an expiration date for that
> signature?

>From the man page of GnuPG 1.4 on Debian Jessie:
>        --ask-cert-expire
> 
>        --no-ask-cert-expire
>               When making a key signature, prompt for an  expiration  time.  If
>               this  option  is  not  specified,  the  expiration  time  set via
>               --default-cert-expire is used. --no-ask-cert-expire disables this
>               option.
> 
>        --default-cert-expire
>               The  default expiration time to use for key signature expiration.
>               Valid values are "0" for no expiration, a number followed by  the
>               letter  d  (for  days),  w (for weeks), m (for months), or y (for
>               years) (for example "2m" for two months, or "5y" for five years),
>               or an absolute date in the form YYYY-MM-DD. Defaults to "0".

I think this is what you need.

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list