gnupg.git
15 years agoRemove the fopencookie test. We don't need the
Werner Koch [Tue, 20 Apr 2004 14:16:44 +0000 (14:16 +0000)]
Remove the fopencookie test.  We don't need the
dummy function because we conditionally use fopencookie,
fpencookie or a replacement at place.

15 years ago* configure.ac: Remove the fopencookie test. We don't need the
Werner Koch [Tue, 20 Apr 2004 14:16:26 +0000 (14:16 +0000)]
* configure.ac: Remove the fopencookie test.  We don't need the
dummy function because we conditionally use fopencookie,
fpencookie or a replacement at place.

15 years agoRemoved this file from the CVS.
Werner Koch [Tue, 20 Apr 2004 06:50:55 +0000 (06:50 +0000)]
Removed this file from the CVS.

15 years ago2004-04-02 Thomas Schwinge <schwinge@nic-nac-project.de>
Marcus Brinkmann [Mon, 19 Apr 2004 14:17:30 +0000 (14:17 +0000)]
2004-04-02  Thomas Schwinge  <schwinge@nic-nac-project.de>

* autogen.sh: Added ACLOCAL_FLAGS.

15 years ago* gpg-agent.c (main): Tell the logging code taht we are runnign
Werner Koch [Fri, 16 Apr 2004 09:46:54 +0000 (09:46 +0000)]
* 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.

15 years ago* misc.c (setup_pinentry_env): New.
Werner Koch [Tue, 13 Apr 2004 09:45:35 +0000 (09:45 +0000)]
* misc.c (setup_pinentry_env): New.
* import.c (popen_protect_tool): Call it.
* export.c (popen_protect_tool): Call it.

15 years ago(copy_and_escape): Relaxed quoting.
Werner Koch [Tue, 13 Apr 2004 09:45:23 +0000 (09:45 +0000)]
(copy_and_escape): Relaxed quoting.

15 years ago(gpgsm_decrypt): Return GPG_ERR_NO_DATA if it is not a
Werner Koch [Thu, 8 Apr 2004 09:53:32 +0000 (09:53 +0000)]
(gpgsm_decrypt): Return GPG_ERR_NO_DATA if it is not a
encrypted message.

15 years agoDocumented --force-crl-refresh
Werner Koch [Wed, 7 Apr 2004 18:02:56 +0000 (18:02 +0000)]
Documented --force-crl-refresh

15 years ago* gpgsm.c: New option --force-crl-refresh.
Werner Koch [Wed, 7 Apr 2004 17:59:18 +0000 (17:59 +0000)]
* gpgsm.c: New option --force-crl-refresh.
* call-dirmngr.c (gpgsm_dirmngr_isvalid): Pass option to dirmngr.

15 years ago(my_dgettext): Switch the codeset once to utf-8.
Werner Koch [Wed, 7 Apr 2004 16:53:55 +0000 (16:53 +0000)]
(my_dgettext): Switch the codeset once to utf-8.
Allow building with out NLS.

15 years agopost release re-versioning
Werner Koch [Tue, 6 Apr 2004 14:15:47 +0000 (14:15 +0000)]
post release re-versioning

15 years agoAbout to release 1.9.7 V1-9-7
Werner Koch [Tue, 6 Apr 2004 11:40:28 +0000 (11:40 +0000)]
About to release 1.9.7

15 years ago* configure.ac: Require libgcrypt 1.1.94.
Werner Koch [Tue, 6 Apr 2004 10:01:04 +0000 (10:01 +0000)]
* 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

15 years agoAdd STATUS_NEWSIG
Werner Koch [Tue, 6 Apr 2004 07:37:52 +0000 (07:37 +0000)]
Add STATUS_NEWSIG

15 years ago(main): Use new libgcrypt thread library register
Werner Koch [Tue, 6 Apr 2004 07:36:44 +0000 (07:36 +0000)]
(main): Use new libgcrypt thread library register
scheme.

15 years agoRequire libgcrypt 1.1.94.
Werner Koch [Tue, 6 Apr 2004 07:36:25 +0000 (07:36 +0000)]
Require libgcrypt 1.1.94.

