aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-05-11* gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.Werner Koch1-0/+7
(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.
2004-05-03* gpg-agent.c: Remove help texts for options lile --lc-ctype.Werner Koch1-11/+22
(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.
2004-04-30* gpg-agent.c (parse_rereadable_options): New arg REREAD. AllowWerner Koch1-7/+23
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.
2004-04-21* call-scd.c (start_scd): Send event-signal option. Always checkWerner Koch1-7/+3
that the scdaemon is still running. * gpg-agent.c (handle_signal): Do not use SIGUSR{1,2} anymore for changing the verbosity.
2004-04-16* gpg-agent.c (main): Tell the logging code taht we are runnignWerner Koch1-8/+16
detached. * logging.h (JNLIB_LOG_WITH_PREFIX): Add constants for the flag values. * logging.c (log_set_prefix): New flag DETACHED. (fun_writer): Take care of this flag. (log_test_fd): New.
2004-04-06* configure.ac: Require libgcrypt 1.1.94.Werner Koch1-4/+4
Introduce PACKAGE_GT and set it to gnupg2. * gpg-agent.c (main): Use new libgcrypt thread library register scheme. * Makevars (DOMAIN): Init from PACKAGE_GT
2004-04-06(main): Use new libgcrypt thread library registerWerner Koch1-11/+16
scheme.
2004-03-232004-03-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-3/+7
* gpg-agent.c (main): For now, always print the default config file name for --gpgconf-list.
2004-03-17* gpg-agent.c (main) <gpgconf>: Fixed default value quoting.Werner Koch1-1/+1
* scdaemon.c (main) <gpgconf>: Fixed default value quoting. * gpgsm.c (main) <gpgconf>: Fixed default value quoting.
2004-03-16(parse_rereadable_options): Use the newWerner Koch1-2/+3
DEFAULT_CACHE_TTL macro. (main): Updated --gpgconf-list output.
2004-03-16(parse_rereadable_options): Use the newWerner Koch1-17/+44
DEFAULT_CACHE_TTL macro. (main): Updated --gpgconf-list output.
2004-02-18* protect-tool.c (main): Setup the used character set.Werner Koch1-3/+77
* gpg-agent.c (main): Ditto. * gpg-agent.c (set_debug): New. New option --debug-level. (main): New option --gpgconf-list.
2004-01-29* agent.h (server_control_s): Add connection_fd field.Werner Koch1-0/+2
* 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.
2003-12-16(main): Set the prefixes for assuan logging.Werner Koch1-0/+2
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+1063
'GNUPG-1-9-BRANCH'.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-916/+0
'GNUPG-1-9-BRANCH'.
2002-09-26* gpg-agent.c (handle_signal): Flush cache on SIGHUP.Werner Koch1-2/+10
* cache.c (agent_flush_cache): New. * gpg-agent.c, agent.h: Add --keep-display and --keep-tty. * query.c (start_pinentry): Implement them. The option passing needs more thoughts.
2002-09-09* gpg-agent.c (create_private_keys_directory)Werner Koch1-1/+73
(create_directories): New. (main): Try to create a home directory.
2002-09-052002-09-04 Neal H. Walfield <[email protected]>Neal Walfield1-1/+7
* gpg-agent.c (main): Use sigaction, not signal.
2002-08-22* query.c (agent_askpin): Provide the default desc text dependingNEWPG-0-9-1Werner Koch1-1/+1
on the pininfo. Do the basic PIN verification only when min_digist is set.
2002-08-21* query.c (agent_askpin): Hack to show the right default prompt.NEWPG-0-9-0Werner Koch1-3/+3
(agent_get_passphrase): Ditto. * Makefile.am: Renamed the binary protect-tool to gpg-protect-tool. * protect-tool.c: Removed the note about internal use only. * gpg-agent.c (main): New option --daemon so that the program is not accidently started in the background.
2002-08-21* divert-scd.c (getpin_cb): Pass a more descritive text to theWerner Koch1-5/+14
pinentry. * Makefile.am: Renamed the binary protect-tool to gpg-protect-tool. * protect-tool.c: Removed the note about internal use only. * gpg-agent.c (main): New option --daemon so that the program is not accidently started in the background.
2002-08-16* call-scd.c (learn_status_cb): Handle CERTINFO status.Werner Koch1-4/+1
(agent_card_learn): Add args for certinfo cb. * learncard.c (release_certinfo,certinfo_cb): New. (send_cert_back): New. With factored out code from .. (agent_handle_learn): here. Return certinfo stuff.
2002-08-10Minor changes for gettextNEWPG-0-3-10Werner Koch1-1/+1
2002-08-09Minor fixesWerner Koch1-0/+6
2002-06-27* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch1-9/+6
* findkey.c (agent_write_private_key,agent_key_from_file) (agent_key_available): Use GNUPG_PRIVATE_KEYS_DIR constant. * gpg-agent.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * protect-tool.c (store_private_key): New. (import_p12_file): Store the new file if requested. (main): New options --force and --store. * gpg-agent.c (main): Set a global flag when runing detached. * query.c (start_pinentry): Pass the list of FD to keep in the child when not running detached. * call-scd.c (start_scd): Ditto.
2002-06-13Fixed last fix.Werner Koch1-4/+0
2002-06-13* gpgsm.c (main): New option --log-file.Werner Koch1-26/+35
2002-06-12* protect-tool.c: Add command --show-keygripWerner Koch1-1/+1
(show_keygrip): New.
2002-05-23* no-pth.c, Makefile.am: Removed.Werner Koch1-14/+181
* call-scd.c: Seirialized all scdaeom access when using Pth. * cache.c: Made the cache Pth-thread-safe. (agent_unlock_cache_entry): New. * findkey.c (unprotect): Unlock the returned cache value. * command.c (cmd_get_passphrase): Ditto. * gpg-agent.c (main): Register pth_read/write with Assuan.
2002-04-27Debug message cleanups.Werner Koch1-1/+1
Fixed passphrase caching.
2002-04-242002-04-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+17
* configure.ac: Check for locale.h. agent/ 2002-04-24 Marcus Brinkmann <[email protected]> * agent.h (struct opt): Add members display, ttyname, ttytype, lc_ctype, and lc_messages. * gpg-agent.c (enum cmd_and_opt_values): Add oDisplay, oTTYname, oTTYtype, oLCctype, and LCmessages. (main): Handle these options. * command.c (option_handler): New function. (register_commands): Register option handler. * query.c (start_pinentry): Pass the various display and tty options to the pinentry. sm/ 2002-04-24 Marcus Brinkmann <[email protected]> * gpgsm.h (struct opt): New members display, ttyname, ttytype, lc_ctype, lc_messages. * gpgsm.c (enum cmd_and_opt_values): New members oDisplay, oTTYname, oTTYtype, oLCctype, oLCmessages. (opts): New entries for these options. (main): Handle these new options. * call-agent.c (start_agent): Set the various display and tty parameter after resetting.
2002-02-28Changes needed to support smartcards. Well, only _support_. There isWerner Koch1-1/+4
no real code yet.
2002-02-06* cache.c (housekeeping): Fixed linking in the remove case.Werner Koch1-3/+8
2002-01-26Updated copyright noticesWerner Koch1-3/+3
2002-01-20* command.c (cmd_get_passphrase): Remove the plus signs.Werner Koch1-3/+1
* query.c (start_pinentry): Send no-grab option to pinentry * gpg-agent.c (main): Move variable grab as no_grab to agent.h.
2002-01-19* gpg-agent.c (main): Disable core dumps.Werner Koch1-1/+3
* cache.c: New. * command.c (cmd_get_passphrase): Use the cache. (cmd_clear_passphrase): Ditto. * gpg-agent.c: Removed unused cruft and implement the socket based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
2002-01-19* gpg-agent.c: Removed unused cruft and implement the socketWerner Koch1-638/+183
based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
2001-12-14* gpg-agent.c (main): New option --batch. New option --debug-waitWerner Koch1-0/+14
n, so that it is possible to attach gdb when used in server mode. * query.c (agent_askpin): Don't ask in batch mode.
2001-12-10The Agent does now call the pin entry program; however because we haveWerner Koch1-1/+9
not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested.
2001-12-05Added decryption, some code cleanupWerner Koch1-5/+47
2001-11-25As promised a agent which already does some things. Not very usefulWerner Koch1-8/+26
yet but may be of help for using it in ther contexts.
2001-11-24Friedman is setting up his deskWerner Koch1-37/+51
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-0/+984
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.