aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * command.c (cmd_getattr): New command GETATTR.Werner Koch2003-09-301-0/+36
| | | | | | | | | | | | | | | | * app.c (app_setattr): New. (do_getattr): New. (do_learn_status): Reimplemented in terms of do_getattr. * app-openpgp.c (do_change_pin): Make sure CVH1 and CHV2 are always synced. (verify_chv2, verify_chv3): New. Factored out common code. (do_setattr, do_sign, do_auth, do_decipher): Change the names of the prompts to match that we have only 2 different PINs. (app_select_openpgp): Check whether the card enforced CHV1. (convert_sig_counter_value): New. Factor out code from get_sig_counter.
* (cmd_setattr): Use a copy of LINE.Werner Koch2003-08-251-11/+25
| | | | | | | (cmd_genkey): Use a copy of KEYNO. (cmd_passwd): Use a copy of CHVNOSTR. (cmd_pksign, cmd_pkauth, cmd_pkdecrypt): s/strdup/xtrystrdup/.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+1034
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-651/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * scdaemon.c: Include i18n.h.Werner Koch2002-08-161-1/+39
| | | | | | | | | | | | | | * card-common.h (struct p15_private_s): Forward declaration. Add it to card_ctx_s. * card.c (card_close): Make sure private data is released. (card_enum_certs): New. * card-p15.c (p15_release_private_data): New. (init_private_data): New to work around an OpenSC weirdness. (p15_enum_keypairs): Do an OpenSC get_objects only once. (p15_enum_certs): New. (card_p15_bind): Bind new function. * command.c (cmd_learn): Return information about the certificates.
* * call-agent.c (start_agent): Make copies of old locales and checkWerner Koch2002-04-251-4/+4
| | | | | | | for setlocale. * configure.ac: Check for setlocale.
* * command.c (cmd_pksign, cmd_pkdecrypt): Use a copy of the key ID.Werner Koch2002-04-151-2/+15
|
* Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch2002-03-181-16/+10
|
* sm/Werner Koch2002-03-061-0/+61
| | | | | | | | | | | | | | | | | * 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.
* Decryption using a Cryptoflex card does now work.Werner Koch2002-03-061-0/+35
|
* Well and some stuff to access the SC will be helpful. Note, that theWerner Koch2002-03-051-1/+55
| | | | | code requires the latest OpenSC CVS code.
* Added more code fragments.Werner Koch2002-03-041-14/+121
|
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-281-25/+131
| | | | | no real code yet.
* Some experimental code - don't use it.Werner Koch2002-02-181-14/+83
|
* * scdaemon.c scdaemon.h, command.c: New. Based on the code fromWerner Koch2002-01-261-0/+174
the gpg-agent.