1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-07 23:27:48 +02:00
gnupg/kbx
Werner Koch 91e61d5253 gpg: First patches to support a keybox storage backend.
* kbx/keybox-defs.h (_keybox_write_header_blob): Move prototype to ..
* kbx/keybox.h: here.
* kbx/keybox-init.c (keybox_lock): Add dummy function
* g10/keydb.c: Include keybox.h.
(KeydbResourceType): Add KEYDB_RESOURCE_TYPE_KEYBOX.
(struct resource_item): Add field kb.
(maybe_create_keyring_or_box): Add error descriptions to diagnostics.
Add arg IS_BOX.  Write a header for a new keybox file.
(keydb_add_resource): No more need for the force flag.  Rename the
local variable "force" to "create".  Add URL scheme "gnupg-kbx".  Add
magic test to detect a keybox file.  Add basic support for keybox.
(keydb_new, keydb_get_resource_name, keydb_delete_keyblock)
(keydb_locate_writable, keydb_search_reset, keydb_search2): Add
support for keybox.
(lock_all, unlock_all): Ditto.
* g10/Makefile.am (needed_libs): Add libkeybox.a.
(gpg2_LDADD, gpgv2_LDADD): Add KSBA_LIBS as a workaround.

* g10/keydb.h (KEYDB_RESOURCE_FLAG_PRIMARY)
KEYDB_RESOURCE_FLAG_DEFAULT, KEYDB_RESOURCE_FLAG_READONLY): New.
* g10/gpg.c, g10/gpgv.c (main): Use new constants.
--

I did most of these changes back in 2011 and only cleaned them up
now.  More to follow soon.
2012-12-27 15:04:42 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
keybox-blob.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-defs.h gpg: First patches to support a keybox storage backend. 2012-12-27 15:04:42 +01:00
keybox-dump.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +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 Fixed set but unused variable bugs 2011-08-10 14:11:30 +02:00
keybox-search-desc.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-search.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-update.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
keybox-util.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox.h gpg: First patches to support a keybox storage backend. 2012-12-27 15:04:42 +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