1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-16 00:29:50 +02:00
gnupg/g10
Werner Koch 5b59999ce0
gpg: Remove tofu database format "split".
* g10/options.h (struct opt): Remove field tofu_db_format.
* g10/gpg.h (server_control_s): Add fields tofu.batch_update_ref and
tofu.batch_update_started.
* g10/gpg.c (parse_tofu_db_format): Remove.
(main): Make option --tofu-db-format obsolete.
* g10/tofu.c: Major rework.  Remove the pretty complicated and slower
split format and with that all the caching.  Use the dbs struct
directly.  Move global vars for batch update into CTRL.  Change
calling conventions of some function to take CTRL or DBS pointers
instead of  the former low-level database pointer.
--

The split database format might have been nice for use with Unison but
it bypasses the concept of a relational database by doing parts of
this itself and also risking deadlocks.  Working with the Tofu
database for debugging or experiments is also not possible with parts
of the database logic implemented in gpg.

The Tofu support is quite new and we can assume that it is not in real
use now.  Thus we better remove that now so that we do not need to
maintain it for all future.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-08-10 16:55:04 +02:00
..
armor.c gpg: Fix possible out-of-bounds read in is_armored. 2016-07-05 18:49:06 +02:00
build-packet.c gpg: New option --mimemode. 2016-07-13 13:31:12 +02:00
call-agent.c gpg: Remove C-99ism, re-indent, and simplify one function. 2016-06-11 20:42:28 +02:00
call-agent.h g10: Add openpgp_protected flag to agent secret key export functions 2016-06-11 11:14:00 +02:00
call-dirmngr.c common: Remove homedir arg from start_new_{dirmngr,gpg_agent}. 2016-06-07 13:09:00 +02:00
call-dirmngr.h gpg: Add experimental AKL method "wkd" and option --with-wkd-hash. 2016-04-27 08:34:29 +02:00
card-util.c g10: Fix regression of card-edit/fetch. 2016-06-23 12:12:43 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
cipher.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
compress-bz2.c common: Fix iobuf API of filter function for alignment. 2016-01-12 10:32:20 +09:00
compress.c g10: Fix memory leak. 2016-06-30 18:50:16 +02:00
cpr.c gpg: Print a new FAILURE status after most commands. 2015-08-25 15:26:33 +02:00
dearmor.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
decrypt-data.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
decrypt.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
dek.h gpg: Improve API documentation. 2016-02-14 14:46:30 +01:00
delkey.c gpg: Allow unattended deletion of secret keys. 2016-05-10 11:01:42 +02:00
dirmngr-conf.skel dirmngr: Change the Onion keyserver in the conf template. 2015-12-23 20:06:49 +01:00
distsigkey.gpg Add more signing keys. 2014-10-31 14:21:34 +01:00
ecdh.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
encrypt.c gpg: Cleanup of dek_to_passphrase function (part 2). 2016-08-08 20:32:08 +02:00
exec.c gpg: Replace remaining old error code macros by GPG_ERR_. 2015-01-22 12:06:11 +01:00
exec.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
export.c More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
filter.h gpg: Remove PGP-2 related cruft. 2014-11-13 12:01:42 +01:00
free-packet.c gpg: Allow to cache the mbox in a user id struct. 2016-07-01 16:27:43 +02:00
getkey.c More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
gpg-w32info.rc w32: Add manifest to gpg. 2015-02-04 09:15:34 +01:00
gpg.c gpg: Remove tofu database format "split". 2016-08-10 16:55:04 +02:00
gpg.h gpg: Remove tofu database format "split". 2016-08-10 16:55:04 +02:00
gpg.w32-manifest.in w32: Add manifest to gpg. 2015-02-04 09:15:34 +01:00
gpgcompose.c Fix spelling and grammar. 2016-08-03 16:54:01 +02:00
gpgsql.c gpg: Avoid name spaces clash with future sqlite versions. 2016-05-21 20:06:59 +02:00
gpgsql.h gpg: Avoid name spaces clash with future sqlite versions. 2016-05-21 20:06:59 +02:00
gpgv.c gpg: Remove tofu database format "split". 2016-08-10 16:55:04 +02:00
helptext.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
import.c More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
kbnode.c g10: Fix build with disabled kbnode cache. 2016-07-01 12:50:29 +02:00
keydb.c g10: Fix keybox-related memory leaks. 2016-06-30 18:50:16 +02:00
keydb.h gpg: Cleanup of dek_to_passphrase function (part 2). 2016-08-08 20:32:08 +02:00
keyedit.c More cleanup of "allow to". 2016-08-03 16:55:33 +02:00
keygen.c gpg: Make sure a user ID packet has always a terminating Nul in memory. 2016-07-01 16:27:43 +02:00
keyid.c gpg: Do not print a the short keyid if the high word is zero. 2016-07-13 17:19:56 +02:00
keylist.c gpg: Remove tofu database format "split". 2016-08-10 16:55:04 +02:00
keyring.c gpg,gpgsm: Block signals during keyring/keybox update. 2016-08-03 15:31:27 +02:00
keyring.h gpg: Change keydb_search to not return legacy keys. 2015-11-17 14:53:05 +01:00
keyserver-internal.h gpg: Add experimental AKL method "wkd" and option --with-wkd-hash. 2016-04-27 08:34:29 +02:00
keyserver.c g10: Fix memory leak. 2016-07-01 14:16:18 +02:00
main.h gpg: Extend import-option import-export to print PKA or DANE. 2016-07-12 15:13:34 +02:00
mainproc.c gpg: Cleanup of dek_to_passphrase function (part 2). 2016-08-08 20:32:08 +02:00
Makefile.am gpg: Avoid name spaces clash with future sqlite versions. 2016-05-21 20:06:59 +02:00
mdfilter.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
migrate.c Replace use of opt.homedir by accessor functions. 2016-06-07 10:59:46 +02:00
misc.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
openfile.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
OPTIONS See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
options.h gpg: Remove tofu database format "split". 2016-08-10 16:55:04 +02:00
options.skel gpg: Rework gpg-conf.skel 2016-01-22 10:54:10 +01:00
packet.h gpg: Allow to cache the mbox in a user id struct. 2016-07-01 16:27:43 +02:00
parse-packet.c g10: Fix --list-packets. 2016-06-28 15:56:48 +09:00
passphrase.c gpg: Cleanup of dek_to_passphrase function (part 2). 2016-08-08 20:32:08 +02:00
photoid.c gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
photoid.h gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
pkclist.c g10: Fix building without trust models. 2016-07-15 12:35:08 +02:00
pkglue.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
pkglue.h gpg: Use only OpenPGP public key algo ids and add the EdDSA algo id. 2014-01-30 18:48:37 +01:00
plaintext.c gpg: New option --mimemode. 2016-07-13 13:31:12 +02:00
progress.c gpg: Extend the PROGRESS line to give the used unit. 2016-08-09 16:28:39 +02:00
pubkey-enc.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
pubring.asc See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch 2000-07-31 08:04:16 +00:00
revoke.c g10: Implement gpg --quick-revuid 2016-06-30 11:45:13 +02:00
rmd160.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
rmd160.h Add missing header file. 2008-12-12 08:54:50 +00:00
seckey-cert.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
server.c gpg: New options --recipient-file and --hidden-recipient-file. 2016-07-06 15:35:19 +02:00
seskey.c gpg: Do not abort on certain invalid packets. 2016-06-02 15:57:59 +02:00
sig-check.c g10: Fix checking key for signature validation. 2016-08-04 16:21:39 +09:00
sign.c gpg: Cleanup of dek_to_passphrase function (part 2). 2016-08-08 20:32:08 +02:00
skclist.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
t-keydb-get-keyblock.c g10: Fix memory leaks. 2016-06-28 18:21:50 +02:00
t-keydb-get-keyblock.gpg gpg: Correctly handle keyblocks followed by legacy keys. 2015-11-17 14:53:03 +01:00
t-keydb-keyring.kbx g10: Add test for keydb as well as new testing infrastructure. 2015-09-02 15:08:57 +02:00
t-keydb.c g10: Fix memory leaks. 2016-06-28 18:21:50 +02:00
t-rmd160.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
t-stutter-data.asc gpg: Add a new test. 2016-03-08 14:08:49 +01:00
t-stutter.c Fix trivial memory leaks in tests. 2016-07-01 09:47:48 +02:00
tdbdump.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
tdbio.c g10: Fix opening of trust database. 2016-08-10 16:50:29 +02:00
tdbio.h gpg: Replace -1 by GPG_ERR_NOT_FOUND in tdbio.c 2015-06-04 18:08:26 +02:00
test-stubs.c gpg: Remove tofu database format "split". 2016-08-10 16:55:04 +02:00
test.c tests: Silence output of some tests. 2016-05-03 11:26:06 +02:00
textfilter.c common: Fix memory leak. 2016-06-30 18:50:16 +02:00
tofu.c gpg: Remove tofu database format "split". 2016-08-10 16:55:04 +02:00
tofu.h gpg: Remove tofu database format "split". 2016-08-10 16:55:04 +02:00
trust.c gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
trustdb.c g10: Fix memory leak. 2016-07-01 12:48:57 +02:00
trustdb.h gpg: Pass CTRL object down to the trust functions 2016-05-21 11:41:49 +02:00
verify.c gpg: Remove all assert.h and s/assert/log_assert/. 2016-04-29 11:05:24 +02:00
zlib-riscos.h include: Remove this directory. 2014-01-29 17:45:05 +01:00