gnupg.git
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.

15 years agoMore stuff for testing
Werner Koch [Thu, 12 Feb 2004 09:30:37 +0000 (09:30 +0000)]
More stuff for testing

15 years ago* Makefile.am (AM_CPPFLAGS): Pass directory constants via -D; this
Werner Koch [Thu, 12 Feb 2004 09:29:42 +0000 (09:29 +0000)]
* Makefile.am (AM_CPPFLAGS): Pass directory constants via -D; this
will allow to override directory names at make time.

15 years agoInclude cmacros.am for common flags.
Werner Koch [Thu, 12 Feb 2004 09:29:14 +0000 (09:29 +0000)]
Include cmacros.am for common flags.

15 years agoReplaced INCLUDES by AM_CPPFLAGS.
Werner Koch [Thu, 12 Feb 2004 09:29:00 +0000 (09:29 +0000)]
Replaced INCLUDES by AM_CPPFLAGS.

15 years ago* gpgv.c: Removed g10defs.h.
Werner Koch [Thu, 12 Feb 2004 09:28:52 +0000 (09:28 +0000)]
* gpgv.c: Removed g10defs.h.

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

15 years agominor cleanups
Werner Koch [Thu, 12 Feb 2004 09:28:32 +0000 (09:28 +0000)]
minor cleanups

15 years agoNew
Werner Koch [Thu, 12 Feb 2004 09:27:58 +0000 (09:27 +0000)]
New

15 years agoInclude cmacros.am for common flags.
Werner Koch [Thu, 12 Feb 2004 09:27:36 +0000 (09:27 +0000)]
Include cmacros.am for common flags.
(libexec_PROGRAMS): Put gpg-protect-tool there.

15 years ago* am/cmacros.am: New.
Werner Koch [Thu, 12 Feb 2004 09:25:30 +0000 (09:25 +0000)]
* am/cmacros.am: New.
* configure.ac: Removed the need for g10defs.h.  Reworked the
--with-foo-pgm stuff.
* autogen.sh (check_version): Removed bashism and simplified.
* acinclude.m4 (AM_PATH_OPENSC): Kludge to avoid error output for
a bad opensc-config.

15 years agoNew. Based on code from ../sm/base64.c.
Werner Koch [Tue, 10 Feb 2004 19:27:54 +0000 (19:27 +0000)]
New.  Based on code from ../sm/base64.c.

15 years ago* minip12.c (parse_bag_encrypted_data): Finished implementation.
Werner Koch [Tue, 10 Feb 2004 19:26:55 +0000 (19:26 +0000)]
* minip12.c (parse_bag_encrypted_data): Finished implementation.
(p12_parse): Add callback args.
* protect-tool.c (import_p12_cert_cb): New.
(import_p12_file): Use it.

15 years agoFixed a build bug (straw letter in sm/import.c) and updated the documentation.
Werner Koch [Wed, 4 Feb 2004 19:13:16 +0000 (19:13 +0000)]
Fixed a build bug (straw letter in sm/import.c) and updated the documentation.

15 years agoTry to use getent, so that it also works for NIS
Werner Koch [Tue, 3 Feb 2004 16:38:07 +0000 (16:38 +0000)]
Try to use getent, so that it also works for NIS
setups.

15 years ago* import.c (check_and_store): Import certificates even with
Werner Koch [Tue, 3 Feb 2004 16:27:51 +0000 (16:27 +0000)]
* import.c (check_and_store): Import certificates even with
missing issuer's cert.  Fixed an "depending on the verbose
setting" bug.

15 years ago* findkey.c (agent_key_from_file): Extra paranoid wipe.
Werner Koch [Tue, 3 Feb 2004 16:24:37 +0000 (16:24 +0000)]
* findkey.c (agent_key_from_file): Extra paranoid wipe.
* protect.c (agent_unprotect): Ditto.
(merge_lists): Ditto. Add arg RESULTLEN.
* pkdecrypt.c (agent_pkdecrypt): Don't show the secret key even in
debug mode.

* protect.c: Add DSA and Elgamal description.

15 years ago* keybox.h (keybox_flag_t): New.
Werner Koch [Mon, 2 Feb 2004 17:09:35 +0000 (17:09 +0000)]
* keybox.h (keybox_flag_t): New.
* keybox-search.c (get_flag_from_image, keybox_get_flags): New.
(_keybox_get_flag_location): New.

* certchain.c (gpgsm_validate_chain): Mark revoked certs in the
keybox.

