1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-01 20:18:44 +01:00
Commit Graph

119 Commits

Author SHA1 Message Date
Werner Koch
93e9f9aedd Added more runtime flags for the gpg-agent
backend.
2004-04-30 03:03:34 +00:00
Marcus Brinkmann
8370e202cc 2004-04-29 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (change_options_program): Turn on utf8-strings in
	the gpgconf specific part of the config file for the GnuPG
	backend.
2004-04-29 19:00:37 +00:00
Werner Koch
99a4774e34 Add --ocsp-signer for the dirmngr backend. 2004-04-28 09:04:03 +00:00
Marcus Brinkmann
2c9aac608b 2004-04-20 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_options_gpg_agent): Change type of
	ignore-cache-for-signing option to GC_ARG_TYPE_NONE.
2004-04-20 16:02:30 +00:00
Werner Koch
1194f42d5a (my_dgettext): Switch the codeset once to utf-8.
Allow building with out NLS.
2004-04-07 16:53:55 +00:00
Werner Koch
d84d632583 * configure.ac: Require libgcrypt 1.1.94.
Introduce PACKAGE_GT and set it to gnupg2.

* gpg-agent.c (main): Use new libgcrypt thread library register
scheme.

* Makevars (DOMAIN): Init from PACKAGE_GT
2004-04-06 10:01:04 +00:00
Werner Koch
51e2ffaa0a Typo fix 2004-04-05 17:25:43 +00:00
Werner Koch
2b1f8df9bd Add dirmngr:allow-ocsp 2004-03-23 18:43:25 +00:00
Marcus Brinkmann
3b7262e41e 2004-03-23 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for
	"LDAP Server".
	(change_options_file): Remove assertion that tests that this flag
	is not present.  Handle an empty string in OPTION->new_value.
2004-03-23 18:27:37 +00:00
Marcus Brinkmann
fae48e4f76 2004-03-23 Marcus Brinkmann <marcus@g10code.de>
* gpgconf.c (main): Remove obsolete warning.
2004-03-23 15:40:54 +00:00
Werner Koch
333d1a107c Make it work 2004-03-23 13:48:46 +00:00
Werner Koch
88844c4c41 add missing comma 2004-03-23 13:11:10 +00:00
Werner Koch
d5579da4a3 (gc_options_gpg): New.
(gc_component_t, gc_component): Add GC_BACKEND_GPG.
2004-03-23 13:04:34 +00:00
Marcus Brinkmann
fc584a063d 2004-03-23 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_flag): Add missing flags.
2004-03-23 12:33:59 +00:00
Marcus Brinkmann
3b2e2e7418 2004-03-23 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c: Include <signal.h>.
	(gc_backend): Add new member runtime_change.
	(gpg_agent_runtime_change): New function.
	(gc_component_change_options): New variable runtime.  Initialize
	it.  If an option is changed that has the GC_OPT_FLAG_RUNTIME bit
	set, also set the corresponding runtime variable.  Finally, call
	the runtime_change callback of the backend if needed.
2004-03-23 12:21:48 +00:00
Werner Koch
6568059dd6 (gc_options_gpg_agent): Implemented.
(gc_options_gpgsm, gc_options_scdaemon): Implemented.
(gc_backend_t): Add GC_BACKEND_SCDAEMON.
2004-03-16 19:00:25 +00:00
Werner Koch
a6768b8eca (gc_options_gpg_agent): Implemented. 2004-03-16 10:48:13 +00:00
Marcus Brinkmann
2bb4c53e7a 2004-03-12 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_change_options): Set the filenames
	of the option's backend, not of the component.
	Also use GC_BACKEND_NR, not GC_COMPONENT_NR.
2004-03-12 14:42:31 +00:00
Marcus Brinkmann
8927b55c28 2004-03-12 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_change_options): Set the filenames
	of the option's backend, not of the component.
2004-03-12 14:29:40 +00:00
Werner Koch
7ad15ec24a Removed special code for RISC OS; we
don't want to clutter our code with system dependent stuff.
2004-03-09 14:34:12 +00:00
Marcus Brinkmann
8cf4e69141 2004-03-08 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (retrieve_options_from_file): Quote each string
	in the list, not only the first.
2004-03-08 17:59:24 +00:00
Marcus Brinkmann
5c457626a8 Fix buglet. 2004-03-08 14:28:54 +00:00
Marcus Brinkmann
4a038d65af 2004-02-26 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_list_options): Do not print empty
	groups.
2004-02-26 22:45:19 +00:00
Marcus Brinkmann
91a514f2a1 2004-02-26 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (option_check_validity): Check if option is
	active.
	(change_options_file): Implement.
2004-02-26 22:18:36 +00:00
Marcus Brinkmann
bfd5ed026c 2004-02-26 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (retrieve_options_from_program): Remove broken
	string handling.
2004-02-26 18:54:46 +00:00
Marcus Brinkmann
aa7a4c1aec 2004-02-26 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (change_options_program): Support all types of
	options, including list types.
2004-02-26 18:39:34 +00:00
Marcus Brinkmann
255d2cea04 2004-02-26 Marcus Brinkmann <marcus@g10code.de>
* README.gpgconf: Fix description of arguments.
	* gpgconf-comp.c (option_check_validity): Rewritten to properly
	support optional arguments in lists.
