aboutsummaryrefslogtreecommitdiffstats
path: root/agent/call-scd.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-07-01* app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch1-4/+0
* keygen.c (gen_card_key): Obviously we should use the creation date received from SCDAEMON, so that the fingerprints will match. * sign.c (do_sign): Pass the serialno to the sign code. * keyid.c (serialno_and_fpr_from_sk): New.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-6/+77
2003-06-03Make use of libgpg-errorWerner Koch1-12/+14
2002-08-16* call-scd.c (learn_status_cb): Handle CERTINFO status.Werner Koch1-2/+13
(agent_card_learn): Add args for certinfo cb. * learncard.c (release_certinfo,certinfo_cb): New. (send_cert_back): New. With factored out code from .. (agent_handle_learn): here. Return certinfo stuff.
2002-06-29* query.c (start_pinentry): Use GNUPG_DERAULT_PINENTRY.Werner Koch1-2/+1
* call-scd.c (start_scd): Use GNUPG_DEFAULT_SCDAEMON.
2002-06-27* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch1-1/+13
* 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.
2002-05-23* no-pth.c, Makefile.am: Removed.Werner Koch1-25/+59
* call-scd.c: Seirialized all scdaeom access when using Pth. * cache.c: Made the cache Pth-thread-safe. (agent_unlock_cache_entry): New. * findkey.c (unprotect): Unlock the returned cache value. * command.c (cmd_get_passphrase): Ditto. * gpg-agent.c (main): Register pth_read/write with Assuan.
2002-04-27Debug message cleanups.Werner Koch1-2/+4
Fixed passphrase caching.
2002-03-06sm/Werner Koch1-13/+89
* 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.
2002-03-06Decryption using a Cryptoflex card does now work.Werner Koch1-0/+53
2002-03-05Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch1-0/+184
is of course a different thing. Note, that you need to create the shadowed-private-key file manually.
2002-03-04* pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch1-2/+70
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.
2002-02-28* assuan-client.c (assuan_transact): Add 2 more arguments toWerner Koch1-0/+153
support status lines. Passing NULL yields the old behaviour. * assuan-handler.c (process_request): Flush data lines send without using the data fp.