gnupg/sm
Werner Koch 6fcc263c18
keyboxd: Use D-lines instead of a separate thread.
* kbx/kbx-client-util.c (kbx_client_data_new): Add arg 'dlines'.
* g10/call-keyboxd.c (open_context): Set DLINES to true.
* sm/keydb.c (open_context): Ditto.
--

This allows to compile time switch between the D-line and the
fd-passing data communication between gpg/gpgsm and keyboxd. A quick
test with about 3000 OpenPGP keys showed that D-lines are only 10%
slower than the fd-passing based implementation.  Given that the
thread adds extra complexity we go for now with the D-line approach.

Signed-off-by: Werner Koch <wk@gnupg.org>
2020-09-10 12:14:02 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am sm: New options to prepare the use of keyboxd. 2020-09-03 13:49:20 +02:00
call-agent.c Use only one copy of the warn_server_mismatch function. 2020-09-01 20:43:57 +02:00
call-dirmngr.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
certchain.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
certcheck.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
certdump.c sm: Fix a bug in the rfc2253 parser 2020-08-28 09:09:05 +02:00
certlist.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
certreqgen-ui.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
certreqgen.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
decrypt.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
delete.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
encrypt.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
export.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
fingerprint.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c sm: New options to prepare the use of keyboxd. 2020-09-03 13:49:20 +02:00
gpgsm.h sm: New options to prepare the use of keyboxd. 2020-09-03 13:49:20 +02:00
import.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
keydb.c keyboxd: Use D-lines instead of a separate thread. 2020-09-10 12:14:02 +02:00
keydb.h sm: New options to prepare the use of keyboxd. 2020-09-03 13:49:20 +02:00
keylist.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
minip12.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
minip12.h sm: Support import of PKCS#12 encoded ECC private keys. 2020-04-21 21:05:39 +02:00
misc.c sm: Exclude rsaPSS from de-vs compliance mode. 2020-07-03 16:15:29 +02:00
passphrase.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
passphrase.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
qualified.c gpgsm: Replace all assert calls by log_assert. 2020-07-08 14:40:34 +02:00
server.c sm: New options to prepare the use of keyboxd. 2020-09-03 13:49:20 +02:00
sign.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00
t-minip12.c sm: Add support to export ECC private keys. 2020-04-27 19:54:39 +02:00
verify.c sm: Add arg ctrl to keydb_new. 2020-09-03 13:49:20 +02:00