15 years agoTypo fix
Werner Koch [Mon, 5 Apr 2004 17:25:43 +0000 (17:25 +0000)]
Typo fix

15 years ago* verify.c (gpgsm_verify): Print STATUS_NEWSIG for each signature.
Werner Koch [Mon, 5 Apr 2004 17:25:21 +0000 (17:25 +0000)]
* 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.

15 years ago(STATUS_NEWSIG): New.
Werner Koch [Mon, 5 Apr 2004 17:24:27 +0000 (17:24 +0000)]
(STATUS_NEWSIG): New.

15 years ago(gpgsm_sign): Include a short list of capabilities.
Werner Koch [Wed, 24 Mar 2004 14:28:18 +0000 (14:28 +0000)]
(gpgsm_sign): Include a short list of capabilities.

15 years agoAdd dirmngr:allow-ocsp
Werner Koch [Tue, 23 Mar 2004 18:43:25 +0000 (18:43 +0000)]
Add dirmngr:allow-ocsp

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 18:27:37 +0000 (18:27 +0000)]
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.

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 15:40:54 +0000 (15:40 +0000)]
2004-03-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf.c (main): Remove obsolete warning.

15 years agoMake it work
Werner Koch [Tue, 23 Mar 2004 13:48:46 +0000 (13:48 +0000)]
Make it work

15 years agoadd missing comma
Werner Koch [Tue, 23 Mar 2004 13:11:10 +0000 (13:11 +0000)]
add missing comma

15 years ago(gc_options_gpg): New.
Werner Koch [Tue, 23 Mar 2004 13:04:34 +0000 (13:04 +0000)]
(gc_options_gpg): New.
(gc_component_t, gc_component): Add GC_BACKEND_GPG.

15 years ago* configure.ac: Define SAFE_VERSION_DASH and SAFE_VERSION_DOT>
Werner Koch [Tue, 23 Mar 2004 13:03:09 +0000 (13:03 +0000)]
* 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.

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 12:33:59 +0000 (12:33 +0000)]
2004-03-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_flag): Add missing flags.

15 years ago(main) <gpgconf_list>: Fixed output for pcsc_driver.
Werner Koch [Tue, 23 Mar 2004 12:33:20 +0000 (12:33 +0000)]
(main) <gpgconf_list>: Fixed output for pcsc_driver.

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 12:21:48 +0000 (12:21 +0000)]
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.

15 years ago2004-03-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 23 Mar 2004 12:21:29 +0000 (12:21 +0000)]
2004-03-23  Marcus Brinkmann  <marcus@g10code.de>

* gpg-agent.c (main): For now, always print the default config
file name for --gpgconf-list.

15 years ago* gpg-agent.c (main) <gpgconf>: Fixed default value quoting.
Werner Koch [Wed, 17 Mar 2004 13:01:16 +0000 (13:01 +0000)]
* 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.

15 years ago(gc_options_gpg_agent): Implemented.
Werner Koch [Tue, 16 Mar 2004 19:00:25 +0000 (19:00 +0000)]
(gc_options_gpg_agent): Implemented.
(gc_options_gpgsm, gc_options_scdaemon): Implemented.
(gc_backend_t): Add GC_BACKEND_SCDAEMON.

15 years ago*** empty log message ***
Werner Koch [Tue, 16 Mar 2004 19:00:00 +0000 (19:00 +0000)]
*** empty log message ***

15 years ago(parse_rereadable_options): Use the new
Werner Koch [Tue, 16 Mar 2004 18:59:35 +0000 (18:59 +0000)]
(parse_rereadable_options): Use the new
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.

15 years ago* app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c
Werner Koch [Tue, 16 Mar 2004 18:59:21 +0000 (18:59 +0000)]
* 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.

15 years ago(main): Implemented --gpgconf-list.
Werner Koch [Tue, 16 Mar 2004 18:59:09 +0000 (18:59 +0000)]
(main): Implemented --gpgconf-list.

15 years ago*** empty log message ***
Werner Koch [Tue, 16 Mar 2004 10:49:37 +0000 (10:49 +0000)]
*** empty log message ***

