aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-2/+2
The gpg part does not yet build.
2004-12-18Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch1-0/+2
2004-12-15A whole bunch of changes to allow building for W32.Werner Koch1-0/+2
2004-07-01* card-util.c (change_login): Kludge to allow reading data from aWerner Koch1-0/+15
file. (card_edit): Pass ARG_STRING to change_login. (card_status): Print CA fingerprints. (change_cafpr): New. (card_edit): New command CAFPR. * call-agent.h: Add members for CA fingerprints. * call-agent.c (agent_release_card_info): Invalid them. (learn_status_cb): Store them.
2004-04-29* card-util.c (card_edit): Remove PIN verification.Werner Koch1-1/+1
(generate_card_keys): New arg SERIALNO. Do PIN verification here after resetting forced_chv1.
2004-02-18* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.Werner Koch1-1/+1
* passphrase.c (agent_open): Ditto.
2003-10-25(learn_status_cb, scd_genkey_cb): Fixed faulty useWerner Koch1-5/+5
of !spacep().
2003-10-21* card-util.c (card_edit): New command "passwd". Add logic toWerner Koch1-0/+22
check the PIN in advance. (card_status): Add new args to return the serial number. Changed all callers. * call-agent.c (agent_scd_checkpin): New.
2003-10-08* call-agent.c (agent_scd_getattr): Don't clear the passed infoWerner Koch1-1/+0
structure, so that it can indeed be updated. * card-util.c (fpr_is_zero): New. (generate_card_keys): New. (card_edit): New command "generate". * keygen.c (generate_keypair): New arg CARD_SERIALNO, removed call to check_smartcard. (check_smartcard,show_smartcard): Removed. (show_sha1_fpr,fpr_is_zero): Removed. * app-openpgp.c (do_getattr): Support SERIALNO and AID.
2003-09-30* keylist.c (print_card_serialno): New.Werner Koch1-5/+37
(list_keyblock_print): Use it here. * card-util.c (toggle_forcesig): New. (card_edit): New command "forcesig". * card-util.c (print_name, print_isoname): Use 0 and not LF fro the max_n arg of tty_print_utf8_string2. * call-agent.c (agent_scd_getattr): New. (learn_status_cb): Release values before assignment so that it can be used by getattr to update the structure. * card-util.c (change_pin): Simplified. We now have only a PIN and an Admin PIN.
2003-07-28Adjusted for use with current libgcrypt (1.1.42).Werner Koch1-1/+1
2003-07-24* g10.c: New command --card-status.Werner Koch1-0/+52
* card-util.c (card_status): New. * call-agent.c (learn_status_cb): Parse more information. * keylist.c (print_pubkey_info): Add FP arg for optinal printing to a stream. Changed all callers.
2003-07-23* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.Werner Koch1-2/+50
(do_generate_keypair): Abd generate the authkey. (check_smartcard): Changed menu accordingly.
2003-07-03* options.h (DBG_CIPHER): Reintroduced it.Werner Koch1-4/+56
* seskey.c (encode_session_key): Debug output of the session key. * pubkey-enc.c (get_it): Handle card case. * call-agent.c (agent_scd_pkdecrypt): New. * pkglue.c (pk_encrypt): Add RSA support. * g10.c (main): Default to --use-agent. * keygen.c (show_smartcard): Print info about the public key. (check_smartcard): Check for existing key here. (gen_card_key): And not anymore here. (fpr_is_zero): New. (generate_keypair): Generate both keys for a card. (smartcard_change_url): Nw.
2003-07-01* app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch1-25/+27
* 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-20/+291
2003-06-18Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch1-8/+16
to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.
2003-06-05A small step for GnuPG but a huge leap for error codes.Werner Koch1-0/+407
(Sorry, it does not build currently - I need to check it in to avoid duplicate work.)