Question about use of --cipher-algo AES & --openpgp
Werner Koch
wk at gnupg.org
Wed Nov 15 09:29:42 CET 2006
Hi,
While you are at it, you might want to add support for the keybox
foramt which is currently used for X.509 but will soon also store
OpenPGP keys:
The KeyBox uses an augmented OpenPGP/X.509 key format. This makes
random access to a keyblock/Certificate easier and also gives the
opportunity to store additional information (e.g. the fingerprint)
along with the key. All integers are stored in network byte order,
offsets are counted from the beginning of the Blob.
The first record of a plain KBX file has a special format:
u32 length of the first record
byte Blob type (1)
byte version number (1)
byte reserved
byte reserved
u32 magic 'KBXf'
u32 reserved
u32 file_created_at
u32 last_maintenance_run
u32 reserved
u32 reserved
$ hd ~/.gnupg/pubring.kbx | head -2
00000000 00 00 00 20 01 01 00 00 4b 42 58 66 00 00 00 00 |... ....KBXf....|
00000010 40 d6 8d 77 42 79 db 24 00 00 00 00 00 00 00 00 |@Ö.wByÛ$........|
The description should be something like
GnuPG keybox file version 1
Salam-Shalom,
Werner
More information about the Gnupg-users
mailing list