setting expiration dates

Joseph Oreste Bruni jbruni at
Fri Jun 1 22:01:34 CEST 2007

On Jun 1, 2007, at 11:31 AM, David Shaw wrote:

> On Fri, Jun 01, 2007 at 11:01:02AM -0700, Joseph Oreste Bruni wrote:
>> When creating a new subkey, I'm given the option of setting an  
>> expiration.
>> The prompt allows me to specify a duration for the new subkey.
>> Please specify how long the key should be valid.
>>          0 = key does not expire
>>       <n>  = key expires in n days
>>       <n>w = key expires in n weeks
>>       <n>m = key expires in n months
>>       <n>y = key expires in n years
>> Key is valid for? (0)
>> Is it possible to set an explicit date (e.g. 31 Dec) rather than a
>> duration? I suppose I could compute the number of days, but that's
>> annoying.
> Yes, it is possible.  At the prompt, enter the date in YYYY-MM-DD
> format.
> David

Awesome. Would you consider updating the prompt reflecting that  

Thanks for the tip.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2508 bytes
Desc: not available
Url : /pipermail/attachments/20070601/f331ff29/attachment-0001.bin 

More information about the Gnupg-users mailing list