2004-02-26 18:22:02 +00:00
Marcus Brinkmann
7aa4fa9b09 2004-02-26 Marcus Brinkmann <marcus@g10code.de>
* README.gpgconf (NAME): Add info about optional arg and arg type 0.
	* gpgconf-comp.c (gc_component_change_options): Parse list of
	arg type 0 options.
	(option_check_validity): Add new argument NEW_VALUE_NR.  Perform
	rigorous validity checks.
	(change_options_program): Disable an option also if we have a new
	value for it.
2004-02-26 16:28:27 +00:00
Marcus Brinkmann
8817c66900 2004-02-25 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (struct gc_option): Add new member new_flags.
	(option_check_validity): Check OPTION->new_flags beside
	OPTION->new_value.  Add new argument FLAGS.
	(gc_component_change_options): Support default flag correctly.
	(change_options_program): Likewise.
2004-02-25 20:24:53 +00:00
Marcus Brinkmann
8f8c5c47dd 2004-02-25 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_list_options): Correct output for
	lists of arg type none.
2004-02-25 19:35:36 +00:00
Marcus Brinkmann
54d5446797 2004-02-24 Marcus Brinkmann <marcus@g10code.de>
* README.gpgconf: Revert last change.  Add new flags "default",
	"default desc" and "no arg desc".  Add new field ARGDEF.  Add new
	field FLAG to backend interface.
	* gpgconf-comp.c (struct gc_option): Make flags of type unsigned
	long.
	(gc_component_list_options): Adjust type for flags.
	Add default argument field.
	(retrieve_options_from_program): Use "1" as value for non-option
	arguments, not "Y".
	(gc_component_change_options): Read in flags from input.
2004-02-24 14:31:59 +00:00
Marcus Brinkmann
cd3ccbf34d 2004-02-23 Marcus Brinkmann <marcus@g10code.de>
* README.gpgconf: Change meaning of type 0 options value if it is
	the empty string or "0".
2004-02-23 20:59:18 +00:00
Marcus Brinkmann
5620ac56bf 2004-02-23 Marcus Brinkmann <marcus@g10code.de>
* gpgconf.h (struct): Add member runtime.
	* gpgconf.c: Add new option oRuntime.
	(main): Same here.
2004-02-23 20:31:35 +00:00
Marcus Brinkmann
c38f609206 2004-02-23 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (hextobyte): New function.
	(percent_deescape): New function.
	(get_config_pathname): Percent deescape pathname if taken from
	option (default) value.  Use default value only if it exists and
	is not empty.  Use empty string otherwise.  Don't include leading
	quote in pathname.
	(change_options_program): Percent deescape string before writing
	it out.
2004-02-23 19:37:04 +00:00
Werner Koch
e588e13d7c Added empty components for gpgsm and scdaemon. 2004-02-18 17:00:56 +00:00
Werner Koch
7080c6553f * watchgnupg.c (main): Implement option "--".
(print_version): New.

* Makefile.am: Include cmacros.am for common flags.
2004-02-12 10:02:22 +00:00
Werner Koch
6788ede345 Try to use getent, so that it also works for NIS
setups.
2004-02-03 16:38:07 +00:00
Marcus Brinkmann
bdae155c7b Fix copyright line. 2004-02-01 15:30:50 +00:00
Marcus Brinkmann
cff3f76862 2004-01-31 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c: Some bug fixes, parse only defaults from the
	program, and read the current values from the configuration file
	directly.
2004-01-31 13:58:27 +00:00
Werner Koch
a9eaa96f83 *** empty log message *** 2004-01-30 17:57:16 +00:00
Marcus Brinkmann
74a20c31e3 2004-01-30 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_error): New function, use it instead of
	error() throughout.
2004-01-30 12:15:53 +00:00
Marcus Brinkmann
0329746dce 2004-01-30 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and
	gnupg_get_time, fix error() invocation and use getline()
	consistently.
2004-01-30 10:38:07 +00:00
Werner Koch
fec4dc4c99 * configure.ac: Require libksba 0.9.3 due to another bug fix there.
* sign.c (add_certificate_list): Decrement N for the first cert.

* Makefile.am (sbin_SCRIPTS): New, to install addgnupghome.
(EXTRA_DIST): Added rfc822parse.c rfc822parse.h gpgparsemail.c
which might be useful for debugging.
2004-01-30 09:12:36 +00:00
Werner Koch
a7840b9643 New. 2004-01-29 20:20:10 +00:00
Marcus Brinkmann
42ab09e821 2004-01-29 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-list.c: File removed.
	* README.gpgconf: New file.
	* gpgconf-comp.c: New file.
	* Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add
	gpgconf-comp.c.
2004-01-28 23:58:18 +00:00
Werner Koch
eb24d8b751 Some minor bug fixes, new test utilities and started support for other
smartcard applications.
2004-01-27 16:40:42 +00:00
Werner Koch
e5b228fc67 (main): Need to use FD_ISSET for the client
descriptors too; aiiih.  Set the listening socket to non-blocking.
2004-01-16 22:38:58 +00:00
Werner Koch
1e53ff3608 Use GPG_ERROR_CFLAGS 2004-01-10 11:50:48 +00:00
Werner Koch
f332166e51 * Manifest: New.
* gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now.
* no-libgcrypt.c: New.
* Makefile.am: Add above.
2004-01-05 09:28:27 +00:00
Werner Koch
e11529f290 * Makefile.am: New.
* watchgnupg.c: New.
2003-12-23 11:05:00 +00:00