aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (agent_unprotect): Fixed wiping of CLEARTEXT. ThanksWerner Koch2004-09-281-1/+1
| | | | | to Moritz for pointing this out.
* * findkey.c (agent_key_from_file): Extra paranoid wipe.Werner Koch2004-02-031-7/+19
| | | | | | | | | | * protect.c (agent_unprotect): Ditto. (merge_lists): Ditto. Add arg RESULTLEN. * pkdecrypt.c (agent_pkdecrypt): Don't show the secret key even in debug mode. * protect.c: Add DSA and Elgamal description.
* * protect.c (do_encryption): Use gcry_create_nonce instad of theWerner Koch2003-12-161-4/+4
| | | | | obsolete WEAK_RANDOM.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+971
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-967/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch2002-03-041-74/+2
| | | | | | | | | | | | used and divert the operation in this case. * pkdecrypt.c (agent_pkdecrypt): Likewise * findkey.c (agent_key_from_file): Add optional arg shadow_info and have it return information about a shadowed key. * protect.c (agent_get_shadow_info): New. * protect.c (snext,sskip,smatch): Moved to * sexp-parse.h: new file. * divert-scd.c: New.
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-281-1/+152
| | | | | no real code yet.
* * cache.c: Add a few debug outputs.Werner Koch2002-02-011-0/+27
| | | | | | | | | | | | | | * 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.
* * genkey.c (store_key): Protect the key.Werner Koch2002-01-311-0/+861
(agent_genkey): Ask for the passphrase. * findkey.c (unprotect): Actually unprotect the key. * query.c (agent_askpin): Add an optional start_err_text.