aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* sm/Werner Koch2002-03-061-3/+13
| | | | | | | | | | | | | | | | | * gpgsm.c: New command --learn-card * call-agent.c (learn_cb,gpgsm_agent_learn): New. * gpgsm.c (main): Print error messages for non-implemented commands. agent/ * learncard.c: New. * divert-scd.c (ask_for_card): The serial number is binary so convert it to hex here. * findkey.c (agent_write_private_key): New. * genkey.c (store_key): And use it here. scd/ * pkdecrypt.c (agent_pkdecrypt): Changed the way the diversion is done. * divert-scd.c (divert_pkdecrypt): Changed interface and implemented it.
* Decryption using a Cryptoflex card does now work.Werner Koch2002-03-061-2/+7
|
* Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch2002-03-051-2/+7
| | | | | | is of course a different thing. Note, that you need to create the shadowed-private-key file manually.
* * pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch2002-03-041-1/+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/+18
| | | | | no real code yet.
* * command.c (cmd_marktrusted): Implemented.Werner Koch2002-02-181-1/+2
| | | | | | | | * trustlist.c (agent_marktrusted): New. (open_list): Add APPEND arg. * query.c (agent_get_confirmation): New.
* * cache.c (housekeeping): Fixed linking in the remove case.Werner Koch2002-02-061-0/+1
|
* * cache.c: Add a few debug outputs.Werner Koch2002-02-011-0/+8
| | | | | | | | | | | | | | * 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-2/+10
| | | | | | | (agent_genkey): Ask for the passphrase. * findkey.c (unprotect): Actually unprotect the key. * query.c (agent_askpin): Add an optional start_err_text.
* * findkey.c (agent_key_available): New.Werner Koch2002-01-291-0/+1
| | | | | | * command.c (cmd_havekey): New. (register_commands): And register new command.
* * command.c (cmd_get_passphrase): Remove the plus signs.Werner Koch2002-01-201-0/+1
| | | | | | * query.c (start_pinentry): Send no-grab option to pinentry * gpg-agent.c (main): Move variable grab as no_grab to agent.h.
* * gpg-agent.c (main): Disable core dumps.Werner Koch2002-01-191-0/+6
| | | | | | | | | | | | | | * 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.
* * gpg-agent.c: Removed unused cruft and implement the socketWerner Koch2002-01-191-1/+3
| | | | | | | | | 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.
* * trustlist.c: New.Werner Koch2002-01-151-0/+4
| | | | | * command.c (cmd_istrusted, cmd_listtrusted, cmd_marktrusted): New.
* * genkey.c: Store the secret part and return the public part.Werner Koch2002-01-101-0/+8
|
* * gpg-agent.c (main): New option --batch. New option --debug-waitWerner Koch2001-12-141-0/+1
| | | | | | n, so that it is possible to attach gdb when used in server mode. * query.c (agent_askpin): Don't ask in batch mode.
* The Agent does now call the pin entry program; however because we haveWerner Koch2001-12-101-0/+17
| | | | | | not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested.
* Added decryption, some code cleanupWerner Koch2001-12-051-0/+9
|
* As promised a agent which already does some things. Not very usefulWerner Koch2001-11-251-1/+2
| | | | | yet but may be of help for using it in ther contexts.
* Friedman is setting up his deskWerner Koch2001-11-241-0/+78