15 years ago* configure.ac (NEED_GPG_ERROR_VERSION): Set to 0.7.
Werner Koch [Tue, 16 Mar 2004 10:49:00 +0000 (10:49 +0000)]
* configure.ac (NEED_GPG_ERROR_VERSION): Set to 0.7.

15 years ago(parse_rereadable_options): Use the new
Werner Koch [Tue, 16 Mar 2004 10:48:42 +0000 (10:48 +0000)]
(parse_rereadable_options): Use the new
DEFAULT_CACHE_TTL macro.
(main): Updated --gpgconf-list output.

15 years ago(gc_options_gpg_agent): Implemented.
Werner Koch [Tue, 16 Mar 2004 10:48:13 +0000 (10:48 +0000)]
(gc_options_gpg_agent): Implemented.

15 years ago* dynload.h [__MINGW32__]: Define RTLD_LAZY.
Werner Koch [Tue, 16 Mar 2004 10:47:08 +0000 (10:47 +0000)]
* dynload.h [__MINGW32__]: Define RTLD_LAZY.

15 years ago(list_cert_colon): Hack to set the expired flag.
Werner Koch [Mon, 15 Mar 2004 08:39:48 +0000 (08:39 +0000)]
(list_cert_colon): Hack to set the expired flag.

15 years ago2004-03-12 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 12 Mar 2004 14:42:31 +0000 (14:42 +0000)]
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.

15 years ago2004-03-12 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 12 Mar 2004 14:29:40 +0000 (14:29 +0000)]
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.

15 years agoRemoved special code for RISC OS; we
Werner Koch [Tue, 9 Mar 2004 14:34:12 +0000 (14:34 +0000)]
Removed special code for RISC OS; we
don't want to clutter our code with system dependent stuff.

15 years ago2004-03-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 8 Mar 2004 17:59:24 +0000 (17:59 +0000)]
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.

15 years agoFix buglet.
Marcus Brinkmann [Mon, 8 Mar 2004 14:28:54 +0000 (14:28 +0000)]
Fix buglet.

15 years agopost release development preparations
Werner Koch [Sat, 6 Mar 2004 20:42:14 +0000 (20:42 +0000)]
post release development preparations

15 years agostill preparing for a release V1-9-6
Werner Koch [Sat, 6 Mar 2004 20:15:17 +0000 (20:15 +0000)]
still preparing for a release

15 years agoPreparing for a release
Werner Koch [Sat, 6 Mar 2004 20:11:19 +0000 (20:11 +0000)]
Preparing for a release

15 years ago(gpgsm_export): Make sure that we don't export more
Werner Koch [Wed, 3 Mar 2004 08:55:50 +0000 (08:55 +0000)]
(gpgsm_export): Make sure that we don't export more
than one certificate.

15 years ago(create_duptable, destroy_duptable)
Werner Koch [Tue, 2 Mar 2004 08:02:47 +0000 (08:02 +0000)]
(create_duptable, destroy_duptable)
(insert_duptable): New.
(gpgsm_export): Avoid duplicates.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 22:45:19 +0000 (22:45 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_component_list_options): Do not print empty
groups.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 22:18:36 +0000 (22:18 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (option_check_validity): Check if option is
active.
(change_options_file): Implement.

15 years ago(compare_certs): New.
Werner Koch [Thu, 26 Feb 2004 22:08:58 +0000 (22:08 +0000)]
(compare_certs): New.
(gpgsm_validate_chain): Fixed infinite certificate checks after
bad signatures.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 18:54:46 +0000 (18:54 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (retrieve_options_from_program): Remove broken
string handling.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 18:39:34 +0000 (18:39 +0000)]
2004-02-26  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (change_options_program): Support all types of
options, including list types.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 18:22:02 +0000 (18:22 +0000)]
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.

15 years ago2004-02-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 26 Feb 2004 16:28:27 +0000 (16:28 +0000)]
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.

15 years ago2004-02-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 25 Feb 2004 20:24:53 +0000 (20:24 +0000)]
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.

