summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-08-11 10:08:08 +0200
committerWerner Koch <wk@gnupg.org>2008-08-11 10:08:08 +0200
commitac5c3fab300b18fa7013483e243e1becf699b69f (patch)
treea402aff3fa64f5b8494b49f3bace7e1180ca33df /doc
parentFix APDU buffer problem under MAC OS. (diff)
downloadgnupg2-ac5c3fab300b18fa7013483e243e1becf699b69f.tar.xz
gnupg2-ac5c3fab300b18fa7013483e243e1becf699b69f.zip
Cehck for expire date overflows.
Diffstat (limited to 'doc')
-rw-r--r--doc/DETAILS14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index 1dd9f5569..a74c0e907 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -839,10 +839,16 @@ The format of this file is as follows:
The 3 parts of a key. Remember to use UTF-8 here.
If you don't give any of them, no user ID is created.
Expire-Date: <iso-date>|(<number>[d|w|m|y])
- Set the expiration date for the key (and the subkey). It
- may either be entered in ISO date format (2000-08-15) or as
- number of days, weeks, month or years. Without a letter days
- are assumed.
+ Set the expiration date for the key (and the subkey). It may
+ either be entered in ISO date format (2000-08-15) or as number
+ of days, weeks, month or years. The special notation
+ "seconds=N" is also allowed to directly give an Epoch
+ value. Without a letter days are assumed. Note that there is
+ no check done on the overflow of the type used by OpenPGP for
+ timestamps. Thus you better make sure that the given value
+ make sense. Although OpenPGP works with time intervals, GnuPG
+ uses an absolute value internally and thus the last year we
+ can represent is 2105.
Creation-Date: <iso-date>
Set the creation date of the key as stored in the key
information and which is also part of the fingerprint