gnupg/agent
Werner Koch 3af261572b * gpg-agent.c (handle_connections): Need to check for events if
select returns with -1.

* tools.texi (gpg-connect-agent): New.

* app-openpgp.c (get_one_do): Never try to get a non cacheable
object from the cache.
(get_one_do): Add new arg to return an error code.  Changed all
callers.
(do_getattr): Let it return a proper error code.

* app.c (select_application): Return an error code and the
application context in an new arg.
* command.c (open_card): Adjusted for that.  Don't use the
fallback if no card is present.  Return an error if the card has
been removed without a reset.
(do_reset, cmd_serialno): Clear that error flag.
(TEST_CARD_REMOVAL): New. Use it with all command handlers.

* scdaemon.c (ticker_thread): Termintate if a shutdown is pending.

* apdu.c: Added some PCSC error codes.
(pcsc_error_to_sw): New.
(reset_pcsc_reader, pcsc_get_status, pcsc_send_apdu)
(open_pcsc_reader): Do proper error code mapping.

* gpg-connect-agent.c: New.
* Makefile.am: Add it.
2005-02-24 17:36:11 +00:00
..
ChangeLog * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
Makefile.am 2005-01-26 Moritz Schulte <moritz@g10code.com> 2005-01-26 22:20:21 +00:00
agent.h * command-ssh.c (get_passphrase): Removed. 2005-02-23 21:06:32 +00:00
cache.c (agent_put_cache): Fix the test for using the default 2005-01-04 08:33:20 +00:00
call-scd.c (stream_read_string): Removed call to abort on 2005-02-22 18:08:28 +00:00
command-ssh.c * command-ssh.c (get_passphrase): Removed. 2005-02-23 21:06:32 +00:00
command.c * command-ssh.c (get_passphrase): Removed. 2005-02-23 21:06:32 +00:00
divert-scd.c * command.c (cmd_passwd): Take acount of a key description. 2004-02-21 13:05:22 +00:00
findkey.c * command-ssh.c (get_passphrase): Removed. 2005-02-23 21:06:32 +00:00
genkey.c * call-scd.c (init_membuf, put_membuf, get_membuf): Removed. We 2004-12-20 08:32:56 +00:00
gpg-agent.c * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
keyformat.txt * command-ssh.c (get_passphrase): Removed. 2005-02-23 21:06:32 +00:00
learncard.c (stream_read_string): Removed call to abort on 2005-02-22 18:08:28 +00:00
minip12.c * minip12.c (parse_bag_encrypted_data): Print error if a bad 2004-09-29 13:50:31 +00:00
minip12.h * protect-tool.c: New options --have-cert and --prompt. 2004-02-19 16:26:32 +00:00
pkdecrypt.c * call-scd.c (init_membuf, put_membuf, get_membuf): Removed. We 2004-12-20 08:32:56 +00:00
pksign.c * call-scd.c (init_membuf, put_membuf, get_membuf): Removed. We 2004-12-20 08:32:56 +00:00
preset-passphrase.c * preset-passphrase.c (preset_passphrase): Handle --passphrase. 2004-12-21 19:05:15 +00:00
protect-tool.c * gpg-agent.c (main): Use default_homedir(). 2004-12-21 10:03:00 +00:00
protect.c * command-ssh.c (get_passphrase): Removed. 2005-02-23 21:06:32 +00:00
query.c * command-ssh.c (get_passphrase): Removed. 2005-02-23 21:06:32 +00:00
trans.c The Agent does now call the pin entry program; however because we have 2001-12-10 09:27:30 +00:00
trustlist.c * acinclude.m4 (GNUPG_PTH_VERSION_CHECK): Link a simple test 2005-01-13 18:00:46 +00:00