15 years ago2004-02-25 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 25 Feb 2004 19:35:36 +0000 (19:35 +0000)]
2004-02-25  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_component_list_options): Correct output for
lists of arg type none.

15 years agoNew option --disable-threads to inhibit
Werner Koch [Wed, 25 Feb 2004 08:58:46 +0000 (08:58 +0000)]
New option --disable-threads to inhibit
unintentional builds without Pth.

15 years ago2004-02-24 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 24 Feb 2004 14:31:59 +0000 (14:31 +0000)]
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.

15 years ago(list_cert_colon): Print the fingerprint as the
Werner Koch [Tue, 24 Feb 2004 14:15:43 +0000 (14:15 +0000)]
(list_cert_colon): Print the fingerprint as the
cert-id for root certificates.

15 years ago2004-02-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 23 Feb 2004 20:59:18 +0000 (20:59 +0000)]
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".

15 years ago2004-02-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 23 Feb 2004 20:31:35 +0000 (20:31 +0000)]
2004-02-23  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf.h (struct): Add member runtime.
* gpgconf.c: Add new option oRuntime.
(main): Same here.

15 years ago2004-02-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 23 Feb 2004 19:37:04 +0000 (19:37 +0000)]
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.

15 years agopost release version bumb
Werner Koch [Sat, 21 Feb 2004 13:35:42 +0000 (13:35 +0000)]
post release version bumb

15 years agoAbout to release 1.9.5 V1-9-5
Werner Koch [Sat, 21 Feb 2004 13:13:35 +0000 (13:13 +0000)]
About to release 1.9.5

15 years ago* keylist.c (list_internal_keys): Return error codes.
Werner Koch [Sat, 21 Feb 2004 13:05:52 +0000 (13:05 +0000)]
* keylist.c (list_internal_keys): Return error codes.
(list_external_keys, gpgsm_list_keys): Ditto.
* server.c (do_listkeys): Ditto.

* gpgsm.c (main): Display a key description for --passwd.
* call-agent.c (gpgsm_agent_passwd): New arg DESC.

15 years ago* command.c (cmd_passwd): Take acount of a key description.
Werner Koch [Sat, 21 Feb 2004 13:05:22 +0000 (13:05 +0000)]
* command.c (cmd_passwd): Take acount of a key description.

* genkey.c (reenter_compare_cb): Do not set the error text.
(agent_protect_and_store, agent_genkey): Force a re-enter after a
non-matching passphrase.
* query.c (agent_askpin): Add new arg INITIAL_ERRTEXT; changed
all callers.

15 years agoFixed URLs in the notice messages.
Werner Koch [Fri, 20 Feb 2004 14:23:30 +0000 (14:23 +0000)]
Fixed URLs in the notice messages.

15 years ago* Makefile.am: Reset GPG_AGENT_INFO here
Werner Koch [Fri, 20 Feb 2004 13:46:35 +0000 (13:46 +0000)]
* Makefile.am: Reset GPG_AGENT_INFO here
* runtest: and not anymore here.

15 years ago* gpgsm.c (main): New option --debug-ignore-expiration.
Werner Koch [Fri, 20 Feb 2004 13:46:21 +0000 (13:46 +0000)]
* gpgsm.c (main): New option --debug-ignore-expiration.
* certchain.c (gpgsm_validate_chain): Use it here.

* certlist.c (cert_usage_p): Apply extKeyUsage.

15 years ago* protect-tool.c: New options --have-cert and --prompt.
Werner Koch [Thu, 19 Feb 2004 16:26:32 +0000 (16:26 +0000)]
* protect-tool.c: New options --have-cert and --prompt.
(export_p12_file): Read a certificate from STDIN and pass it to
p12_build.  Detect a keygrip and construct the filename in that
case.  Unprotcet a key if needed.  Print error messages for key
formats we can't handle.
(release_passphrase): New.
(get_passphrase): New arg PROMPTNO. Return the allocated
string. Changed all callers.

* minip12.c: Revamped the build part.
(p12_build): New args CERT and CERTLEN.

