aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Print the secret keyinfo stuff with --card-status again.Werner Koch2011-03-031-21/+23
|
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-54/+53
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* Smartcard related updatesWerner Koch2010-11-171-40/+49
|
* More agent support for gpg.Werner Koch2010-10-131-0/+1
|
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-5/+5
| | | | | | A couple of forward ported changes. Doc updates.
* Removed more secret key related code.Werner Koch2010-09-061-144/+150
| | | | | | It builds fine and passes some of the tests but there are quite some features which don't work yet.
* Add unfinished gpgtar.Werner Koch2010-06-071-0/+2
| | | | | Collected changes and ports of bug fixes from stable.
* Generating an OpenPGP key cia gpg-agent basically works.Werner Koch2010-04-201-9/+10
|
* Finished the bulk of changes to use estream in most places instead ofWerner Koch2010-03-151-67/+70
| | | | | stdio.
* Various changes to eventually support openpgp keys in pgp-agent.Werner Koch2010-02-021-1/+1
| | | | | | Comment fixes. Minor chnages in preparation of a W32CE port.
* Add dummu option --passwd for gpg.Werner Koch2010-01-081-2/+2
| | | | | Collected changes.
* Enable readline support in --card-edit.Werner Koch2009-08-051-12/+9
| | | | | better cope with re-inserted cards.
* Ask for the keysize when generating a new card key.Werner Koch2009-08-051-18/+145
|
* Make use of the card's extended capabilities.Werner Koch2009-07-221-13/+40
|
* Support writing of existing keys with non-matching key sizes.Werner Koch2009-07-091-3/+7
|
* Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch2009-06-241-3/+1
| | | | | Still one problem left; marked with a gcc #warning.
* Add readcert command.Werner Koch2009-06-171-7/+74
| | | | | fix reading large certificates.
* app-openpgp changesWerner Koch2009-06-091-26/+49
|
* Fixed an fopen problem on Windows Vista.Werner Koch2009-06-031-0/+1
|
* Fix for bug#1066.Werner Koch2009-06-021-0/+1
| | | | | A couple of minor changes.
* Made card key generate with backup key work for 2048 bit.Werner Koch2009-05-151-1/+15
| | | | | Improved card key generation prompts.
* Add a Geldkarte gadget application.Werner Koch2009-01-271-0/+6
| | | | | Minor other changes.
* Add a sample key.Werner Koch2009-01-131-2/+23
| | | | | Detect and show the card type.
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-2/+2
|
* Finished support for v2 cards with the exception of secure messaging.Werner Koch2008-09-251-2/+45
|
* Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch2008-09-231-54/+118
|
* Add --logger-fd alias.Werner Koch2008-01-261-0/+2
| | | | | Ass card vendor 004.
* Typo fixes.Werner Koch2007-07-171-3/+6
| | | | | | Made --default-key work for gpgsm Add --default-key and --encrypt-to to gpgconf.
* Fixed card key generation of gpg2.Werner Koch2007-07-051-13/+3
| | | | | Reveal less information about timings while generating a key.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Fix for bug 537Werner Koch2006-10-021-1/+1
|
* Various updatesWerner Koch2006-09-211-0/+1
|
* A couple of fixes. gpg2's key generation does now work.Werner Koch2006-06-301-1/+1
|
* g10/ does build again.Werner Koch2006-05-231-11/+7
|
* Merged with gpg 1.4.3 code. Werner Koch2006-04-191-77/+323
| | | | | The gpg part does not yet build.
* Compile fixes.Werner Koch2004-10-221-5/+25
|
* Updated from 1.3Werner Koch2004-10-221-130/+489
|
* * card-util.c (change_login): Kludge to allow reading data from aWerner Koch2004-07-011-11/+112
| | | | | | | | | | | | | 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.
* * card-util.c (card_edit): Remove PIN verification.Werner Koch2004-04-291-32/+26
| | | | | | (generate_card_keys): New arg SERIALNO. Do PIN verification here after resetting forced_chv1.
* (change_name): Check that the NAME is not too long.Werner Koch2004-04-261-0/+24
| | | | | | (change_url): Likewise. (change_login): Likewise.
* * card-util.c (print_name): Fixed bad format string usage.Werner Koch2003-12-171-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.
* * card-util.c (card_edit): New command "passwd". Add logic toWerner Koch2003-10-211-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.
* * call-agent.c (agent_scd_getattr): Don't clear the passed infoWerner Koch2003-10-081-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.
* Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch2003-10-021-0/+6
|
* * 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.