summaryrefslogtreecommitdiffstats
path: root/doc/DETAILS
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-11-13 20:41:41 +0100
committerWerner Koch <wk@gnupg.org>1998-11-13 20:41:41 +0100
commit17ea875ab0abd267eb720f8c82ac668e90cc3669 (patch)
treefc75d775f3e942991d46bee3ed596ffb4523efd6 /doc/DETAILS
parentNot yet completed changes to support PPC (diff)
downloadgnupg2-17ea875ab0abd267eb720f8c82ac668e90cc3669.tar.xz
gnupg2-17ea875ab0abd267eb720f8c82ac668e90cc3669.zip
See ChangeLog ;-). Key validation should now be faster
Diffstat (limited to 'doc/DETAILS')
-rw-r--r--doc/DETAILS15
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index 0ac48bdc1..e3c49948e 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -14,6 +14,8 @@ ssb::1536:20:5CE086B5B5A18FF4:1998-07-07:0:::
fpr = fingerprint: (fingerprint is in field 10)
2. Field: A letter describing the calculated trust, see doc/FAQ
+ This is a single letter, but be prepared that additional
+ information may follow in some future versions.
(not used for secret keys)
3. Field: length of key in bits.
4. Field: Algorithm: 1 = RSA
@@ -30,6 +32,8 @@ ssb::1536:20:5CE086B5B5A18FF4:1998-07-07:0:::
because keyids may not be unique - a program may use this
number to access keys later.
9. Field: Ownertrust (primary public keys only)
+ This is a single letter, but be prepared that additional
+ information may follow in some future versions.
10. Field: User-ID. The value is quoted like a C string to avoid
control characters (the colon is quoted "\x3a").
@@ -83,7 +87,11 @@ Record type 1:
1 byte value 2
3 bytes 'gpg' magic value
1 byte Version of the TrustDB
- 3 byte reserved
+ 1 byte marginals needed
+ 1 byte completes needed
+ 1 byte max_cert_depth
+ The three items are used to check whether the cached
+ validity value from the dir record can be used.
1 u32 locked flags
1 u32 timestamp of trustdb creation
1 u32 timestamp of last modification
@@ -110,8 +118,9 @@ Record type 2: (directory record)
1 u32 List of uid-records
1 u32 cache record
1 byte ownertrust
- 1 byte sigflag
- 20 byte reserved
+ 1 byte dirflag
+ 1 byte validity
+ 19 byte reserved
Record type 3: (key record)