* simple-pwquery.c (agent_open): Don't mangle INFOSTR.

* export.c (export_p12, popen_protect_tool)
(gpgsm_p12_export): New.
* gpgsm.c (main): New command --export-secret-key-p12.

15 years ago* acinclude.m4: Removed macros to detect gpg-error, libgcrypt,
Werner Koch [Wed, 18 Feb 2004 18:38:50 +0000 (18:38 +0000)]
* acinclude.m4: Removed macros to detect gpg-error, libgcrypt,
libassuan and ksba as they are now distributed in m4/.

* gpg-error.m4, libgcrypt.m4, libassuan.m4, ksba.m4: New.
* Makefile.am: Distribute them

15 years agoAdded empty components for gpgsm and scdaemon.
Werner Koch [Wed, 18 Feb 2004 17:00:56 +0000 (17:00 +0000)]
Added empty components for gpgsm and scdaemon.

15 years ago* gpgsm.c (set_debug): Set the new --debug-level flags.
Werner Koch [Wed, 18 Feb 2004 17:00:21 +0000 (17:00 +0000)]
* gpgsm.c (set_debug): Set the new --debug-level flags.
(main): New option --gpgconf-list.
(main): Do not setup -u and -r keys when not required.
(main): Setup the used character set.

* keydb.c (keydb_add_resource): Print a hint to start the
gpg-agent.

15 years ago* sc-investigate.c (main): Setup the used character set.
Werner Koch [Wed, 18 Feb 2004 17:00:11 +0000 (17:00 +0000)]
* sc-investigate.c (main): Setup the used character set.
* scdaemon.c (main): Ditto.

* scdaemon.c (set_debug): New.  Add option --debug-level.
(main): Add option --gpgconf-list.

15 years agoAdjusted for moved file.
Werner Koch [Wed, 18 Feb 2004 16:59:53 +0000 (16:59 +0000)]
Adjusted for moved file.

15 years ago(print_sanitized_buffer): Don't care about
Werner Koch [Wed, 18 Feb 2004 16:59:19 +0000 (16:59 +0000)]
(print_sanitized_buffer): Don't care about
non-ASCII characaters.
(sanitize_buffer): Ditto.

15 years ago* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.
Werner Koch [Wed, 18 Feb 2004 16:59:03 +0000 (16:59 +0000)]
* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.
* passphrase.c (agent_open): Ditto.

15 years agoDescribed new options
Werner Koch [Wed, 18 Feb 2004 16:58:29 +0000 (16:58 +0000)]
Described new options

15 years ago* simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.
Werner Koch [Wed, 18 Feb 2004 16:58:00 +0000 (16:58 +0000)]
* simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.

15 years ago* protect-tool.c (main): Setup the used character set.
Werner Koch [Wed, 18 Feb 2004 16:57:38 +0000 (16:57 +0000)]
* protect-tool.c (main): Setup the used character set.
* gpg-agent.c (main): Ditto.

* gpg-agent.c (set_debug): New.  New option --debug-level.
(main): New option --gpgconf-list.

15 years ago* gpgsm.c: Fixed value parsing for --with-validation.
Werner Koch [Tue, 17 Feb 2004 17:21:07 +0000 (17:21 +0000)]
* gpgsm.c: Fixed value parsing for --with-validation.
* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.
* call-dirmngr.c (start_dirmngr): Likewise for DIRMNGR_INFO.

15 years agoMore samples
Werner Koch [Tue, 17 Feb 2004 15:07:27 +0000 (15:07 +0000)]
More samples

15 years ago* gpgsm.c: New option --with-md5-fingerprint.
Werner Koch [Tue, 17 Feb 2004 15:05:04 +0000 (15:05 +0000)]
* gpgsm.c: New option --with-md5-fingerprint.
* keylist.c (list_cert_std): Print MD5 fpr.

