* cache.c: Add a few debug outputs.
authorWerner Koch <wk@gnupg.org>
Fri, 1 Feb 2002 11:39:06 +0000 (11:39 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 1 Feb 2002 11:39:06 +0000 (11:39 +0000)
commit30f1b027c012f8022c67185832fa1aada26c396a
treec2a8b3c3e993dbb47643ea9c220277a23b857bea
parent400938f239bb06ddc26972924b60d806b96e0fff
* cache.c: Add a few debug outputs.

* protect.c (agent_private_key_type): New.
* agent.h: Add PRIVATE_KEY_ enums.
* findkey.c (agent_key_from_file): Use it to decide whether we
have to unprotect a key.
(unprotect): Cache the passphrase.

* findkey.c (agent_key_from_file,agent_key_available): The key
files do now require a ".key" suffix to make a script's life
easier.
* genkey.c (store_key): Ditto.
agent/ChangeLog
agent/agent.h
agent/cache.c
agent/findkey.c
agent/genkey.c
agent/protect.c