> > Does there exist an option which would give the expiration date of a
>  key, if such date exists ? 
> 
> See the file DETAILS in the doc/ directory.  Something like:
> 
>   gpg --with-colons --fixed-list-mode --list-keys [EMAIL PROTECTED] | cut -d:
>  -f7
> 
> should do what you want.
> 
> The number is the expiration date (if any) expressed as the number of
> seconds since 1/1/1970.
> 
Thanks, it is a command I can rely on ! And it gives an epoch time which can be 
easily processed. 
For those interested, I just added a -- grep -E "^pub:" -- to get only one 
date. 

Eric LANDES


             
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to