aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-04-29* card-util.c (card_edit): Remove PIN verification.Werner Koch1-32/+26
(generate_card_keys): New arg SERIALNO. Do PIN verification here after resetting forced_chv1.
2004-04-26(change_name): Check that the NAME is not too long.Werner Koch1-0/+24
(change_url): Likewise. (change_login): Likewise.
2003-12-17* card-util.c (print_name): Fixed bad format string usage.Werner Koch1-3/+2
(print_isoname): Ditto. * trustdb.c (check_regexp): s/exp/expr/. * keyedit.c (trustsig_prompt): Removed a "> 255" term; it is always false due to the data type. * passphrase.c (agent_get_passphrase): Use xasprintf and avoid non-literal format strings. * tdbio.c (upd_hashtable, drop_from_hashtable, lookup_hashtable): Fixed log_error format string bugs. Kudos to the now working gcc-3.3 -Wformat-nonliteral and Florian Weimer's investigations in gnupg 1.2.3.
2003-10-21* card-util.c (card_edit): New command "passwd". Add logic toWerner Koch1-19/+55
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/+87
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-10-02Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch1-0/+6
2003-09-30* keylist.c (print_card_serialno): New.Werner Koch1-27/+54
(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-09-262003-09-26 Timo Schulz <[email protected]>Timo Schulz1-1/+1
* card_status (card_status): Do not use fputs since the fp parameter can be NULL. This fixes a segv.
2003-09-24(print_isoname,card_status): Handle opt.with_colons.Werner Koch1-49/+149
(print_sha1_fpr_colon): New.
2003-09-222003-09-22 Timo Schulz <[email protected]>Timo Schulz1-0/+3
* card-util.c (card_status): Free pk in case of an error and return if the card is no OpenPGP card.
2003-09-19(parse_ccid_descriptor): New.Werner Koch1-2/+2
(read_device_info): New. (ccid_open_reader): Check that the device has all required features.
2003-09-18* g10.c: New command --card-edit.Werner Koch1-38/+386
* card-util.c (card_status): Use tty_fprintf for all output. (print_sha1_fpr, print_isoname): Ditto. (get_one_name,change_name, change_url, change_login,change_lang) (change_sex): New; taken from keygen.c. * keygen.c (smartcard_get_one_name, smartcard_change_name) (smartcard_change_url, smartcard_change_login_data) (smartcard_change_lang, smartcard_change_sex): Removed. (check_smartcard): Removed most menu items.
2003-07-24* g10.c: New command --card-status.Werner Koch1-1/+145
* 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-0/+117
(do_generate_keypair): Abd generate the authkey. (check_smartcard): Changed menu accordingly.