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
cb76c9bc77
post release version bump
2004-04-29 18:16:44 +00:00
Werner Koch
64a6b54aa7
autoupdated
2004-04-29 17:38:20 +00:00
Werner Koch
fd1a0869d6
Added
2004-04-29 17:35:47 +00:00
Werner Koch
77c4506425
About to release 1.9.8
2004-04-29 17:32:02 +00:00
Werner Koch
18b6a60cb8
typo fix
2004-04-29 17:26:14 +00:00
Werner Koch
7d486a0969
* app-openpgp.c (do_setattr): Sync FORCE_CHV1.
2004-04-29 17:25:57 +00:00
Werner Koch
b6018a1b0e
* card-util.c (card_edit): Remove PIN verification.
...
(generate_card_keys): New arg SERIALNO. Do PIN verification here
after resetting forced_chv1.
2004-04-29 17:25:38 +00:00
Werner Koch
99a4774e34
Add --ocsp-signer for the dirmngr backend.
2004-04-28 09:04:03 +00:00
Werner Koch
4c96cb0683
* app-common.h: Do not include ksba.h for gnupg 1.
2004-04-28 09:00:05 +00:00
Werner Koch
236d241aed
* gpgsm.c: New command --keydb-clear-some-cert-flags.
...
* keydb.c (keydb_clear_some_cert_flags): New.
(keydb_update_keyblock, keydb_set_flags): Change error code
CONFLICT to NOT_LOCKED.
2004-04-28 08:59:34 +00:00
Werner Koch
869a2bbad2
* app-common.h: New members FNC.DEINIT and APP_LOCAL.
...
* app.c (release_application): Call new deconstructor.
* app-openpgp.c (do_deinit): New.
(get_cached_data, flush_cache_item, flush_cache_after_error)
(flush_cache): New.
(get_one_do): Replaced arg SLOT by APP. Make used of cached data.
(verify_chv2, verify_chv3): Flush some cache item after error.
(do_change_pin): Ditto.
(do_sign): Ditto.
(do_setattr): Flush cache item.
(do_genkey): Flush the entire cache.
(compare_fingerprint): Use cached data.
2004-04-26 18:28:06 +00:00
Werner Koch
6efe46d4ff
(change_name): Check that the NAME is not too long.
...
(change_url): Likewise.
(change_login): Likewise.
2004-04-26 18:26:54 +00:00
Werner Koch
d74d2f5bc9
(start_scd): Do not register an event signal if we
...
are running as a pipe server.
2004-04-26 18:26:41 +00:00
Werner Koch
5fa53f7524
* scdaemon.c (main): Do the last change the usual way. This is so
...
that we can easily test for versioned config files above.
* gpgsm.c (main) <gpgconf>: Do not use /dev/null as default config
filename.
2004-04-26 13:46:36 +00:00
Werner Koch
388218891b
* call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)
...
(gpgsm_agent_genkey, gpgsm_agent_istrusted)
(gpgsm_agent_marktrusted, gpgsm_agent_havekey)
(gpgsm_agent_passwd): Add new arg CTRL and changed all callers.
(start_agent): New arg CTRL. Send progress item when starting a
new agent.
* sign.c (gpgsm_get_default_cert, get_default_signer): New arg
CTRL to be passed down to the agent function.
* decrypt.c (prepare_decryption): Ditto.
* certreqgen.c (proc_parameters, read_parameters): Ditto.
* certcheck.c (gpgsm_create_cms_signature): Ditto.
2004-04-26 13:29:09 +00:00
Marcus Brinkmann
1101deced5
2004-04-26 Marcus Brinkmann <marcus@g10code.de>
...
* scdaemon.c (main): For now, always print default filename for
--gpgconf-list, and never /dev/null.
2004-04-26 13:07:08 +00:00
Werner Koch
6aaceac7fe
The keybox gets now compressed after 3 hours and ephemeral
...
stored certificates are deleted after about a day.
2004-04-26 08:09:25 +00:00
Werner Koch
cbc5ce3ea4
(oidtranstbl): New. OIDs collected from several sources.
...
(print_name_raw, print_names_raw, list_cert_raw): New.
(gpgsm_list_keys): Check the dump mode and pass it down as
necessary.
2004-04-23 10:34:25 +00:00
Werner Koch
99e00351a3
(main): New commands --dump-keys, --dump-external-keys,
...
--dump-secret-keys.
2004-04-22 13:03:44 +00:00
Werner Koch
4624e9dfb3
* command.c (scd_update_reader_status_file): Send a signal back to
...
the client.
(option_handler): Parse the new event-signal option.
* scdaemon.c (handle_signal): Do not use SIGUSR{1,2} anymore for
changing the verbosity.
2004-04-21 14:44:09 +00:00
Werner Koch
3d58329f67
* call-scd.c (start_scd): Send event-signal option. Always check
...
that the scdaemon is still running.
* gpg-agent.c (handle_signal): Do not use SIGUSR{1,2} anymore for
changing the verbosity.
2004-04-21 14:43:51 +00:00
Werner Koch
78f797d11d
* command.c (scd_update_reader_status_file): Write status files.
...
* app-help.c (app_help_read_length_of_cert): Fixed calculation of
R_CERTOFF.
* pcsc-wrapper.c: New.
* Makefile.am (pkglib_PROGRAMS): Install it here.
* apdu.c (writen, readn): New.
(open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the
pcsc-wrapper if we are using Pth.
(apdu_send_le): Reinitialize RESULTLEN. Handle SW_EOF_REACHED
like SW_SUCCESS.
2004-04-20 16:42:55 +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
e950b01ff5
* pcsc-wrapper.c: New.
...
* Makefile.am (pkglib_PROGRAMS): Install it here.
* apdu.c (writen, readn): New.
(open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the
pcsc-wrapper if we are using Pth.
2004-04-20 14:17:10 +00:00
Werner Koch
d70bc68c30
Include jnlib/types.h and remove our own
...
definitions for byte.u16 and u32.
2004-04-20 14:16:55 +00:00
Werner Koch
74b7ca69f9
Remove the fopencookie test. We don't need the
...
dummy function because we conditionally use fopencookie,
fpencookie or a replacement at place.
2004-04-20 14:16:44 +00:00
Werner Koch
22795ca77f
* configure.ac: Remove the fopencookie test. We don't need the
...
dummy function because we conditionally use fopencookie,
fpencookie or a replacement at place.
2004-04-20 14:16:26 +00:00
Werner Koch
c1858725b2
Removed this file from the CVS.
2004-04-20 06:50:55 +00:00
Marcus Brinkmann
56dced503d
2004-04-02 Thomas Schwinge <schwinge@nic-nac-project.de>
...
* autogen.sh: Added ACLOCAL_FLAGS.
2004-04-19 14:17:30 +00:00
Werner Koch
e21bf7b9e0
* gpg-agent.c (main): Tell the logging code taht we are runnign
...
detached.
* logging.h (JNLIB_LOG_WITH_PREFIX): Add constants for the flag
values.
* logging.c (log_set_prefix): New flag DETACHED.
(fun_writer): Take care of this flag.
(log_test_fd): New.
2004-04-16 09:46:54 +00:00
Werner Koch
aaac5dd2dc
* misc.c (setup_pinentry_env): New.
...
* import.c (popen_protect_tool): Call it.
* export.c (popen_protect_tool): Call it.
2004-04-13 09:45:35 +00:00
Werner Koch
5b9023c6e7
(copy_and_escape): Relaxed quoting.
2004-04-13 09:45:23 +00:00
Werner Koch
389fa08de6
(gpgsm_decrypt): Return GPG_ERR_NO_DATA if it is not a
...
encrypted message.
2004-04-08 09:53:32 +00:00
Werner Koch
bd2d99c4e7
Documented --force-crl-refresh
2004-04-07 18:02:56 +00:00
Werner Koch
c61c77b1b2
* gpgsm.c: New option --force-crl-refresh.
...
* call-dirmngr.c (gpgsm_dirmngr_isvalid): Pass option to dirmngr.
2004-04-07 17:59:18 +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
e9857ca1e3
post release re-versioning
2004-04-06 14:15:47 +00:00
Werner Koch
b361a6addc
About to release 1.9.7
2004-04-06 11:40:28 +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
c58c97e61f
Add STATUS_NEWSIG
2004-04-06 07:37:52 +00:00
Werner Koch
cd3e11add8
(main): Use new libgcrypt thread library register
...
scheme.
2004-04-06 07:36:44 +00:00
Werner Koch
8c03a61f94
Require libgcrypt 1.1.94.
2004-04-06 07:36:25 +00:00
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