aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * keylist.c (print_card_serialno): New.Werner Koch2003-09-301-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-26 Timo Schulz <[email protected]>Timo Schulz2003-09-261-1/+1
| | | | | | * card_status (card_status): Do not use fputs since the fp parameter can be NULL. This fixes a segv.
* (print_isoname,card_status): Handle opt.with_colons.Werner Koch2003-09-241-49/+149
| | | | | (print_sha1_fpr_colon): New.
* 2003-09-22 Timo Schulz <[email protected]>Timo Schulz2003-09-221-0/+3
| | | | | | * card-util.c (card_status): Free pk in case of an error and return if the card is no OpenPGP card.
* (parse_ccid_descriptor): New.Werner Koch2003-09-191-2/+2
| | | | | | (read_device_info): New. (ccid_open_reader): Check that the device has all required features.
* * g10.c: New command --card-edit.Werner Koch2003-09-181-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.
* * g10.c: New command --card-status.Werner Koch2003-07-241-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.
* * keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.Werner Koch2003-07-231-0/+117
(do_generate_keypair): Abd generate the authkey. (check_smartcard): Changed menu accordingly.