1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00
gnupg/sm
Werner Koch 046f419f80
sm: New options to prepare the use of keyboxd.
* sm/Makefile.am (AM_CFLAGS): Add npth flags.
(common_libs): Use npth version of the lib.
(gpgsm_LDADD): Add npth libs.
* sm/gpgsm.c (oUseKeyboxd, oKeyboxdProgram): New.
(opts): New options --use-keyboxd and --keyboxd-program.
(main): Set them.
(gpgsm_deinit_default_ctrl): New.
(main): Call it.
* sm/server.c (gpgsm_server): Ditto.
* sm/gpgsm.h (opt): Add fields use_keyboxd and keyboxd_program.
(keydb_local_s): New type.
(struct server_control_s): Add field keybd_local.
* sm/keydb.c: Include assuan.h, asshelp.h, and kbx-client-util.h.
(struct keydb_local_s): New.
(struct keydb_handle): Add fields for keyboxd use.
(gpgsm_keydb_deinit_session_data): New.
(warn_version_mismatch): New.
(create_new_context): New.
(open_context): New.
(keydb_new): Implement keyboxd mode.
(keydb_release): Ditto.
(keydb_get_resource_name): Ditto.

* sm/keydb.c: Add stub support for all other functions.

Signed-off-by: Werner Koch <wk@gnupg.org>
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
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01: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 sm: New options to prepare the use of keyboxd. 2020-09-03 13:49:20 +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
Makefile.am sm: New options to prepare the use of keyboxd. 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