summaryrefslogtreecommitdiffstats
path: root/doc/scdaemon.texi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scd: Support for SmartCard-HSMAndreas Schwier2014-07-251-0/+14
| | | | | | | | | | | | | | | | | | * scd/app-sc-hsm.c: New. * scd/app.c (select_application, get_supported_applications): Register new app. -- Add a read/only driver for scdaemon that provides access to keys and certificates on a SmartCard-HSM (www.smartcard-hsm.com). The driver supports RSA and ECC keys on SmartCard-HSM cards and USB-Sticks. The driver does not yet support the MicroSD edition. -- ChangeLog and FSF copyright year fix by wk.
* doc: Improve the rendering of the manualWerner Koch2014-06-251-5/+9
|
* gpg: Make decryption with the OpenPGP card work.Werner Koch2013-08-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * scd/app-common.h (APP_DECIPHER_INFO_NOPAD): New. * scd/app-openpgp.c (do_decipher): Add arg R_INFO. * scd/app-nks.c (do_decipher): Add arg R_INFO as a dummy. * scd/app.c (app_decipher): Add arg R_INFO. * scd/command.c (cmd_pkdecrypt): Print status line "PADDING". * agent/call-scd.c (padding_info_cb): New. (agent_card_pkdecrypt): Add arg R_PADDING. * agent/divert-scd.c (divert_pkdecrypt): Ditto. * agent/pkdecrypt.c (agent_pkdecrypt): Ditto. * agent/command.c (cmd_pkdecrypt): Print status line "PADDING". * g10/call-agent.c (padding_info_cb): New. (agent_pkdecrypt): Add arg R_PADDING. * g10/pubkey-enc.c (get_it): Use padding info. -- Decryption using a card never worked in gpg 2.1 because the information whether the pkcs#1 padding needs to be removed was not available. Gpg < 2.1 too this info from the secret sub key but that has gone in 2.1. Signed-off-by: Werner Koch <wk@gnupg.org>
* scd: Improve --enable-pinpad-varlen.Werner Koch2013-08-211-4/+4
| | | | | | | | * tools/gpgconf-comp.c (gc_options_scdaemon): Add enable-pinpad-varlen. * scd/apdu.c (check_pcsc_pinpad): Detect SPRx32 reader. Signed-off-by: Werner Koch <wk@gnupg.org>
* scd: Rename 'keypad' to 'pinpad'.NIIBE Yutaka2013-02-081-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: Mention scd changes. * agent/divert-scd.c (getpin_cb): Change message. * agent/call-scd.c (inq_needpin): Change the protocol to POPUPPINPADPROMPT and DISMISSPINPADPROMPT. * scd/command.c (pin_cb): Likewise. * scd/apdu.c (struct reader_table_s): Rename member functions. (check_pcsc_pinpad, pcsc_pinpad_verify, pcsc_pinpad_modify, check_ccid_pinpad, ccid_pinpad_operation, apdu_check_pinpad apdu_pinpad_verify, apdu_pinpad_modify): Rename. * scd/apdu.h (SW_HOST_NO_PINPAD, apdu_check_pinpad) (apdu_pinpad_verify, apdu_pinpad_modify): Rename. * scd/iso7816.h (iso7816_check_pinpad): Rename. * scd/iso7816.c (map_sw): Use SW_HOST_NO_PINPAD. (iso7816_check_pinpad): Rename. (iso7816_verify_kp, iso7816_change_reference_data_kp): Follow the change. * scd/ccid-driver.h (CCID_DRIVER_ERR_NO_PINPAD): Rename. * scd/ccid-driver.c (ccid_transceive_secure): Use it. * scd/app-dinsig.c (verify_pin): Follow the change. * scd/app-nks.c (verify_pin): Follow the change. * scd/app-openpgp.c (check_pinpad_request): Rename. (parse_login_data, verify_a_chv, verify_chv3, do_change_pin): Follow the change. * scd/scdaemon.c (oDisablePinpad, oEnablePinpadVarlen): Rename. * scd/scdaemon.h (opt): Rename to disable_pinpad, enable_pinpad_varlen. * tools/gpgconf-comp.c (gc_options_scdaemon): Rename to disable-pinpad.
* scd: Add the "undefined" stub application.Werner Koch2011-12-141-0/+11
| | | | | * scd/app.c (select_application): Implement the "undefined" application.
* scd: New option --debug-assuan-log-cats.Werner Koch2011-12-131-19/+28
| | | | | | | | | | | | * scd/scdaemon.c (oDebugAssuanLogCats): New. (opts): Add option --debug-assuan-log-cats. (main): Implement option. * common/asshelp.c (set_libassuan_log_cats): New. -- The old way of setting the logging categories with an environment variable is awkward if sdaemon is spawned from a running gpg-agent.
* support numeric debug levels.Werner Koch2009-12-031-7/+13
|
* Typo fixes. Fixes bug#1093Werner Koch2009-07-221-11/+11
|
* Improved smartcard robustness.Werner Koch2009-05-131-1/+5
|
* Fixed a nasty bug in scdaemon which led to a card reset if the card wasWerner Koch2009-02-251-0/+4
| | | | | | inserted during scdaemon startup and a connection was made before the ticker had a chance to run. Add some stuff for better debugging.
* Make --allow-admin the default.Werner Koch2009-01-281-11/+23
|
* Add option --card-timeout.Werner Koch2008-12-051-0/+14
| | | | | | | Add a new attribyte to app-openpgp.c Fix two portability bugs. Have gpg-connect-agent autostart gpg-agent on W32.
* Fix !EROFS bug.Werner Koch2008-08-011-1/+1
| | | | | Doc updates
* Do not run the setuid test if running under as root proper.Werner Koch2008-07-171-2/+3
| | | | | | Documentation fixes. Some enhancements for the new OpenPGP Card.
* Add support for the TCOS NullPIN feature.Werner Koch2008-06-241-2/+3
|
* Typo and grammer fixes by Justin Pryzby.Werner Koch2008-01-281-5/+5
|
* Factored common gpgconf constants outWerner Koch2007-08-021-5/+0
| | | | | Fixed W32 compare_filenames
* Add a way to get a listing of available CCID readers.Werner Koch2007-04-031-0/+7
|
* agent/Werner Koch2007-02-141-1/+1
| | | | | | | | | | * gpg-agent.c: New option --pinentry-touch-file. (get_agent_socket_name): New. * agent.h (opt): Add pinentry_touch_file. * call-pinentry.c (start_pinentry): Send new option to the pinentry.
* Let scdaemon call a script on status changesWerner Koch2006-09-071-1/+45
|
* More man pages. Added include files for 2 common paragraphs.Werner Koch2006-08-181-8/+2
|
* include support and texi fixesWerner Koch2006-08-171-1/+1
|
* More man pages.Werner Koch2006-08-171-42/+70
|
* Made make distcheck work againWerner Koch2006-06-201-1/+1
|
* Added command APDUWerner Koch2006-04-111-0/+46
|
* Allo RMD160 signaturesWerner Koch2006-03-211-1/+8
|
* NEw file qualified.ttx - not yet ready for distributionWerner Koch2005-11-131-0/+4
|
* Preparing 1.9.17V1-9-17Werner Koch2005-06-201-5/+25
|
* New debugging optionhs, updates to the manual.Werner Koch2005-06-071-0/+8
|
* * Makefile.am: Do not build sc-copykeys anymore.Werner Koch2005-05-231-2/+29
| | | | | | * app-openpgp.c (app_openpgp_storekey, app_openpgp_readkey) (app_openpgp_cardinfo): Removed.
* * protect-tool.c: New option --canonical.Werner Koch2005-05-201-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | (show_file): Implement it. * keyformat.txt: Define the created-at attribute for keys. * ccid-driver.c: Replaced macro DEBUG_T1 by a new debug level. (parse_ccid_descriptor): Mark SCR335 firmware version 5.18 good. (ccid_transceive): Arghhh. The seqno is another bit in the R-block than in the I block, this was wrong at one place. * scdaemon.c: New options --debug-ccid-driver and --debug-disable-ticker. * app-openpgp.c (do_genkey, do_writekey): Factored code to check for existing key out into .. (does_key_exist): .. New function. * gpg-connect-agent.c (add_definq, show_definq, clear_definq) (handle_inquire): New. (read_and_print_response): Handle INQUIRE command. (main): Implement control commands.
* * configure.ac: Removed OpenSC detection and options.Werner Koch2005-04-271-12/+6
| | | | | | | | | | | | | | | | | | | * acinclude.m4: Ditto. * scdaemon.texi: Removed OpenSC specific options. * app-p15.c: New. Basic support for pkcs15 cards without OpenSC. There are quite a couple of things missing but at least I can use my old TCOS cards from the Aegypten-1 development for signing. * app.c (select_application): Detect pkcs15 applications. * Makefile.am (scdaemon_SOURCES): Removed card.c, card-common.h and card-p15.c because they are now obsolete. Added app-p15.c. Removed all OpenSC stuff. * command.c (do_reset, open_card, cmd_serialno, cmd_learn) (cmd_readcert, cmd_readkey, cmd_pksign, cmd_pkdecrypt): Removed all special cases for the old card.c based mechanisms. * scdaemon.c, apdu.c: Removed all special cases for OpenSC.
* * preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch2004-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (gpg_preset_passphrase_LDADD): Reorder libs so that pwquery may use stuff from jnlib. Conditionally add -lwsock2 (gpg_protect_tool_LDADD): Ditto. * preset-passphrase.c (main): Use default_homedir(). (main) [W32]: Initialize sockets. * simple-pwquery.c (agent_open) [W32]: Implement for W32. (readline) [W32]: Use recv instead of read. (writen) [W32]: Use send instead of write. (my_stpcpy): Define a stpcpy replacement so that this file continues to be self-contained. (agent_send_all_options) [W32]: Don't call ttyname. * gnupg-badge-openpgp.eps, gnupg-badge-openpgp.jpg: New * gnupg.texi: Add a logo. * sysnotes.texi: New. * gpgsm.c (main): Use default_homedir(). (main) [W32]: Default to disabled CRL checks. * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute pathnames with a drive letter.
* * configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch2004-12-201-0/+9
| | | | | | | | | | | | | | | | | | | | directories default to c:/gnupg. Require libassuan 0.6.9. * gpg-agent.c (main) [W32]: Now that Mutexes work we can remove the pth_init kludge. (main): Add new options --[no-]use-standard-socket. (check_for_running_agent): Check whether it is running on the standard socket. * sysutils.h [W32]: Define sleep. * util.h: Add prototype for mkdtemp. * call-agent.c (start_agent): Before starting a pipe server start to connect to a server on the standard socket. Use PATHSEP * call-dirmngr.c (start_dirmngr): Use PATHSEP. * import.c: Include unistd.h for dup and close.
* * sc-investigate: Removed.Werner Koch2004-10-201-1/+2
| | | | | | | | | | | | | | | | | * Makefile.am (sc_investigate): Removed. * pcsc-wrapper.c (load_pcsc_driver): Load get_status_change func. (handle_open): Succeed even without a present card. (handle_status, handle_reset): New. * apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion. (pcsc_get_status): Implemented. (reset_pcsc_reader): Implemented. (open_pcsc_reader): Succeed even with no card inserted. (open_ccid_reader): Set LAST_STATUS. * iso7816.c (iso7816_select_application): Always use 0 for P1.
* * gpg.texi: New.Werner Koch2004-09-301-10/+11
| | | | | | | | | | * gnupg.texi: Include gpg.texi * tools.texi: Add a few @command markups. * gpgsm.texi: Ditto * gpg-agent.texi: Ditto. * scdaemon.texi: Ditto.
* * configure.ac: Changed tests for libusb to also suuport theWerner Koch2004-08-051-2/+55
| | | | | | | | | | | | | | | | | | stable version 0.1.x. * scdaemon.texi (Card applications): New section. * scdaemon.c (main): New option --disable-application. * app.c (is_app_allowed): New. (select_application): Use it to check for disabled applications. * ccid-driver.h (CCID_DRIVER_ERR_ABORTED): New. * ccid-driver.c (ccid_open_reader): Support the stable 0.1 version of libusb. (ccid_get_atr): Handle short messages. * apdu.c (my_rapdu_get_status): Implemented.
* Described new optionsWerner Koch2004-02-181-0/+23
|
* Fixed a build bug (straw letter in sm/import.c) and updated the documentation.Werner Koch2004-02-041-1/+3
|
* (Certificate Options): Add --{enable,disable}-ocsp.Werner Koch2003-12-011-0/+11
|
* * card-util.c (card_edit): New command "passwd". Add logic toWerner Koch2003-10-211-0/+40
| | | | | | | | check the PIN in advance. (card_status): Add new args to return the serial number. Changed all callers. * call-agent.c (agent_scd_checkpin): New.
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-051-0/+4
|
* * scdaemon.c: New options --print-atr and --reader-portWerner Koch2003-04-291-0/+10
| | | | | | | * apdu.c, apdu.h: New * card.c, card-p15.c, card-dinsig.c: Allow build without OpenSC.
* Taken from NewPGWerner Koch2003-01-091-0/+297