aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed a nasty bug in scdaemon which led to a card reset if the card wasWerner Koch2009-02-251-1/+1
| | | | | | inserted during scdaemon startup and a connection was made before the ticker had a chance to run. Add some stuff for better debugging.
* Fixed some card related problems.Werner Koch2008-12-181-1/+1
|
* Fix signal handling race condition.Werner Koch2008-12-171-14/+27
|
* Minor fixes.Werner Koch2008-12-091-1/+1
|
* Align ticker to the full or half second.Werner Koch2008-12-081-3/+13
|
* Print library versions according to GNU standards.Werner Koch2008-11-181-0/+25
|
* Check that the socket is well and served by us.Werner Koch2008-10-291-35/+145
|
* SCD changes for PC/SC under W32.Werner Koch2008-10-141-2/+24
|
* Fixed segv in gpg-agent (command marktrusted).Werner Koch2008-05-271-27/+37
| | | | | | Replaced almost all free by xfree. Translation fixes.
* Fixed testing for an alive ssh standard socket.Werner Koch2007-12-031-14/+25
|
* [W32] Changed default socket for dirmngr.Werner Koch2007-11-271-9/+55
| | | | | | [W32] Add some code for event notifications between scdaemon and gpg-agent.
* Started to implement the audit log feature.Werner Koch2007-11-191-1/+23
| | | | | | | | Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
* Use Assuan socket wrapper calls.Werner Koch2007-10-011-78/+97
| | | | | Made socket servers secure under Windows.
* Add more passphrase policy rules.Werner Koch2007-08-281-0/+29
| | | | | (--max-passphrase-days).
* Implemented more gpg-agen options to support certain passphrase policies.Werner Koch2007-08-271-0/+28
| | | | | New tool gpg-check-pattern.
* Factored common gpgconf constants outWerner Koch2007-08-021-18/+1
| | | | | Fixed W32 compare_filenames
* Changed to GPLv3.Werner Koch2007-07-041-4/+7
| | | | | Removed intl/.
* A bunch of minor changes for Windows.Werner Koch2007-07-041-24/+35
|
* More W32 related changesWerner Koch2007-06-261-5/+7
|
* Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵Werner Koch2007-06-211-29/+40
| | | | Windows.
* [w32] gpg-agent is now started automagically by gpgsm.Werner Koch2007-06-201-1/+1
|
* Made percent_escape more general.Werner Koch2007-06-191-8/+23
| | | | | | Added regression tests support to jnlib. W32 changes.
* jnlib/Marcus Brinkmann2007-06-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-18 Marcus Brinkmann <[email protected]> * stringhelp.h (percent_escape): New prototype. * stringhelp.c (percent_escape): New function. agent/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg-agent.c (main): Percent escape pathname in --gpgconf-list output. g10/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg.c (gpgconf_list): Percent escape output of --gpgconf-list. scdaemon/ 2007-06-18 Marcus Brinkmann <[email protected]> * scdaemon.c (main): Percent escape output of --gpgconf-list. sm/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpgsm.c (main): Percent escape output of --gpgconf-list.
* Add missing fiels for W32.Werner Koch2007-06-181-0/+10
| | | | | | New agent commands: GETINFO and KILLAGENT (w32 only). Agent does now detach from the console.
* A whole bunch of changes to allow building for Windows.Werner Koch2007-06-141-11/+31
| | | | | See the ChangeLogs for details.
* First steps towards supporting W32.Werner Koch2007-06-061-16/+0
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* Improved logging for error orginating from libgcrypt.Werner Koch2007-04-201-45/+2
|
* Support for a global gpgconf configuration file.Werner Koch2007-03-061-1/+10
|
* agent/Werner Koch2007-02-141-0/+14
| | | | | | | | | | * gpg-agent.c: New option --pinentry-touch-file. (get_agent_socket_name): New. * agent.h (opt): Add pinentry_touch_file. * call-pinentry.c (start_pinentry): Send new option to the pinentry.
* agent/Werner Koch2007-01-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * protect-tool.c (get_passphrase): New arg OPT_CHECK. (get_new_passphrase): Enable OTP_CHECK on the first call. * command.c (cmd_get_passphrase): Implement option --check. * gpg-agent.c (MIN_PASSPHRASE_LEN): New (parse_rereadable_options): New option --min-passphrase-len. * genkey.c (check_passphrase_constraints): New. (agent_genkey, agent_protect_and_store): Call new function. Fix memory leak. * call-pinentry.c (agent_askpin): Allow translation of the displayed error message. (agent_popup_message_start): Remove arg CANCEL_BTN. (popup_message_thread): Use --one-button option. * command.c (cmd_passwd): Now that we don't distinguish between assuan and regular error codes we can jump to the end on error. common/ * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
* Made some PIN pads work.Werner Koch2006-11-201-15/+74
| | | | | Some cleanups for 64 bit CPUs.
* New command GETEVENTCOUNTER.Werner Koch2006-11-141-0/+2
| | | | | | | | | | * command.c (bump_key_eventcounter): New. (bump_card_eventcounter): New. (cmd_geteventcounter): New command. * gpg-agent.c (handle_signal): Call bump_card_eventcounter. * findkey.c (agent_write_private_key): Call bump_key_eventcounter. * trustlist.c (agent_reload_trustlist): Ditto.
* gpg-agent.c (main): In detached mode connect standard descriptors to /dev/null.Werner Koch2006-11-091-1/+10
| | | | | Other minor fixes
* .Werner Koch2006-10-231-0/+5
|
* Allow for a global trustlist.Werner Koch2006-09-151-7/+0
|
* The big Assuan error code removal.Werner Koch2006-09-061-1/+2
|
* Minor changes and typo fixes.Werner Koch2006-09-061-1/+1
|
* Allow for 4k ssh keys and better error reporting.Werner Koch2006-08-291-2/+25
|
* Various smaller changesWerner Koch2006-06-271-1/+2
|
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* PIN caching of cards does now work.Werner Koch2006-02-091-1/+1
|
* Use a default argument for --write-env-file.Werner Koch2005-08-161-2/+7
|
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-3/+8
| | | | | | | char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
* New debugging optionhs, updates to the manual.Werner Koch2005-06-071-0/+6
|
* * command.c (cmd_updatestartuptty): New.Werner Koch2005-06-031-20/+84
| | | | | | | | | | | | | | | | | | | | * gpg-agent.c: New option --write-env-file. * gpg-agent.c (handle_connections): Make sure that the signals we are handling are not blocked.Block signals while creating new threads. * estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H! (es_func_fd_read, es_func_fd_write): Protect against EINTR. * gpg-agent.texi (Agent UPDATESTARTUPTTY): New. * scdaemon.c (handle_connections): Make sure that the signals we are handling are not blocked.Block signals while creating new threads. (handle_connections): Include the file descriptor into the name of the thread.
* * configure.ac (gl_INIT): Add gnulib stuff.Werner Koch2005-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (fseeko, ftello, ttyname, isascii): Replaced the AC_REPLACE_FUNCS by a simple check. (putc_unlocked): Removed check. Not used. (strsep, mkdtemp, asprintf): Replaced checks by gnulib checks. (xsize): Added will probably come handy soon. (CFLAGS): Use -Wformat-security instead of -Wformat-nonliteral. Add --Wno-format-y2k. * gl/, gl/m4/: New. * gpg-agent.c: Include setenv.h. * Makefile.am (AM_CPPFLAGS): Added. * util.h: Add some includes for gnulib. (ttyname, isascii): Define them inline. * fseeko.c, ftello.c: Removed. * strsep.c, mkdtemp.c: Removed. * ttyname.c, isascii.c: Removed. * mkdtemp.c: Removed. * exec.c: Include mkdtemp.h * keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement function. Copied from ../common/ftello.c. * keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement function. Copied from ../common/iobuf.c. * scdaemon.c: Include mkdtemp.h. * misc.c: Include setenv.h. * symcryptrun.c: Include mkdtemp.h.
* * agent.h (out_of_core): s/__inline__/inine. Noted by Ray Link.Werner Koch2005-05-311-3/+5
| | | | | | | | | | | * dynload.h: s/__inline__/inline/. * tlv.c [GNUPG_MAJOR_VERSION==1]: Define constants instead of including a gnupg 1.4 header. * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines. Noted by Ray Link.
* * call-scd.c (start_scd): Don't test for an alive scdaemon here.Werner Koch2005-05-211-1/+7
| | | | | | | | | (agent_scd_check_aliveness): New. * gpg-agent.c (handle_tick): Test for an alive scdaemon. (handle_signal): Print thread info on SIGUSR1. * scdaemon.c (handle_signal): Print thread info on SIGUSR1.
* Changed the scdaemon to handle concurrent sessions. AdjustedWerner Koch2005-05-181-79/+17
| | | | | gpg-agent accordingly. Code cleanups.
* .Werner Koch2005-04-201-8/+71
|