aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (get_passphrase): Make sure that the defaultWerner Koch2004-08-182-5/+71
| | | | | | | | prompts passed to gpg-agent are utf-8 encoded. Add new prompt values. (import_p12_file, import_p12_file, export_p12_file): Changed calls to get_passphrase so that better prompts are displayed. (get_new_passphrase): New.
* * certlist.c (gpgsm_cert_use_ocsp_p): New.Werner Koch2004-08-185-5/+39
| | | | | | (cert_usage_p): Support it here. * call-dirmngr.c (gpgsm_dirmngr_isvalid): Use it here.
* (simple_pwquery): Handle gpg-error style returnWerner Koch2004-08-183-2/+17
| | | | | code for canceled.
* (print_sanitized_utf8_string): Actually implementWerner Koch2004-08-182-2/+8
| | | | | it.
* (get_passphrase): Make sure that the defaultWerner Koch2004-08-182-0/+39
| | | | | prompts passed to gpg-agent are utf-8 encoded.
* 2004-08-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-08-182-3/+10
| | | | | * passphrase.c (agent_get_passphrase):
* 2004-08-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-08-172-1/+5
| | | | | * import.c: Fix typo in last change.
* tests/pkits: New directoryWerner Koch2004-08-171-1/+12
|
* * import.c (check_and_store): Do a full validation ifWerner Koch2004-08-1724-98/+1158
| | | | | | | | | | | | | | --with-validation is set. * certchain.c (gpgsm_basic_cert_check): Print more detailed error messages. * certcheck.c (do_encode_md): Partly support DSA. Add new arg PKALGO. Changed all callers to pass it. (pk_algo_from_sexp): New. tests/pkits: New directory
* (cmd_encrypt): Use DEFAULT_RECPLIST and not recplistWerner Koch2004-08-162-1/+6
| | | | | for encrypt-to keys.
* 2004-08-09 Moritz Schulte <[email protected]>Moritz Schulte2004-08-092-0/+119
| | | | | * gpgsm-gencert.sh: New file.
* * gpgsm.c: New option --with-ephemeral-keys.Werner Koch2004-08-065-9/+44
| | | | | | | * keylist.c (list_internal_keys): Set it here. (list_cert_raw): And indicate those keys. Changed all our callers to pass the new arg HD through.
* * configure.ac: Changed tests for libusb to also suuport theWerner Koch2004-08-0516-31/+282
| | | | | | | | | | | | | | | | | | stable version 0.1.x. * scdaemon.texi (Card applications): New section. * scdaemon.c (main): New option --disable-application. * app.c (is_app_allowed): New. (select_application): Use it to check for disabled applications. * ccid-driver.h (CCID_DRIVER_ERR_ABORTED): New. * ccid-driver.c (ccid_open_reader): Support the stable 0.1 version of libusb. (ccid_get_atr): Handle short messages. * apdu.c (my_rapdu_get_status): Implemented.
* 2004-07-27 Moritz Schulte <[email protected]>Moritz Schulte2004-07-272-0/+7
| | | | | * apdu.c: Include <signal.h>.
* 2004-07-27 Moritz Schulte <[email protected]>Moritz Schulte2004-07-271-4/+5
| | | | | * Makefile.am: Use @DL_LIBS@ instead of -ldl.
* 2004-07-27 Moritz Schulte <[email protected]>Moritz Schulte2004-07-271-0/+7
| | | | | | * configure.ac: Check for dlopen in libc and libdl, substitute DL_LIBS accordingly.
* post-release version number bumpWerner Koch2004-07-222-1/+5
|
* * configure.ac: Define AM conditional HAVE_OPENSC.V1-9-10Werner Koch2004-07-227-12/+41
| | | | | | | | | | * Makefile.am: Make OpenSC lib link after libgcrypt. Do not link to pth. * apdu.c: Don't use Pth if we use OpenSC. * sc-investigate.c, scdaemon.c: Disable use of pth if OpenSC is used. * scdaemon.c (main): Bumbed thread stack size up to 512k.
* * trustlist.c (read_list): Allow colons in the fingerprint.Werner Koch2004-07-2214-200/+275
| | | | | | | | | | | | | (headerblurb): Rephrased. * gpg-agent.c (handle_connections): Increase the stack size ot 256k. * de.po: Updated. * scdaemon.c (main): Bumbed thread stack size up to 512k. * keylist.c (list_cert_raw): Print the keygrip.
* * Makefile.am (sm): Build kbx only if gpgsm is to be build.Werner Koch2004-07-204-2/+16
| | | | | * maperror.c: Removed header ksba.h. Not required anymore.
* New option --enable-agent-only.Werner Koch2004-07-202-2/+24
|
* * rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.Werner Koch2004-07-203-4/+28
|
* (gpgsm_validate_chain): The trust check didn'tWerner Koch2004-07-202-0/+8
| | | | | worked anymore, probably due to the changes at 2003-03-04. Fixed.
* (reader_table_s): Add function pointers for the backends.Werner Koch2004-07-166-558/+1226
| | | | | | | | | | | | | | | | | | (apdu_close_reader, apdu_get_status, apdu_activate) (send_apdu): Make use of them. (new_reader_slot): Intialize them to NULL. (dump_ccid_reader_status, ct_dump_reader_status): New. (dump_pcsc_reader_status): New. (open_ct_reader, open_pcsc_reader, open_ccid_reader) (open_osc_reader, open_rapdu_reader): Intialize function pointers. (ct_activate_card, ct_send_apdu, pcsc_send_apdu, osc_send_apdu) (error_string): Removed. Replaced by apdu_strerror. (get_ccid_error_string): Removed. (ct_activate_card): Remove the unused loop. (reset_ct_reader): Implemented. (ct_send_apdu): Activate the card if not yet done. (pcsc_send_apdu): Ditto.
* Initialize Pth which is now required.Werner Koch2004-07-012-1/+43
| | | | | (interactive_shell): New command "readpk".
* * card-util.c (change_login): Kludge to allow reading data from aWerner Koch2004-07-014-11/+146
| | | | | | | | | | | | | file. (card_edit): Pass ARG_STRING to change_login. (card_status): Print CA fingerprints. (change_cafpr): New. (card_edit): New command CAFPR. * call-agent.h: Add members for CA fingerprints. * call-agent.c (agent_release_card_info): Invalid them. (learn_status_cb): Store them.
* (do_getattr): Fix for sending CA-FPR.Werner Koch2004-07-012-2/+11
|
* Added glossaryWerner Koch2004-06-292-3/+30
|
* Added some doc stuffWerner Koch2004-06-285-2/+30
|
* (log_set_file): Do not close an old logstream if itWerner Koch2004-06-212-6/+12
| | | | | used to be stderr or stdout.
* * sc-investigate.c (my_read_line): Renamed from read_line.Werner Koch2004-06-212-2/+6
|
* 2004-06-20 Moritz Schulte <[email protected]>Moritz Schulte2004-06-202-0/+5
| | | | | * gpg-agent.c: Include <sys/stat.h> (build fix for BSD).
* * debugging.texi: New.Werner Koch2004-06-181-0/+82
| | | | | * gnupg.texi: Include it.
* * debugging.texi: New.Werner Koch2004-06-183-1/+9
| | | | | * gnupg.texi: Include it.
* * keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.Werner Koch2004-06-184-44/+187
| | | | | | (update_stats): New. * kbxutil.c (main): New command --stats.
* (osc_get_status): Fixed type in function name. Noted byWerner Koch2004-06-162-1/+6
| | | | | Axel Thimm. Yes, I didn't tested it with OpenSC :-(.
* * xreadline.c: New. Based on the iobuf_read_line function.Werner Koch2004-06-147-36/+183
| | | | | | | | | | * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. * gpgconf-comp.c (retrieve_options_from_program) (retrieve_options_from_file, change_options_file) (change_options_program, gc_component_change_options): Replaced getline by read_line and test for allocation failure.
* post release version bumpWerner Koch2004-06-082-1/+5
|
* about to release 1.9.9V1-9-9Werner Koch2004-06-084-3/+7
|
* * configure.ac: Require libksba 0.9.7.Werner Koch2004-06-0613-69/+118
| | | | | | | | | | | | | | | | * certreqgen.c (get_parameter_uint, create_request): Create an extension for key usage when requested. * gpgsm.c (main): Install emergency_cleanup also as an atexit handler. * verify.c (gpgsm_verify): Removed the separate error code handling for KSBA. We use shared error codes anyway. * export.c (export_p12): Removed debugging code. * encrypt.c (gpgsm_encrypt): Put the session key in to secure memory.
* * util.h (xtrycalloc_secure,xtrymalloc_secure): New.Werner Koch2004-06-062-1/+7
|
* 2004-05-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-05-212-5/+6
| | | | | | | | * gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its only option "max-replies" into LDAP group. (gc_component): Change description of dirmngr to "Directory Manager".
* 2004-05-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-05-212-0/+17
| | | | | | * gpgconf-comp.c (gc_component_change_options): Move the per-process backup file into a standard location.
* * gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.Werner Koch2004-05-116-42/+153
| | | | | | | | | | | | | | | | (start_connection_thread): Hack to simulate a ticker. * trustlist.c (agent_trustlist_housekeeping) (agent_reload_trustlist): New. Protected all global functions here with a simple counter which is sufficient for Pth. * fingerprint.c (gpgsm_get_key_algo_info): New. * sign.c (gpgsm_sign): Don't assume RSA in the status line. * keylist.c (list_cert_colon): Really print the algorithm and key length. (list_cert_raw, list_cert_std): Ditto. (list_cert_colon): Reorganized to be able to tell whether a root certificate is trusted.
* * sign.c (gpgsm_sign): Include the error source in the final errorWerner Koch2004-05-116-12/+106
| | | | | | | | | | | | | | | message. * decrypt.c (gpgsm_decrypt): Ditto. * fingerprint.c (gpgsm_get_key_algo_info): New. * sign.c (gpgsm_sign): Don't assume RSA in the status line. * keylist.c (list_cert_colon): Really print the algorithm and key length. (list_cert_raw, list_cert_std): Ditto. * gpgsm.h (opt): Add member CONFIG_FILENAME. * gpgsm.c (main): Use it here instead of the local var.
* * sysutils.c (disable_core_dumps): Only set the current limit.Werner Koch2004-05-118-8/+57
| | | | | | | | | | | | | | | (enable_core_dumps): New. * gpgsm.texi (Esoteric Options): Add --debug-allow-core-dump. * gpgsm.c: New option --debug-allow-core-dump. * gpgsm.h (opt): Add member CONFIG_FILENAME. * gpgsm.c (main): Use it here instead of the local var. * server.c (gpgsm_server): Print some additional information with the hello in verbose mode.
* Also print agent and dirmngr info.Werner Koch2004-05-111-6/+13
|
* * gpgsm.h (opt): Add member CONFIG_FILENAME.Werner Koch2004-05-117-16/+38
| | | | | | | * gpgsm.c (main): Use it here instead of the local var. * server.c (gpgsm_server): Print some additional information with the hello in verbose mode.
* (log_set_file): Oops, don't close if LOGSTREAM is NULL.Werner Koch2004-05-052-1/+5
|
* * gpg-agent.c: Remove help texts for options lile --lc-ctype.Werner Koch2004-05-038-12/+51
| | | | | | | | | | (main): New option --allow-mark-trusted. * trustlist.c (agent_marktrusted): Use it here. * gpg-agent.texi (Agent Options): Add --allow-mark-trusted. * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.