aboutsummaryrefslogtreecommitdiffstats
path: root/scd (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-07-31minor changes to make make distcheck happyWerner Koch2-3/+8
2003-07-29*** empty log message ***Werner Koch1-1/+1
2003-07-29* gpgsm.c (main): Add secmem features and set the random seed file.Werner Koch3-35/+40
(gpgsm_exit): Update the random seed file and enable debug output. * g10.c (main): Add secmem features and set the random seed file. (g10_exit): Update the random seed file. * parse-packet.c (parse_signature,read_protected_v3_mpi) (parse_key): Fixed use of mpi_set_opaque. * keygen.c (gen_card_key): Ditto.
2003-07-28Adjusted for use with current libgcrypt (1.1.42).Werner Koch3-9/+12
2003-07-24* app-openpgp.c (do_learn_status): Print more status information.Werner Koch3-7/+59
(app_select_openpgp): Store the card version. (store_fpr): Add argument card_version and fix DOs for old cards. (app_openpgp_storekey): Likewise.
2003-07-23* command.c (cmd_pkauth): New.Werner Koch10-82/+668
(cmd_setdata): Check whether data was given at all to avoid passing 0 to malloc. * app.c (app_auth): New. * app-openpgp.c (do_auth): New.
2003-07-16* Makefile.am: Add sc-copykeys program.Werner Koch5-10/+1028
* sc-copykeys.c: New. * app-openpgp.c (app_openpgp_storekey): New. (app_openpgp_cardinfo): New. (count_bits): New. (store_fpr): And use it here to get the actual length in bit.
2003-07-03* app-openpgp.c (do_setattr): Add setting of the URL.Werner Koch11-36/+206
(app_select_openpgp): Dump card data only in very verbose mode. (do_decipher): New.
2003-07-01* app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch3-12/+116
* keygen.c (gen_card_key): Obviously we should use the creation date received from SCDAEMON, so that the fingerprints will match. * sign.c (do_sign): Pass the serialno to the sign code. * keyid.c (serialno_and_fpr_from_sk): New.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch10-66/+970
2003-06-18Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2-10/+10
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.
2003-06-05A small step for GnuPG but a huge leap for error codes.Werner Koch2-2/+8
(Sorry, it does not build currently - I need to check it in to avoid duplicate work.)
2003-06-04Update error handling to match gpg-error in CVS.Marcus Brinkmann4-35/+34
2003-06-03* scdaemon.h: Include gpg-error.h and errno.hWerner Koch7-10/+1266
* card.c (map_sc_err): Use unknown for the error source. * Makefile.am: Link with libgpg-error
2003-06-03Make use of libgpg-errorWerner Koch11-107/+455
2003-04-29* scdaemon.c: New options --print-atr and --reader-portWerner Koch8-11/+378
* apdu.c, apdu.h: New * card.c, card-p15.c, card-dinsig.c: Allow build without OpenSC.
2003-04-29* Makefile.am (LDFLAGS): Removed.Werner Koch3-19/+21
* command.c (register_commands): Adjusted for new Assuan semantics.
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.