* keylist.c (list_cert_colon): New arg VALIDITY; use it to print a
revoked flag.
(list_internal_keys): Retrieve validity flag.
(list_external_cb): Pass 0 as validity flag.
* keydb.c (keydb_get_flags, keydb_set_flags): New.
(keydb_set_cert_flags): New.
(lock_all): Return a proper error code.
(keydb_lock): New.
(keydb_delete): Don't lock but check that it has been locked.
(keydb_update_keyblock): Ditto.
* delete.c (delete_one): Take a lock.

15 years agoFix copyright line.
Marcus Brinkmann [Sun, 1 Feb 2004 15:30:50 +0000 (15:30 +0000)]
Fix copyright line.

15 years ago2004-01-31 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 31 Jan 2004 13:58:27 +0000 (13:58 +0000)]
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.

15 years ago*** empty log message ***
Werner Koch [Fri, 30 Jan 2004 17:57:16 +0000 (17:57 +0000)]
*** empty log message ***

15 years ago2004-01-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 30 Jan 2004 12:37:09 +0000 (12:37 +0000)]
2004-01-30  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (libcommon_a_SOURCES): Add xasprintf.c.
* miscellaneous.c (xasprintf): Moved to ...
* xasprintf (xasprintf): ... here.  New file.
This allows to use xasprintf without sucking in gpg-error.

15 years ago2004-01-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 30 Jan 2004 12:15:53 +0000 (12:15 +0000)]
2004-01-30  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_error): New function, use it instead of
error() throughout.

15 years ago2004-01-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 30 Jan 2004 10:38:07 +0000 (10:38 +0000)]
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.

15 years agoPost release updated
Werner Koch [Fri, 30 Jan 2004 10:13:51 +0000 (10:13 +0000)]
Post release updated

15 years ago(check_cert_policy): Fixed read error checking. V1-9-4
Werner Koch [Fri, 30 Jan 2004 09:47:28 +0000 (09:47 +0000)]
(check_cert_policy): Fixed read error checking.
(check_cert_policy): With no critical policies issue only a
warning if the policy file does not exists.

15 years ago* configure.ac: Require libksba 0.9.3 due to another bug fix there.
Werner Koch [Fri, 30 Jan 2004 09:12:36 +0000 (09:12 +0000)]
* 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.

15 years agoNew.
Werner Koch [Thu, 29 Jan 2004 20:20:10 +0000 (20:20 +0000)]
New.

15 years ago(reset_notify): Release the application context and
Werner Koch [Thu, 29 Jan 2004 20:17:51 +0000 (20:17 +0000)]
(reset_notify): Release the application context and
close the reader.

15 years ago* agent.h (server_control_s): Add connection_fd field.
Werner Koch [Thu, 29 Jan 2004 20:17:27 +0000 (20:17 +0000)]
* agent.h (server_control_s): Add connection_fd field.
* command.c (start_command_handler): Init it here.
* gpg-agent.c (agent_init_default_ctrl): and here.
* call-scd.c: Add the CTRL arg to all functions calling start_scd
and pass it to start_scd.  Changed all callers
(start_scd): Keep track of the current active connection.
(agent_reset_scd): New.
* command.c (start_command_handler): Call it here.
* learncard.c (agent_handle_learn): Add arg CTRL; changed caller.
(send_cert_back): Ditto.

15 years ago* README: Updated.
Werner Koch [Thu, 29 Jan 2004 20:16:59 +0000 (20:16 +0000)]
* README: Updated.

15 years ago(parse_dn_part): Map common OIDs to human readable
Werner Koch [Thu, 29 Jan 2004 07:41:55 +0000 (07:41 +0000)]
(parse_dn_part): Map common OIDs to human readable
labels.  Make sure that a value won't get truncated if it includes
a Nul.

15 years ago2004-01-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 28 Jan 2004 23:58:18 +0000 (23:58 +0000)]
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.

15 years agoadd a few notes.
Werner Koch [Wed, 28 Jan 2004 16:22:25 +0000 (16:22 +0000)]
add a few notes.

15 years ago(iso7816_manage_security_env): New.
Werner Koch [Wed, 28 Jan 2004 16:21:57 +0000 (16:21 +0000)]
(iso7816_manage_security_env): New.
(iso7816_decipher): Add PADIND argument.

** app-nks.c is now functional **

15 years ago(gpgsm_validate_chain): Changed the message printed
Werner Koch [Wed, 28 Jan 2004 16:20:17 +0000 (16:20 +0000)]
(gpgsm_validate_chain): Changed the message printed
for an untrusted root certificate.