diff options
author | Werner Koch <[email protected]> | 2020-09-10 10:14:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-09-10 10:14:02 +0000 |
commit | 6fcc263c182fc49d9ba2d1bd7649b4af1e9f3e3a (patch) | |
tree | 5e00f9750f4a451dc5b339134497f1c92880988f /kbx/keybox-defs.h | |
parent | keyboxd: Add options --openpgp and --x509 to SEARCH. (diff) | |
download | gnupg-6fcc263c182fc49d9ba2d1bd7649b4af1e9f3e3a.tar.gz gnupg-6fcc263c182fc49d9ba2d1bd7649b4af1e9f3e3a.zip |
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 <[email protected]>
Diffstat (limited to 'kbx/keybox-defs.h')
0 files changed, 0 insertions, 0 deletions