aboutsummaryrefslogtreecommitdiffstats
path: root/scd (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-09-06* configure.ac: Required newer versions of some libraries.V1-9-1Werner Koch4-26/+28
* 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.
2003-09-05* ccid-driver.c: More work, data can now actually be retrieved.Werner Koch3-164/+320
* ccid-driver.c, ccid-driver.h: Alternativley allow use under BSD conditions.
2003-09-02* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch7-7/+790
* 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.
2003-08-262003-08-26 Timo Schulz <[email protected]>Timo Schulz2-0/+7
* apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC is used.
2003-08-25(cmd_setattr): Use a copy of LINE.Werner Koch2-11/+32
(cmd_genkey): Use a copy of KEYNO. (cmd_passwd): Use a copy of CHVNOSTR. (cmd_pksign, cmd_pkauth, cmd_pkdecrypt): s/strdup/xtrystrdup/.
2003-08-19* scdaemon.c, scdaemon.h: New option --pcsc-driver.Werner Koch4-1/+22
* apdu.c (apdu_open_reader): Use that option here instead of a hardcoded one.
2003-08-18* scdaemon.c, scdaemon.h: New option --disable-opensc.Werner Koch2-4/+7
* 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.
2003-08-18* Makefile.am: Add OPENSC_LIBS to all programs.Werner Koch5-10/+261
* 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.
2003-08-14 * Always use 'dynload.h' instead of 'dlfcn.h'.Timo Schulz5-32/+36
2003-08-05Cleanups, fixes and PC/SC supportWerner Koch10-173/+456
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin17-0/+7138
'GNUPG-1-9-BRANCH'.
2003-06-05This commit was manufactured by cvs2svn to create branchRepo Admin3-0/+575
'GNUPG-1-9-BRANCH'.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin9-2888/+0
'GNUPG-1-9-BRANCH'.
2002-08-21use setlocale().Werner Koch1-3/+3
2002-08-21* scdaemon.c (main): New option --daemon so that the program isWerner Koch2-4/+18
not accidently started in the background.
2002-08-16* scdaemon.c: Include i18n.h.Werner Koch7-4/+148
* 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.
2002-08-16* card-common.h (struct p15_private_s): Forward declaration. AddWerner Koch5-17/+83
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.
2002-08-10Minor changes for gettextNEWPG-0-3-10Werner Koch2-1/+4
2002-08-09* card.c (card_get_serial_and_stamp): Use the tokeinfo serialWerner Koch5-52/+158
number as a fallback. Add a special prefix for serial numbers.
2002-06-27* gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.Werner Koch2-7/+5
* 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.
2002-06-15* card-dinsig.c: Documented some stuff from the DIN norm.Werner Koch2-2/+57
2002-04-25* call-agent.c (start_agent): Make copies of old locales and checkWerner Koch1-4/+4
for setlocale. * configure.ac: Check for setlocale.
2002-04-15* command.c (cmd_pksign, cmd_pkdecrypt): Use a copy of the key ID.Werner Koch2-2/+19
2002-04-12* scdaemon.c: New option --debug-sc N.Werner Koch5-85/+78
* 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.
2002-04-10* card.c (card_open): Return immediately when no reader is available.Werner Koch2-0/+5
2002-03-28* card.c (card_open, card_close): Adjusted for changes in OpenSC.Werner Koch4-64/+61
2002-03-18Added missing fileNEWPG-0-3-3Werner Koch1-0/+1
2002-03-18More stuff for SCs - don't expect them to work.Werner Koch3-0/+671
2002-03-18Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch5-406/+192
2002-03-06sm/Werner Koch1-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.
2002-03-06Decryption using a Cryptoflex card does now work.Werner Koch3-1/+140
2002-03-05Well and some stuff to access the SC will be helpful. Note, that theWerner Koch3-16/+116
code requires the latest OpenSC CVS code.
2002-03-04Added more code fragments.Werner Koch3-29/+220
2002-02-28Changes needed to support smartcards. Well, only _support_. There isWerner Koch5-30/+347
no real code yet.
2002-02-18Some experimental code - don't use it.Werner Koch4-16/+315
2002-01-26* scdaemon.c scdaemon.h, command.c: New. Based on the code fromWerner Koch5-0/+925
the gpg-agent.