* gpgsm.c: New options --with-validation.
* server.c (option_handler): New option "with-validation".
* keylist.c (list_cert_std, list_internal_keys): New args CTRL and
WITH_VALIDATION. Changed callers to set it.
(list_external_cb, list_external_keys): Pass CTRL to the callback.
(list_cert_colon): Add arg CTRL.  Check validation if requested.
* certchain.c (unknown_criticals, allowed_ca, check_cert_policy)
(gpgsm_validate_chain): New args LISTMODE and FP.
(do_list): New helper for info output.
(find_up): New arg FIND_NEXT.
(gpgsm_validate_chain): After a bad signature try again with other
CA certificates.

* import.c (print_imported_status): New arg NEW_CERT. Print
additional STATUS_IMPORT_OK becuase that is what gpgme expects.
(check_and_store): Always call above function after import.
* server.c (get_status_string): Added STATUS_IMPORT_OK.

15 years agoAdded new options
Werner Koch [Tue, 17 Feb 2004 15:04:49 +0000 (15:04 +0000)]
Added new options

15 years agoAdded STATUS_IMPORT_OK.
Werner Koch [Tue, 17 Feb 2004 15:04:28 +0000 (15:04 +0000)]
Added STATUS_IMPORT_OK.

15 years ago* certcheck.c (gpgsm_create_cms_signature): Format a description
Werner Koch [Fri, 13 Feb 2004 17:06:50 +0000 (17:06 +0000)]
* certcheck.c (gpgsm_create_cms_signature): Format a description
for use by the pinentry.
* decrypt.c (gpgsm_decrypt): Ditto. Free HEXKEYGRIP.
* certdump.c (format_name_cookie, format_name_writer)
(gpgsm_format_name): New.
(gpgsm_format_serial): New.
(gpgsm_format_keydesc): New.
* call-agent.c (gpgsm_agent_pksign): New arg DESC.
(gpgsm_agent_pkdecrypt): Ditto.

15 years ago* command.c (cmd_setkeydesc): New.
Werner Koch [Fri, 13 Feb 2004 17:06:34 +0000 (17:06 +0000)]
* command.c (cmd_setkeydesc): New.
(register_commands): Add command SETKEYDESC.
(cmd_pksign, cmd_pkdecrypt): Use the key description.
(reset_notify): Reset the description.
* findkey.c (unprotect): Add arg DESC_TEXT.
(agent_key_from_file): Ditto.
* pksign.c (agent_pksign): Ditto.
* pkdecrypt.c (agent_pkdecrypt): Ditto. Made CIPHERTEXT an
unsigned char*.

15 years agoRequire libksba 0.9.4 and libgcrypt 1.1.92.
Werner Koch [Fri, 13 Feb 2004 12:40:54 +0000 (12:40 +0000)]
Require libksba 0.9.4 and libgcrypt 1.1.92.

15 years ago* encrypt.c (init_dek): Check for too weak algorithms.
Werner Koch [Fri, 13 Feb 2004 12:40:23 +0000 (12:40 +0000)]
* encrypt.c (init_dek): Check for too weak algorithms.

* import.c (parse_p12, popen_protect_tool): New.

* base64.c (gpgsm_create_reader): New arg ALLOW_MULTI_PEM.
Changed all callers.
(base64_reader_cb): Handle it here.
(gpgsm_reader_eof_seen): New.
(base64_reader_cb): Set a flag for EOF.
(simple_reader_cb): Ditto.

15 years agoRemoved debugging cruft.
Werner Koch [Fri, 13 Feb 2004 12:39:49 +0000 (12:39 +0000)]
Removed debugging cruft.

15 years ago(main): New options --no-fail-on-exist, --homedir.
Werner Koch [Fri, 13 Feb 2004 12:37:54 +0000 (12:37 +0000)]
(main): New options --no-fail-on-exist, --homedir.
(store_private_key): Use them here.

15 years agoRemoved cruft from debugging.
Werner Koch [Thu, 12 Feb 2004 10:05:47 +0000 (10:05 +0000)]
Removed cruft from debugging.

15 years ago* watchgnupg.c (main): Implement option "--".
Werner Koch [Thu, 12 Feb 2004 10:02:22 +0000 (10:02 +0000)]
* watchgnupg.c (main): Implement option "--".
(print_version): New.

* Makefile.am: Include cmacros.am for common flags.