aboutsummaryrefslogtreecommitdiffstats
path: root/scd/card-p15.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-24/+24
| | | | | | | | 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.
* Use bin2hex if possible.Werner Koch2008-11-031-7/+2
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* *** empty log message ***Werner Koch2004-03-161-6/+6
|
* Replaced deprecated type names.Werner Koch2003-12-171-6/+5
| | | | | | * card-p15.c (p15_enum_keypairs): Replaced KRC by RC. * card-dinsig.c (dinsig_enum_keypairs): Ditto.
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-121-7/+6
|
* * scdaemon.c, scdaemon.h: New option --disable-opensc.Werner Koch2003-08-181-3/+3
| | | | | | | | | | | | | * card.c (card_open): Implement it. * apdu.c (open_osc_reader, osc_send_apdu): New. (apdu_open_reader) [HAVE_OPENSC]: Use the opensc driver if not disabled. (error_string) [HAVE_OPENSC]: Use sc_strerror. (send_apdu) [HAVE_OPENSC]: Call osc_apdu_send. * card-p15.c (p15_enum_keypairs, p15_prepare_key): Adjusted for libgpg-error.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+502
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-498/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * scdaemon.c: Include i18n.h.Werner Koch2002-08-161-0/+67
| | | | | | | | | | | | | | * 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-10/+63
| | | | | | | | | 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-1/+2
| | | | | number as a fallback. Add a special prefix for serial numbers.
* * scdaemon.c: New option --debug-sc N.Werner Koch2002-04-121-80/+59
| | | | | | | | | * 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, card_close): Adjusted for changes in OpenSC.Werner Koch2002-03-281-2/+1
|
* More stuff for SCs - don't expect them to work.Werner Koch2002-03-181-0/+399