aboutsummaryrefslogtreecommitdiffstats
path: root/agent/divert-scd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* (agent_marktrusted): Check whether the trustlist isWerner Koch2004-01-281-1/+1
| | | | | writable.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+319
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-305/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * divert-scd.c (getpin_cb): Pass a more descritive text to theWerner Koch2002-08-211-4/+12
| | | | | | | | | | | pinentry. * Makefile.am: Renamed the binary protect-tool to gpg-protect-tool. * protect-tool.c: Removed the note about internal use only. * gpg-agent.c (main): New option --daemon so that the program is not accidently started in the background.
* * Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch2002-06-271-1/+0
| | | | | | | | | | | | | | | | * findkey.c (agent_write_private_key,agent_key_from_file) (agent_key_available): Use GNUPG_PRIVATE_KEYS_DIR constant. * gpg-agent.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * protect-tool.c (store_private_key): New. (import_p12_file): Store the new file if requested. (main): New options --force and --store. * gpg-agent.c (main): Set a global flag when runing detached. * query.c (start_pinentry): Pass the list of FD to keep in the child when not running detached. * call-scd.c (start_scd): Ditto.
* * agent.h: Add a callback function to the pin_entry_info structure.Werner Koch2002-06-171-17/+9
| | | | | | | | | | | | | | | * query.c (agent_askpin): Use the callback to check for a correct PIN. Removed the start_err_text argument becuase it is not anymore needed; changed callers. * findkey.c (unprotect): Replace our own check loop by a callback. (try_unprotect_cb): New. * genkey.c (reenter_compare_cb): New. (agent_genkey): Use this callback here. Fixed setting of the pi2 variable and a segv in case of an empty PIN. * divert-scd.c (getpin_cb): Removed some unused stuff and explained what we still have to change.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-241-1/+1
| | | | | | | | | | * agent.h (agent_get_confirmation): Replace paramter prompt with two parameters ok and cancel. * query.c (agent_get_confirmation): Likewise. Implement this. * trustlist.c (agent_marktrusted): Fix invocation of agent_get_confirmation. * divert-scd.c (ask_for_card): Likewise.
* * divert-scd.c (encode_md_for_card): Don't do the pkcs-1 padding,Werner Koch2002-03-281-34/+17
| | | | | | the scdaemon should take care of it. (ask_for_card): Hack to not display the trailing zero.
* sm/Werner Koch2002-03-061-5/+6
| | | | | | | | | | | | | | | | | * 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-8/+52
|
* Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch2002-03-051-3/+118
| | | | | | 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-0/+116
| | | | | | | | | | | | 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.
* * assuan-client.c (assuan_transact): Add 2 more arguments toWerner Koch2002-02-281-0/+47
support status lines. Passing NULL yields the old behaviour. * assuan-handler.c (process_request): Flush data lines send without using the data fp.