aboutsummaryrefslogtreecommitdiffstats
path: root/scd/card.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adjusted for use with current libgcrypt (1.1.42).Werner Koch2003-07-281-1/+4
|
* * app-openpgp.c (do_setattr): Add setting of the URL.Werner Koch2003-07-031-2/+2
| | | | | | (app_select_openpgp): Dump card data only in very verbose mode. (do_decipher): New.
* Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch2003-06-271-1/+2
|
* Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2003-06-181-6/+6
| | | | | | | | | | | 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.
* Update error handling to match gpg-error in CVS.Marcus Brinkmann2003-06-041-16/+15
|
* Make use of libgpg-errorWerner Koch2003-06-031-47/+51
|
* * scdaemon.c: New options --print-atr and --reader-portWerner Koch2003-04-291-0/+17
| | | | | | | * apdu.c, apdu.h: New * card.c, card-p15.c, card-dinsig.c: Allow build without OpenSC.
* * scdaemon.c: Include i18n.h.Werner Koch2002-08-161-0/+33
| | | | | | | | | | | | | | * 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.
* * card-common.h (struct p15_private_s): Forward declaration. AddWerner Koch2002-08-161-0/+2
| | | | | | | | | it to card_ctx_s. * card.c (card_close): Make sure private data is released. * 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.
* * card.c (card_get_serial_and_stamp): Use the tokeinfo serialWerner Koch2002-08-091-48/+131
| | | | | number as a fallback. Add a special prefix for serial numbers.
* * scdaemon.c: New option --debug-sc N.Werner Koch2002-04-121-5/+6
| | | | | | | | | * card.c (card_open): set it here. * card-p15.c (p15_prepare_key): Factored out common code from ... (p15_sign, p15_decipher): here and made the decryption work the regular way.
* * card.c (card_open): Return immediately when no reader is available.Werner Koch2002-04-101-0/+1
|
* * card.c (card_open, card_close): Adjusted for changes in OpenSC.Werner Koch2002-03-281-60/+52
|
* Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch2002-03-181-382/+167
|
* Decryption using a Cryptoflex card does now work.Werner Koch2002-03-061-0/+100
|
* Well and some stuff to access the SC will be helpful. Note, that theWerner Koch2002-03-051-15/+55
| | | | | code requires the latest OpenSC CVS code.
* Added more code fragments.Werner Koch2002-03-041-15/+95
|
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-281-3/+205
| | | | | no real code yet.
* Some experimental code - don't use it.Werner Koch2002-02-181-0/+221