aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* More stuff for testingWerner Koch2004-02-127-0/+17
|
* * Makefile.am (AM_CPPFLAGS): Pass directory constants via -D; thisWerner Koch2004-02-123-6/+12
| | | | | will allow to override directory names at make time.
* Include cmacros.am for common flags.Werner Koch2004-02-123-5/+11
|
* Replaced INCLUDES by AM_CPPFLAGS.Werner Koch2004-02-122-3/+9
|
* * gpgv.c: Removed g10defs.h.Werner Koch2004-02-125-13/+23
| | | | | * Makefile.am: Include cmacros.am for common flags.
* minor cleanupsWerner Koch2004-02-122-3/+3
|
* NewWerner Koch2004-02-121-0/+45
|
* Include cmacros.am for common flags.Werner Koch2004-02-123-45/+81
| | | | | (libexec_PROGRAMS): Put gpg-protect-tool there.
* * am/cmacros.am: New.Werner Koch2004-02-125-118/+124
| | | | | | | | | * 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.
* New. Based on code from ../sm/base64.c.Werner Koch2004-02-104-2/+234
|
* * minip12.c (parse_bag_encrypted_data): Finished implementation.Werner Koch2004-02-104-38/+199
| | | | | | | (p12_parse): Add callback args. * protect-tool.c (import_p12_cert_cb): New. (import_p12_file): Use it.
* Fixed a build bug (straw letter in sm/import.c) and updated the documentation.Werner Koch2004-02-0411-39/+170
|
* Try to use getent, so that it also works for NISWerner Koch2004-02-032-3/+16
| | | | | setups.
* * import.c (check_and_store): Import certificates even withWerner Koch2004-02-032-4/+17
| | | | | | missing issuer's cert. Fixed an "depending on the verbose setting" bug.
* * findkey.c (agent_key_from_file): Extra paranoid wipe.Werner Koch2004-02-035-18/+40
| | | | | | | | | | * 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.
* * keybox.h (keybox_flag_t): New.Werner Koch2004-02-0212-29/+438
| | | | | | | | | | | | | | | | | | | | | * 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.
* Fix copyright line.Marcus Brinkmann2004-02-011-1/+1
|
* 2004-01-31 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-01-312-104/+210
| | | | | | | * gpgconf-comp.c: Some bug fixes, parse only defaults from the program, and read the current values from the configuration file directly.
* *** empty log message ***Werner Koch2004-01-302-2/+25
|
* 2004-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-01-304-19/+52
| | | | | | | | * 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.