1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-09-24 15:31:41 +02:00
gnupg/kbx
Werner Koch a986383424 gpg: First working support for keyboxes.
* g10/getkey.c (get_pubkey_fast): Improve the assertion.
* kbx/keybox.h: Include iobuf.h.
* kbx/keybox-blob.c (keyboxblob_uid): Add field OFF.
(KEYBOX_WITH_OPENPGP): Remove use of this macro.
(pgp_create_key_part_single): New.
(pgp_temp_store_kid): Change to use the keybox-openpgp parser.
(pgp_create_key_part): Ditto.
(pgp_create_uid_part): Ditto.
(pgp_create_sig_part): Ditto.
(pgp_create_blob_keyblock): Ditto.
(_keybox_create_openpgp_blob): Ditto.
* kbx/keybox-search.c (keybox_get_keyblock): New.
* kbx/keybox-update.c (keybox_insert_keyblock): New.
* g10/keydb.c (parse_keyblock_image):
(keydb_get_keyblock): Support keybox.
(build_keyblock_image): New.
(keydb_insert_keyblock): Support keybox.

* kbx/kbxutil.c (import_openpgp, main): Add option --dry-run and print
a kbx file to stdout.

* kbx/keybox-file.c (_keybox_read_blob2): Allow keyblocks up to 10^6
bytes.
--

Import and key listing does now work with the keybox format.  It is
still quite slow and signature caching is completely missing.

Increasing the maximum allowed length for a keyblock was required due
to a 700k keyblock which inhibited kbxutil to list the file.
kbxutil's option name --import-openpgp is not quite appropriate
because it only creates KBX blobs from OpenPGP data.
2012-12-28 14:05:27 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
keybox-blob.c gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
keybox-defs.h gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
keybox-dump.c kbxutil: Print algo number and fold similar lines. 2012-12-28 13:45:41 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
keybox-init.c gpg: First patches to support a keybox storage backend. 2012-12-27 15:04:42 +01:00
keybox-openpgp.c kbxutil: Print algo number and fold similar lines. 2012-12-28 13:45:41 +01:00
keybox-search-desc.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-search.c gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
keybox-update.c gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
keybox-util.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox.h gpg: First working support for keyboxes. 2012-12-28 14:05:27 +01:00
Makefile.am Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00