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

1172 Commits

Author SHA1 Message Date
Werner Koch
51e2ffaa0a Typo fix 2004-04-05 17:25:43 +00:00
Werner Koch
da89d93c77 * verify.c (gpgsm_verify): Print STATUS_NEWSIG for each signature.
* certchain.c (gpgsm_validate_chain) <gpgsm_cert_use_cer_p>: Do
not just warn if a cert is not suitable; bail out immediately.

* call-dirmngr.c (isvalid_status_cb): New.
(unhexify_fpr): New. Taken from ../g10/call-agent.c
(gpgsm_dirmngr_isvalid): Add new arg CTRL, changed caller to pass
it thru.  Detect need to check the respondert cert and do that.
* certchain.c (gpgsm_validate_chain): Add new arg FLAGS.  Changed
all callers.
2004-04-05 17:25:21 +00:00
Werner Koch
d3411b3277 (STATUS_NEWSIG): New. 2004-04-05 17:24:27 +00:00
Werner Koch
496cf5aa7c (gpgsm_sign): Include a short list of capabilities. 2004-03-24 14:28:18 +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
Werner Koch
a40cbf1c33 * configure.ac: Define SAFE_VERSION_DASH and SAFE_VERSION_DOT>
* g10.c: New options --gpgconf-list, --debug-level and --log-file
(set_debug): Add arg DEBUG_LEVEL.
(main): Look at less and less version specific config files.  From
gnupg 1.3.
2004-03-23 13:03:09 +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
Werner Koch
0c36e10633 (main) <gpgconf_list>: Fixed output for pcsc_driver. 2004-03-23 12:33:20 +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
Marcus Brinkmann
6c80bd0b49 2004-03-23 Marcus Brinkmann <marcus@g10code.de>
* gpg-agent.c (main): For now, always print the default config
	file name for --gpgconf-list.
2004-03-23 12:21:29 +00:00
Werner Koch
d714e81e58 * gpg-agent.c (main) <gpgconf>: Fixed default value quoting.
* scdaemon.c (main) <gpgconf>: Fixed default value quoting.
* gpgsm.c (main) <gpgconf>: Fixed default value quoting.
2004-03-17 13:01:16 +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
1cd35d8551 *** empty log message *** 2004-03-16 19:00:00 +00:00
Werner Koch
a854459fc1 (parse_rereadable_options): Use the new
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.
2004-03-16 18:59:35 +00:00
Werner Koch
e209ea3c39 * app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c
* app-nks.c (get_length_of_cert): Removed.
* app-help.c: New.
(app_help_read_length_of_cert): New.  Code taken from above.  New
optional arg R_CERTOFF.

* card-dinsig.c: Removed.
* card.c (card_get_serial_and_stamp): Do not bind to the old and
never finsiged card-dinsig.c.

* iso7816.c (iso7816_read_binary): Allow for an NMAX > 254.
2004-03-16 18:59:21 +00:00
Werner Koch
050b96f790 (main): Implemented --gpgconf-list. 2004-03-16 18:59:09 +00:00
Werner Koch
f8d44bc637 *** empty log message *** 2004-03-16 10:49:37 +00:00
Werner Koch
1a389c1e1e * configure.ac (NEED_GPG_ERROR_VERSION): Set to 0.7. 2004-03-16 10:49:00 +00:00
Werner Koch
3e8221e955 (parse_rereadable_options): Use the new
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.
2004-03-16 10:48:42 +00:00
Werner Koch
a6768b8eca (gc_options_gpg_agent): Implemented. 2004-03-16 10:48:13 +00:00
Werner Koch
b541bbde6d * dynload.h [__MINGW32__]: Define RTLD_LAZY. 2004-03-16 10:47:08 +00:00
Werner Koch
501267f88b (list_cert_colon): Hack to set the expired flag. 2004-03-15 08:39:48 +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
Werner Koch
f3553d844d post release development preparations 2004-03-06 20:42:14 +00:00
Werner Koch
15f1c42c85 still preparing for a release 2004-03-06 20:15:17 +00:00
Werner Koch
884483282f Preparing for a release 2004-03-06 20:11:19 +00:00
Werner Koch
9008835d8a (gpgsm_export): Make sure that we don't export more
than one certificate.
2004-03-03 08:55:50 +00:00
Werner Koch
58a722938b (create_duptable, destroy_duptable)
(insert_duptable): New.
(gpgsm_export): Avoid duplicates.
2004-03-02 08:02:47 +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
Werner Koch
cd8531210b (compare_certs): New.
(gpgsm_validate_chain): Fixed infinite certificate checks after
bad signatures.
2004-02-26 22:08:58 +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
Werner Koch
9d988d6068 New option --disable-threads to inhibit
unintentional builds without Pth.
2004-02-25 08:58:46 +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
Werner Koch
18a212f2c8 (list_cert_colon): Print the fingerprint as the
cert-id for root certificates.
2004-02-24 14:15:43 +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