aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * configure.ac: Required newer versions of some libraries.V1-9-1Werner Koch2003-09-061-2/+1
| | | | | | | | | | | | | * misc.c (openpgp_pk_algo_usage): Allow AUTH where SIGN is allowed. * keygen.c (ask_passphrase): No need to allocated S2K in secure memory. * scdaemon.c (main): --pcsc-driver again defaults to pcsclite. David Corcoran was so kind to remove the GPL incompatible advertisng clause from pcsclite. * apdu.c (apdu_open_reader): Actually make pcsc-driver option work.
* * configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch2003-09-021-2/+11
| | | | | | | | * scdaemon.c, scdaemon.h: New option --pcsc-ccid. * ccid-driver.c, ccid-driver.h: New but far from being useful. * Makefile.am: Add above. * apdu.c: Add support for that ccid driver.
* * scdaemon.c, scdaemon.h: New option --pcsc-driver.Werner Koch2003-08-191-1/+9
| | | | | | * apdu.c (apdu_open_reader): Use that option here instead of a hardcoded one.
* * Makefile.am: Add OPENSC_LIBS to all programs.Werner Koch2003-08-181-0/+12
| | | | | | | | | | | * scdaemon.c, scdaemon.h: New option --disable-opensc. * 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.
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-051-5/+7
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+638
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-633/+0
| | | | 'GNUPG-1-9-BRANCH'.
* use setlocale().Werner Koch2002-08-211-3/+3
|
* * scdaemon.c (main): New option --daemon so that the program isWerner Koch2002-08-211-4/+13
| | | | | not accidently started in the background.
* * scdaemon.c: Include i18n.h.Werner Koch2002-08-161-3/+1
| | | | | | | | | | | | | | * 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.
* Minor changes for gettextNEWPG-0-3-10Werner Koch2002-08-101-1/+1
|
* * card.c (card_get_serial_and_stamp): Use the tokeinfo serialWerner Koch2002-08-091-2/+2
| | | | | number as a fallback. Add a special prefix for serial numbers.
* * gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.Werner Koch2002-06-271-7/+1
| | | | | | | | | | | | | * call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained.
* * scdaemon.c: New option --debug-sc N.Werner Koch2002-04-121-0/+3
| | | | | | | | | * 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.
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-281-0/+2
| | | | | no real code yet.
* * scdaemon.c scdaemon.h, command.c: New. Based on the code fromWerner Koch2002-01-261-0/+627
the gpg-agent.