1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-07-05 03:09:21 +02:00
gnupg/common
Marcus Brinkmann 203f54a634 2009-09-23 Marcus Brinkmann <marcus@g10code.de>
* configure.ac (NEED_LIBASSUAN_API, NEED_LIBASSUAN_VERSION):
	Update to new API (2, 1.1.0).

agent/
2009-09-23  Marcus Brinkmann  <marcus@g10code.de>

	* gpg-agent.c (parse_rereadable_options): Don't set global assuan
	log file (there ain't one anymore).
	(main): Update to new API.
	(check_own_socket_pid_cb): Return gpg_error_t instead of int.
	(check_own_socket_thread, check_for_running_agent): Create assuan
	context before connecting to server.
	* command.c: Include "scdaemon.h" before <assuan.h> because of
	GPG_ERR_SOURCE_DEFAULT check.
	(write_and_clear_outbuf): Use gpg_error_t instead of
	assuan_error_t.
	(cmd_geteventcounter, cmd_istrusted, cmd_listtrusted)
	(cmd_marktrusted, cmd_havekey, cmd_sigkey, cmd_setkeydesc)
	(cmd_sethash, cmd_pksign, cmd_pkdecrypt, cmd_genkey, cmd_readkey)
	(cmd_keyinfo, cmd_get_passphrase, cmd_clear_passphrase)
	(cmd_get_confirmation, cmd_learn, cmd_passwd)
	(cmd_preset_passphrase, cmd_scd, cmd_getval, cmd_putval)
	(cmd_updatestartuptty, cmd_killagent, cmd_reloadagent)
	(cmd_getinfo, option_handler): Return gpg_error_t instead of int.
	(post_cmd_notify): Change type of ERR to gpg_error_t from int.
	(io_monitor): Add hook argument.  Use symbols for constants.
	(register_commands): Change return type of HANDLER to gpg_error_t.
	(start_command_handler): Allocate assuan context before starting
	server.
	* call-pinentry.c: Include "scdaemon.h" before <assuan.h> because
	of GPG_ERR_SOURCE_DEFAULT check.
	(unlock_pinentry): Call assuan_release instead of
	assuan_disconnect.
	(getinfo_pid_cb, getpin_cb): Return gpg_error_t instead of int.
	(start_pinentry): Allocate assuan context before connecting to
	server.
	* call-scd.c (membuf_data_cb, learn_status_cb, get_serialno_cb)
	(membuf_data_cb, inq_needpin, card_getattr_cb, pass_status_thru)
	(pass_data_thru): Change return type to gpg_error_t.
	(start_scd): Allocate assuan context before connecting to server.

common/
2009-09-23  Marcus Brinkmann  <marcus@g10code.de>

	* asshelp.c (start_new_gpg_agent): Allocate assuan context before
	starting server.

g10/
2009-09-23  Marcus Brinkmann  <marcus@g10code.de>

	* call-agent.c: Include "scdaemon.h" before <assuan.h> because of
	GPG_ERR_SOURCE_DEFAULT check.
	(learn_status_cb, dummy_data_cb, get_serialno_cb, default_inq_cb)
	(learn_status_cb, inq_writecert_parms, inq_writekey_parms)
	(scd_genkey_cb, membuf_data_cb): Return gpg_error_t instead of
	int.
	* gpg.c: Include "scdaemon.h" before <assuan.h> because of
	GPG_ERR_SOURCE_DEFAULT check.
	(main): Update to new Assuan API.
	* server.c: Include "scdaemon.h" before <assuan.h> because of
	GPG_ERR_SOURCE_DEFAULT check.
	(option_handler, cmd_recipient, cmd_signer, cmd_encrypt)
	(cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export)
	(cmd_delkeys, cmd_message, do_listkeys, cmd_listkeys)
	(cmd_listsecretkeys, cmd_genkey, cmd_getinfo): Return gpg_error_t
	instead of int.
	(register_commands): Allocate assuan context before starting
	server.
	(gpg_server): Allocate assuan_context before starting server.

scd/
2009-09-23  Marcus Brinkmann  <marcus@g10code.de>

	* command.c: Include "scdaemon.h" before <assuan.h> because of
	GPG_ERR_SOURCE_DEFAULT check.
	(option_handler, open_card, cmd_serialno, cmd_lean, cmd_readcert)
	(cmd_readkey, cmd_setdata, cmd_pksign, cmd_pkauth, cmd_pkdecrypt)
	(cmd_getattr, cmd_setattr, cmd_writecert, cmd_writekey)
	(cmd_genkey, cmd_random, cmd_passwd, cmd_checkpin, cmd_lock)
	(cmd_unlock, cmd_getinfo, cmd_restart, cmd_disconnect, cmd_apdu)
	(cmd_killscd): Return gpg_error_t instead of int.
	(scd_command_handler): Allocate assuan context before starting server.
	* scdaemon.c (main): Update to new Assuan API.

sm/
2009-09-23  Marcus Brinkmann  <marcus@g10code.de>

	* gpgsm.c (main): Update to new assuan API.
	* server.c: Include "gpgsm.h" before <assuan.h> due to check for
	GPG_ERR_SOURCE_DEFAULT and assuan.h now including gpg-error.h.
	(option_handler, cmd_recipient, cmd_signer, cmd_encrypt)
	(cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export)
	(cmd_delkeys, cmd_message, cmd_listkeys, cmd_dumpkeys)
	(cmd_listsecretkeys, cmd_dumpsecretkeys, cmd_genkey)
	(cmd_getauditlog, cmd_getinfo): Return gpg_error_t instead of int.
	(register_commands): Same for member HANDLER in table.
	(gpgsm_server): Allocate assuan context before starting server.
	* sm/call-dirmngr.c:
	* call-dirmngr.c (prepare_dirmngr): Check for CTX and error before
	setting LDAPSERVER.
	(start_dirmngr_ext): Allocate assuan context before starting
	server.
	(inq_certificate, isvalid_status_cb, lookup_cb, lookup_status_cb)
	(run_command_cb, run_command_inq_cb, run_command_status_cb):
	Return gpg_error_t instead of int.

tools/
2009-09-23  Marcus Brinkmann  <marcus@g10code.de>

	* gpg-connect-agent.c (getinfo_pid_cb, read_and_print_response)
	(main): Update to new Assuan API.


Conflicts:

	ChangeLog
	agent/ChangeLog
	agent/command.c
	common/ChangeLog
	g10/ChangeLog
	scd/ChangeLog
	sm/ChangeLog
	sm/gpgsm.c
	tools/ChangeLog

Somehow this slipped through.  Really commit this time.

2009-09-23  Marcus Brinkmann  <marcus@g10code.de>

	* gpg-connect-agent.c (getinfo_pid_cb, read_and_print_response)
	(main): Update to new Assuan API.


2009-10-16  Marcus Brinkmann  <marcus@g10code.com>

	* configure.ac: Check for libassuan instead of libassuan-pth.

common/
2009-10-16  Marcus Brinkmann  <marcus@g10code.com>

	* Makefile.am (libcommon_a_CFLAGS): Use LIBASSUAN_CFLAGS instead
	of LIBASSUAN_PTH_CFLAGS.

scd/
2009-10-16  Marcus Brinkmann  <marcus@g10code.com>

	* AM_CFLAGS, scdaemon_LDADD: Use libassuan instead of libassuan-pth.
	* scdaemon.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
	(main): Call assuan_set_system_hooks and assuan_sock_init.

g13/
2009-10-16  Marcus Brinkmann  <marcus@g10code.com>

	* AM_CFLAGS, g13_LDADD: Use libassuan instead of libassuan-pth.
	* g13.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
	(main): Call assuan_set_system_hooks.

agent/
2009-10-16  Marcus Brinkmann  <marcus@g10code.com>

	* gpg_agent_CFLAGS, gpg_agent_LDADD: Use libassuan instead of
	libassuan-pth.
	* gpg-agent.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
	(main): Call assuan_set_system_hooks and assuan_sock_init.
	Fix invocation of assuan_socket_connect.


Conflicts:

	ChangeLog
	agent/ChangeLog
	common/ChangeLog
	configure.ac
	g13/ChangeLog
	g13/Makefile.am
	g13/g13.c
	scd/ChangeLog

agent/
2009-11-02  Marcus Brinkmann  <marcus@g10code.de>

	* command.c (reset_notify): Take LINE arg and return error.
	(register_commands): Use assuan_handler_t type.

common/
2009-11-02  Marcus Brinkmann  <marcus@g10code.de>

	* get-passphrase.c (default_inq_cb, membuf_data_cb): Change return
	type to gpg_error_t.

g10/
2009-11-02  Marcus Brinkmann  <marcus@g10code.de>

	* server.c (reset_notify, input_notify, output_notify): Update to
	new assuan interface.
	(register_commands): Use assuan_handler_t.

scd/
2009-11-02  Marcus Brinkmann  <marcus@g10code.de>

	* command.c (reset_notify): Take LINE arg and return error.
	(register_commands): Use assuan_handler_t type.

sm/
2009-11-02  Marcus Brinkmann  <marcus@g10code.de>

	* server.c (reset_notify, input_notify, output_notify): Update to
	new assuan interface.
	(register_commands): Use assuan_handler_t.
	* call-agent.c (membuf_data_cb, default_inq_cb)
	(inq_ciphertext_cb, scd_serialno_status_cb)
	(scd_keypairinfo_status_cb, istrusted_status_cb)
	(learn_status_cb, learn_cb, keyinfo_status_cb): Return gpg_error_t.


Conflicts:

	agent/ChangeLog
	common/ChangeLog
	g10/ChangeLog
	g10/server.c
	g13/ChangeLog
	g13/server.c
	scd/ChangeLog
	sm/ChangeLog

Adjust for assuan_register_command change.


Conflicts:

	agent/ChangeLog
	g10/ChangeLog
	g13/ChangeLog
	g13/server.c
	scd/ChangeLog
	sm/ChangeLog

Add hack for the HELP command.


Conflicts:

	tools/ChangeLog

Add help strings for all commands.


Conflicts:

	agent/ChangeLog
	agent/command.c

Add help strings for all commands.


Conflicts:

	scd/ChangeLog

Add help strings for all commands


Conflicts:

	sm/ChangeLog

agent/
2009-11-05  Marcus Brinkmann  <marcus@g10code.de>

	* call-pinentry.c (start_pinentry): Call assuan_pipe_connect, not
	assuan_pipe_connect_ext.
	* command.c (start_command_handler): Change
	assuan_init_socket_server_ext into assuan_init_socket_server.
	* call-scd.c (start_scd): Update use of assuan_socket_connect and
	assuan_pipe_connect.
	* gpg-agent.c (check_own_socket_thread, check_for_running_agent):
	Update use of assuan_socket_connect.

common/
2009-11-05  Marcus Brinkmann  <marcus@g10code.de>

	* asshelp.c (start_new_gpg_agent): Update use of
	assuan_socket_connect and assuan_pipe_connect.

scd/
2009-11-05  Marcus Brinkmann  <marcus@g10code.de>

	* command.c (scd_command_handler): Call assuan_init_socket_server,
	not assuan_init_socket_server_ext.

sm/
2009-11-05  Marcus Brinkmann  <marcus@g10code.de>

	* call-dirmngr.c (start_dirmngr_ext): Update use of
	assuan_pipe_connect and assuan_socket_connect.

tools/
2009-11-05  Marcus Brinkmann  <marcus@g10code.de>

	* gpg-connect-agent.c (start_agent): Update use of
	assuan_socket_connect and assuan_pipe_connect.


Conflicts:

	agent/ChangeLog
	common/ChangeLog
	g13/ChangeLog
	g13/call-gpg.c
	scd/ChangeLog
	sm/ChangeLog
	tools/ChangeLog

agent/
2009-11-25  Marcus Brinkmann  <marcus@g10code.de>

	* command.c (start_command_handler): Use assuan_fd_t and
	assuan_fdopen on fds.

scd/
2009-11-25  Marcus Brinkmann  <marcus@g10code.de>

	* command.c (scd_command_handler): Use assuan_fd_t and
	assuan_fdopen on fds.

sm/
2009-11-25  Marcus Brinkmann  <marcus@g10code.de>

	* server.c (gpgsm_server): Use assuan_fd_t and assuan_fdopen on
	fds.

g10/
2009-11-25  Marcus Brinkmann  <marcus@g10code.de>

	* server.c (gpg_server): Use assuan_fd_t and assuan_fdopen on fds.


Conflicts:

	agent/ChangeLog
	g10/ChangeLog
	g13/server.c
	scd/ChangeLog
	sm/ChangeLog

2009-11-27  Marcus Brinkmann  <marcus@g10code.de>

	* command.c (start_command_handler): Do not call
	assuan_set_log_stream anymore.
	* gpg-agent.c (main): But call assuan_set_assuan_log_stream here.


Conflicts:

	agent/ChangeLog
	agent/command.c

2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

	* asshelp.c (start_new_gpg_agent) [HAVE_W32_SYSTEM]: Add missing
	argument in assuan_socket_connect invocation.
	* iobuf.c (iobuf_open_fd_or_name): Fix type of FD in function
	declaration.


Conflicts:

	common/ChangeLog
	common/iobuf.c

common/
2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

	* asshelp.c (start_new_gpg_agent): Convert posix FD to assuan FD.

agent/
2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

	* call-pinentry.c (start_pinentry): Convert posix fd to assuan fd.
	* call-scd.c (start_scd): Likewise.

sm/
2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

	* call-dirmngr.c (start_dirmngr_ext): Convert posix fd to assuan fd.

tools/
2009-12-08  Marcus Brinkmann  <marcus@g10code.de>

	* gpg-connect-agent.c (main): Convert posix fd to assuan fd.


Conflicts:

	agent/ChangeLog
	common/ChangeLog
	g13/call-gpg.c
	sm/ChangeLog
	tools/ChangeLog
2010-02-12 15:15:34 +00:00
..
asshelp.c 2009-09-23 Marcus Brinkmann <marcus@g10code.de> 2010-02-12 15:15:34 +00:00
asshelp.h Reworked passing of envars to Pinentry. 2009-07-07 10:02:41 +00:00
audit.c Backported some stuff from trunk 2009-12-03 19:39:39 +00:00
audit.h Backported some stuff from trunk 2009-12-03 19:39:39 +00:00
b64dec.c Add Base64 decoder. Not yet used but complements out encoder. 2008-06-09 14:49:28 +00:00
b64enc.c Minor cleanups. 2008-04-07 19:31:12 +00:00
ChangeLog 2009-09-23 Marcus Brinkmann <marcus@g10code.de> 2010-02-12 15:15:34 +00:00
common-defs.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
convert.c Add a few translations to the audit-log. 2009-01-19 16:15:30 +00:00
dns-cert.c Support DNS CERT lookups via ADNS 2009-12-08 12:43:27 +00:00
dns-cert.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
estream-printf.c Update estream. 2009-09-03 10:44:13 +00:00
estream-printf.h Updated estream. 2007-08-22 10:55:07 +00:00
estream.c A bunch of minor changes 2009-12-21 16:19:09 +00:00
estream.h Updated estream. 2007-08-22 10:55:07 +00:00
exaudit.awk Started to implement the audit log feature. 2007-11-19 16:03:50 +00:00
exechelp.c Add readcert command. 2009-06-17 09:45:50 +00:00
exechelp.h Make sure not to leak file descriptors if running gpg-agent with a 2009-03-19 07:09:31 +00:00
exstatus.awk Started to implement the audit log feature. 2007-11-19 16:03:50 +00:00
gc-opt-flags.h Factored common gpgconf constants out 2007-08-02 18:12:43 +00:00
get-passphrase.c 2009-09-23 Marcus Brinkmann <marcus@g10code.de> 2010-02-12 15:15:34 +00:00
get-passphrase.h Reworked passing of envars to Pinentry. 2009-07-07 10:02:41 +00:00
gettime.c Remove duplicated code. 2009-03-16 09:44:44 +00:00
gpgrlhelp.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
helpfile.c Add support for help stuff to audit.c 2007-12-06 19:02:42 +00:00
homedir.c Modernized gpg-agent startup instructions 2009-03-02 11:53:32 +00:00
http.c Avoid caches to get the most recent copy of the key. This is bug #1061 2009-05-28 16:20:49 +00:00
http.h Avoid caches to get the most recent copy of the key. This is bug #1061 2009-05-28 16:20:49 +00:00
i18n.c Revamped the W32 gettext implementation. 2008-11-04 19:54:02 +00:00
i18n.h Factored utf8 switching code out to i18n.c. 2007-10-19 15:58:38 +00:00
init.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
init.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
iobuf.c 2009-09-23 Marcus Brinkmann <marcus@g10code.de> 2010-02-12 15:15:34 +00:00
iobuf.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
isascii.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
keyserver.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
localename.c Marked all unused args on non-W32 platforms. 2008-10-20 13:53:23 +00:00
Makefile.am 2009-09-23 Marcus Brinkmann <marcus@g10code.de> 2010-02-12 15:15:34 +00:00
membuf.c Import/export of pkcs#12 now uses the gpg-agent directly. 2009-04-01 10:51:53 +00:00
membuf.h Allow configuraton of pinentry tooltip. 2007-12-04 11:23:31 +00:00
miscellaneous.c Use more warning options with modern GCCs. 2008-10-17 19:18:46 +00:00
mkerrors Changed to GPLv3. 2007-07-04 19:49:40 +00:00
mkerrtok Changed to GPLv3. 2007-07-04 19:49:40 +00:00
mkstrtable.awk Started to implement the audit log feature. 2007-11-19 16:03:50 +00:00
openpgpdefs.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
percent.c Import/export of pkcs#12 now uses the gpg-agent directly. 2009-04-01 10:51:53 +00:00
pka.c Support PKA and SRV DNS lookups under w32 2009-12-07 17:11:59 +00:00
pka.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
README This commit was manufactured by cvs2svn to create branch 2003-08-05 17:11:04 +00:00
session-env.c Reworked passing of envars to Pinentry. 2009-07-07 10:02:41 +00:00
session-env.h Reworked passing of envars to Pinentry. 2009-07-07 10:02:41 +00:00
sexp-parse.h Allow verification of some broken S-TRUST generated signatures. 2007-12-13 15:45:40 +00:00
sexputil.c Alow batch ode for gpgsm --gen-key. 2009-07-01 18:30:33 +00:00
signal.c Marked all unused args on non-W32 platforms. 2008-10-20 13:53:23 +00:00
simple-pwquery.c Fix possible system freeze on Mac OS X. 2009-05-19 22:39:45 +00:00
simple-pwquery.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
srv.c Support PKA and SRV DNS lookups under w32 2009-12-07 17:11:59 +00:00
srv.h Changed to GPLv3. 2007-07-04 19:49:40 +00:00
status.c Improved detection of bad/invalid signer keys. 2009-08-06 20:12:00 +00:00
status.h Improved detection of bad/invalid signer keys. 2009-08-06 20:12:00 +00:00
sysutils.c Import/export of pkcs#12 now uses the gpg-agent directly. 2009-04-01 10:51:53 +00:00
sysutils.h Fix possible system freeze on Mac OS X. 2009-05-19 22:39:45 +00:00
t-b64.c Add Base64 decoder. Not yet used but complements out encoder. 2008-06-09 14:49:28 +00:00
t-convert.c Marked all unused args on non-W32 platforms. 2008-10-20 13:53:23 +00:00
t-exechelp.c Reworked passing of envars to Pinentry. 2009-07-07 10:02:41 +00:00
t-gettime.c Fix a bug in estream_snprintf. Found by a failed t-gettime under Windows. 2008-10-19 16:10:46 +00:00
t-helpfile.c Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
t-percent.c Import/export of pkcs#12 now uses the gpg-agent directly. 2009-04-01 10:51:53 +00:00
t-session-env.c Reworked passing of envars to Pinentry. 2009-07-07 10:02:41 +00:00
t-sexputil.c New helper function factored out of ../scd and equipped with test code. 2009-05-07 15:01:47 +00:00
t-sysutils.c Add missing file 2007-08-23 08:40:11 +00:00
tlv.c Implemented the chain model for X.509 validation. 2007-08-10 16:52:05 +00:00
tlv.h Implemented the chain model for X.509 validation. 2007-08-10 16:52:05 +00:00
ttyio.c * ttyio.h, ttyio.c (tty_enable_completion): Some ifdefs around 2009-08-11 18:34:16 +00:00
ttyio.h * ttyio.h, ttyio.c (tty_enable_completion): Some ifdefs around 2009-08-11 18:34:16 +00:00
util.h Print status of CRL checks in the audit log. 2009-07-23 15:18:58 +00:00
xasprintf.c Changed to GPLv3. 2007-07-04 19:49:40 +00:00
xreadline.c Fixed a bunch of little bugs as reported by Fabian Keil. 2009-06-24 14:03:09 +00:00
yesno.c Ask for the keysize when generating a new card key. 2009-08-05 11:24:43 +00:00

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx