1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00
gnupg/kbx
Werner Koch f4da1455c7
kbx: Initial support for an SQLite backend
* kbx/backend-sqlite.c: New.
* kbx/Makefile.am (keyboxd_SOURCES): Add it.
(keyboxd_CFLAGS, keyboxd_LDADD): Add SQLite flags.
* kbx/backend.h (enum database_types): Add DB_TYPE_SQLITE.
(be_sqlite_local_t): New typedef.
(struct db_request_part_s): Add field besqlite.
* kbx/backend-support.c (strdbtype): Add string for DB_TYPE_SQLITE.
(be_generic_release_backend): Support SQLite.
(be_release_request): Ditto.
(be_find_request_part): Ditto.
(is_x509_blob): Rename to ...
(be_is_x509_blob): this and make global.
* kbx/frontend.c (kbxd_set_database): Detect ".db" suffix and use that
for SQLite.
(kbxd_search): Support SQLite
(kbxd_store): Ditto.
(kbxd_delete): Ditto.
* kbx/frontend.h (kbxd_store_modes): Move to ...
* kbx/keyboxd.h (enum kbxd_store_modes): here.
* kbx/keyboxd.c (main): USe pubring.db for now.  This is a temporary
hack.

* kbx/backend-kbx.c (be_kbx_delete): Remove unused var cert.
--

Take care: This is not finished and in particular filling the database
takes quite long.

Signed-off-by: Werner Koch <wk@gnupg.org>
2020-01-02 14:21:12 +01:00
..
backend-cache.c kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
backend-kbx.c kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
backend-sqlite.c kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
backend-support.c kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
backend.h kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
frontend.c kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
frontend.h kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
kbxserver.c kbx: Add new command DELETE. 2019-11-28 11:19:33 +01:00
kbxutil.c gpg: Implement searching keys via keygrip. 2019-01-29 20:10:11 +01:00
keybox-blob.c kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
keybox-defs.h kbx: Add support for 32 byte fingerprints. 2019-03-14 11:26:54 +01:00
keybox-dump.c kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
keybox-errors.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
keybox-file.c kbx: Allow writing using a estream. 2019-08-06 15:01:21 +02:00
keybox-init.c kbx: Fix deadlock in gpgsm on Windows due to a sharing violation. 2019-05-14 19:05:58 +02:00
keybox-openpgp.c kbx: Add first version of STORE command to keyboxd. 2019-10-01 20:09:42 +02:00
keybox-search-desc.h kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
keybox-search.c kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
keybox-update.c Merge branch 'switch-to-gpgk' into master 2019-09-27 15:44:23 +02:00
keybox-util.c kbx: Simplify by removing custom memory functions. 2017-12-22 12:55:46 +01:00
keybox.h kbx: Redefine the UBID which is now the primary fingerprint. 2019-11-28 11:16:13 +01:00
keyboxd-w32info.rc kbx: Add framework for a public key daemon. 2018-09-05 17:00:17 +02:00
keyboxd.c kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
keyboxd.h kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
Makefile.am kbx: Initial support for an SQLite backend 2020-01-02 14:21:12 +01:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
mkerrors all: fix more spelling errors 2018-10-25 16:53:05 -04:00