aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* command-ssh.c: Fix saving of RSA keys (meaning of p/q/u was borked);GNUPG-1-9-BRANCH-MOMoritz Schulte2004-12-091-5/+30
| | | | | correctly use secure memory for message requests.
* * use x* functions instead of gcry_* memory management functionMoritz Schulte2004-10-021-78/+78
| | | | | | * some cleanups * some fixed memory leaks
* Cleaned up comment handling.Moritz Schulte2004-10-021-12/+5
|
* Updated from Libestream.Moritz Schulte2004-10-011-0/+2
|
* Use a sane stacksize (had unintenionally commited wrong stack size).Moritz Schulte2004-10-011-1/+1
|
* Use xtrymalloc instead of gcry_malloc.Moritz Schulte2004-10-011-1/+1
|
* Updated from HEAD.Moritz Schulte2004-10-011-1/+1
|
* Use gcry_malloc instead of malloc where appropriate.Moritz Schulte2004-09-281-1/+1
|
* *** empty log message ***Moritz Schulte2004-09-271-1/+1
|
* Added Libestream.Moritz Schulte2004-09-276-1648/+2536
|
* 2004-09-27 Moritz Schulte <[email protected]>Moritz Schulte2004-09-277-1028/+1692
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **MERGED FROM MAIN BRANCH, RE-PATCHED** * command-ssh.c: New file. * findkey.c (modify_description): New function. (agent_key_from_file): New variables: comment, comment_sexp, comment_length, desc_text_modified; extract comment from S-Exp, pass modified version to unprotect(). * agent.h: Declare: start_command_handler_ssh. (struct opt): New member: ssh_support. * gpg-agent.c: Include <sys/select.h>. New configuration option: ssh-support. (socket_name_ssh): New variabel. (handle_connections): Additional argument: listen_fd_ssh. Accept connections on both sockets, call start_connection_thread_ssh for connections on listen_fd_ssh. (start_connection_thread_ssh): New function. (cleanup_do): New functions, basically old cleanup function. (cleanup): Call cleanup_do for socket_name and socket_name_ssh. (server_socket_create): New function ... (main): ... use it. (main): Generate environment entries for ssh. * query.c (start_pinentry): Accept CTRL being NULL.
* 2004-08-09 Moritz Schulte <[email protected]>Moritz Schulte2004-08-082-1/+11
| | | | | * findkey.c (modify_description): Accept description being NULL.
* 2004-08-07 Moritz Schulte <[email protected]>Moritz Schulte2004-08-073-27/+176
| | | | | | | | | | | | | | | | | | | * command-ssh.c (ssh_key_to_sexp_buffer): New argument: comment; integrate into S-Exp. (ssh_identity_register): New argument: comment; pass to ssh_key_to_sexp_buffer(). (ssh_handler_add_identity): Pass comment to ssh_identity_register(). (ssh_identity_register): Allocate description dynamically, insert comment; new variable: description_length; removed variable: i. (data_sign): Do not calculate key grip for integration in description; removed variable: i. * findkey.c (modify_description): New function. (agent_key_from_file): New variables: comment, comment_sexp, comment_length, desc_text_modified; extract comment from S-Exp, pass modified version to unprotect().
* 2004-07-30 Moritz Schulte <[email protected]>Moritz Schulte2004-07-304-36/+130
| | | | | | * command-ssh.c: Updated Libgpg-stream (more support for secure memory), adjusted code for new API.
* Last commit was incompleteMoritz Schulte2004-07-271-7/+2
|
* 2004-07-27 Moritz Schulte <[email protected]>Moritz Schulte2004-07-265-73/+571
| | | | | | | | | | | | | | * command-ssh.c: Use gcrypt memory allocators, use secure memory where necessary. 2004-07-26 Moritz Schulte <[email protected]> * command-ssh.c (data_sign): Do not forget to unsigned char when constructing human-readable key grip. * Makefile.am (gpg_agent_SOURCES): Removed: buffer.c, buffer.h; updated Libgpg-stream.
* 2004-07-24 Moritz Schulte <[email protected]>Moritz Schulte2004-07-232-0/+45
| | | | | * gpg-stream-config.h: New file (was missing before).
* New file.Moritz Schulte2004-07-191-0/+3
|
* 2004-07-19 Moritz Schulte <[email protected]>Moritz Schulte2004-07-195-59/+73
| | | | | | | | * command-ssh.c: Only log debugging message if asked to do so. * command-ssh.c (gpg_stream_copy): Remove function. Update Libgpg-stream.
* 2004-07-19 Moritz Schulte <[email protected]>Moritz Schulte2004-07-192-50/+49
| | | | | * command-ssh.c: Fix handling of iqmp vs. u.
* 2004-07-19 Moritz Schulte <[email protected]>Moritz Schulte2004-07-192-4/+21
| | | | | * command-ssh.c (ssh_identity_register): passphrase must not be freed.
* 2004-07-19 Moritz Schulte <[email protected]>Moritz Schulte2004-07-1911-137/+3639
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (gpg_agent_SOURCES): Adding: gpg-stream.c, gpg-stream.h, buffer.c, buffer.h, command-ssh.c. * pksign.c (agent_pksign_do): New function, based on code ripped out from agent_pksign. (agent_pksign): Use agent_pksign_do. * query.c (start_pinentry): Accept CTRL being NULL. * agent.h (start_command_handler_ssh): Declare function. (agent_pksign_do): Declare function. (opt): New member: ssh_support. * gpg-agent.c: Include <sys/select.h>. New configuration option: ssh-support. (socket_name_ssh): New variabel. (handle_connections): Additional argument: listen_fd_ssh. Accept connections on both sockets, call start_connection_thread_ssh for connections on listen_fd_ssh. (start_connection_thread_ssh): New function. (cleanup_do): New functions, basically old cleanup function. (cleanup): Call cleanup_do for socket_name and socket_name_ssh. (server_socket_create): New function ... (main): ... use it. (main): Generate environment entries for ssh. * command-ssh.c: New file, implementing the ssh-agent protocol. * gpg-stream.c, gpg-stream.h, buffer.c, buffer.h: Merged Libgpg-stream.
* This commit was manufactured by cvs2svn to create branchRepo Admin2004-06-20395-155087/+0
| | | | 'GNUPG-1-9-BRANCH-MO'.
* 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.
* (main) <gpgconf>: Use gpg.conf and not /dev/null asWerner Koch2004-04-302-2/+9
| | | | | default filename.
* * protect-tool.c: New option --enable-status-msg.Werner Koch2004-04-304-12/+77
| | | | | | | | | | | | (store_private_key): Print status messages for imported keys. (read_and_unprotect): Ditto for bad passphrase. * import.c (check_and_store): Do not update the stats for hidden imports of issuer certs. (popen_protect_tool): Request statusmessages from the protect-tool. (parse_p12): Detect status messages. Add new arg STATS and update them. (print_imported_summary): Include secret key stats.
* Allow changing --log-fileWerner Koch2004-04-301-1/+1
|
* * gpg-agent.c (parse_rereadable_options): New arg REREAD. AllowWerner Koch2004-04-304-8/+42
| | | | | | | | | changing oLogFile. (current_logfile): New. * logging.c (log_set_file): Make sure the log stream will be closed even if the stderr fileno will be assigned to a new socket.
* (check_and_store): Do not update the stats for hiddenWerner Koch2004-04-302-8/+20
| | | | | imports of issuer certs.
* Added more runtime flags for the gpg-agentWerner Koch2004-04-302-4/+9
| | | | | backend.
* 2004-04-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann2004-04-292-0/+11
| | | | | | | * gpgconf-comp.c (change_options_program): Turn on utf8-strings in the gpgconf specific part of the config file for the GnuPG backend.
* post release version bumpWerner Koch2004-04-292-1/+6
|