aboutsummaryrefslogtreecommitdiffstats
path: root/doc/DETAILS
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-07-10 12:42:49 +0000
committerDavid Shaw <[email protected]>2003-07-10 12:42:49 +0000
commit3bc9e79103ff1f049f86bd83efbc7677e6860a03 (patch)
treebdb9610e0345708d26c98e574ccdf73481ee6c8b /doc/DETAILS
parent* Makefile.am: Use W32LIBS where appropriate. (diff)
downloadgnupg-3bc9e79103ff1f049f86bd83efbc7677e6860a03.tar.gz
gnupg-3bc9e79103ff1f049f86bd83efbc7677e6860a03.zip
* DETAILS: Document the --attribute-fd data.
* gpg.sgml: Document --set-notation. Explain why it is not possible to disable permission warnings in the gpg.conf file about the homedir. Add pointer in --ignore-time-conflict to see --ignore-valid from, and vice versa. Warning not to try and parse --list-keys in scripts. Document the signature flags (1-3/L/R/P/N/X), Document expandos %g and %p. Note the default --personal-digest-preferences are "H2".
Diffstat (limited to '')
-rw-r--r--doc/DETAILS26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index ad7c60942..c00914bb7 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -432,6 +432,32 @@ more arguments in future versions.
0x04 = this attribute packet is expired
+Format of the "--attribute-fd" output
+=====================================
+
+When --attribute-fd is set, during key listings (--list-keys,
+--list-secret-keys) GnuPG dumps each attribute packet to the file
+descriptor specified. --attribute-fd is intended for use with
+--status-fd as part of the required information is carried on the
+ATTRIBUTE status tag (see above).
+
+The contents of the attribute data is specified by 2440bis, but for
+convenience, here is the Photo ID format, as it is currently the only
+attribute defined:
+
+ Byte 0-1: The length of the image header. Due to a historical
+ accident (i.e. oops!) back in the NAI PGP days, this is
+ a little-endian number. Currently 16 (0x10 0x00).
+
+ Byte 2: The image header version. Currently 0x01.
+
+ Byte 3: Encoding format. 0x01 == JPEG.
+
+ Byte 4-15: Reserved, and currently unused.
+
+ All other data after this header is raw image (JPEG) data.
+
+
Key generation
==============
Key generation shows progress by printing different characters to