aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* still preparing for a releaseV1-9-6Werner Koch2004-03-061-2/+2
|
* Preparing for a releaseWerner Koch2004-03-0615-180/+423
|
* (gpgsm_export): Make sure that we don't export moreWerner Koch2004-03-032-3/+16
| | | | | than one certificate.
* (create_duptable, destroy_duptable)Werner Koch2004-03-022-35/+149
| | | | | | (insert_duptable): New. (gpgsm_export): Avoid duplicates.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-262-96/+121
| | | | | | * gpgconf-comp.c (gc_component_list_options): Do not print empty groups.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-262-3/+292
| | | | | | | * gpgconf-comp.c (option_check_validity): Check if option is active. (change_options_file): Implement.
* (compare_certs): New.Werner Koch2004-02-262-4/+46
| | | | | | (gpgsm_validate_chain): Fixed infinite certificate checks after bad signatures.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-262-6/+3
| | | | | | * gpgconf-comp.c (retrieve_options_from_program): Remove broken string handling.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-263-13/+77
| | | | | | * gpgconf-comp.c (change_options_program): Support all types of options, including list types.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-263-100/+92
| | | | | | | * README.gpgconf: Fix description of arguments. * gpgconf-comp.c (option_check_validity): Rewritten to properly support optional arguments in lists.
* 2004-02-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-263-13/+141
| | | | | | | | | | | * 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-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-252-14/+26
| | | | | | | | | * 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 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-252-1/+13
| | | | | | * gpgconf-comp.c (gc_component_list_options): Correct output for lists of arg type none.
* New option --disable-threads to inhibitWerner Koch2004-02-253-37/+70
| | | | | unintentional builds without Pth.
* 2004-02-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-243-60/+266
| | | | | | | | | | | | | | * 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.
* (list_cert_colon): Print the fingerprint as theWerner Koch2004-02-242-2/+13
| | | | | cert-id for root certificates.
* 2004-02-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-232-2/+7
| | | | | | * README.gpgconf: Change meaning of type 0 options value if it is the empty string or "0".
* 2004-02-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-233-9/+22
| | | | | | | * gpgconf.h (struct): Add member runtime. * gpgconf.c: Add new option oRuntime. (main): Same here.
* 2004-02-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-02-232-11/+98
| | | | | | | | | | | | * 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.
* post release version bumbWerner Koch2004-02-212-1/+6
|
* About to release 1.9.5V1-9-5Werner Koch2004-02-213-4/+8
|
* * keylist.c (list_internal_keys): Return error codes.Werner Koch2004-02-216-16/+56
| | | | | | | | | (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.
* * command.c (cmd_passwd): Take acount of a key description.Werner Koch2004-02-217-12/+59
| | | | | | | | | * 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.
* Fixed URLs in the notice messages.Werner Koch2004-02-202-4/+8
|
* * Makefile.am: Reset GPG_AGENT_INFO hereWerner Koch2004-02-203-3/+6
| | | | | * runtest: and not anymore here.
* * gpgsm.c (main): New option --debug-ignore-expiration.Werner Koch2004-02-208-36/+159
| | | | | | | * certchain.c (gpgsm_validate_chain): Use it here. * certlist.c (cert_usage_p): Apply extKeyUsage.
* * protect-tool.c: New options --have-cert and --prompt.Werner Koch2004-02-1914-147/+1062
| | | | | | | | | | | | | | | | | | | | (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.
* * acinclude.m4: Removed macros to detect gpg-error, libgcrypt,Werner Koch2004-02-188-258/+295
| | | | | | | | libassuan and ksba as they are now distributed in m4/. * gpg-error.m4, libgcrypt.m4, libassuan.m4, ksba.m4: New. * Makefile.am: Distribute them
* Added empty components for gpgsm and scdaemon.Werner Koch2004-02-182-0/+26
|
* * gpgsm.c (set_debug): Set the new --debug-level flags.Werner Koch2004-02-184-50/+143
| | | | | | | | | | (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.
* * sc-investigate.c (main): Setup the used character set.Werner Koch2004-02-183-7/+92
| | | | | | | | * scdaemon.c (main): Ditto. * scdaemon.c (set_debug): New. Add option --debug-level. (main): Add option --gpgconf-list.
* Adjusted for moved file.Werner Koch2004-02-181-1/+1
|
* (print_sanitized_buffer): Don't care aboutWerner Koch2004-02-182-5/+9
| | | | | | non-ASCII characaters. (sanitize_buffer): Ditto.
* * call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.Werner Koch2004-02-183-2/+7
| | | | | * passphrase.c (agent_open): Ditto.
* Described new optionsWerner Koch2004-02-183-5/+76
|
* * simple-pwquery.c (agent_open): Ignore an empty GPG_AGENT_INFO.Werner Koch2004-02-182-1/+3
|
* * protect-tool.c (main): Setup the used character set.Werner Koch2004-02-188-580/+112
| | | | | | | | * gpg-agent.c (main): Ditto. * gpg-agent.c (set_debug): New. New option --debug-level. (main): New option --gpgconf-list.
* * gpgsm.c: Fixed value parsing for --with-validation.Werner Koch2004-02-174-4/+9
| | | | | | * call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO. * call-dirmngr.c (start_dirmngr): Likewise for DIRMNGR_INFO.
* More samplesWerner Koch2004-02-175-0/+49
|
* * gpgsm.c: New option --with-md5-fingerprint.Werner Koch2004-02-1711-153/+315
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* Added new optionsWerner Koch2004-02-171-1/+14
|
* Added STATUS_IMPORT_OK.Werner Koch2004-02-172-0/+5
|
* * certcheck.c (gpgsm_create_cms_signature): Format a descriptionWerner Koch2004-02-137-13/+236
| | | | | | | | | | | | 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.
* * command.c (cmd_setkeydesc): New.Werner Koch2004-02-137-53/+134
| | | | | | | | | | | | (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*.
* Require libksba 0.9.4 and libgcrypt 1.1.92.Werner Koch2004-02-135-14/+17
|
* * encrypt.c (init_dek): Check for too weak algorithms.Werner Koch2004-02-138-68/+457
| | | | | | | | | | | | * 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.
* Removed debugging cruft.Werner Koch2004-02-131-11/+11
|
* (main): New options --no-fail-on-exist, --homedir.Werner Koch2004-02-134-45/+99
| | | | | (store_private_key): Use them here.
* Removed cruft from debugging.Werner Koch2004-02-122-1/+2
|
* * watchgnupg.c (main): Implement option "--".Werner Koch2004-02-123-19/+58
| | | | | | | (print_version): New. * Makefile.am: Include cmacros.am for common flags.