opensc/src/pkcs11
okir 829e7f6712 - added initialize() function to card ops vector
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@469 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 15:02:41 +00:00
..
rsaref Add maintainer-clean patch by Andreas Jellinghaus <aj@dungeon.inka.de> 2002-04-02 09:38:06 +00:00
.cvsignore Add .cvsignore skeleton 2001-12-22 22:11:43 +00:00
Makefile.am Install headers to ${prefix}/include/opensc 2002-04-05 10:25:14 +00:00
README - do not enable the RSA flag n netscape 2002-03-18 12:49:08 +00:00
framework-pkcs15.c - add CKF_TOKEN_INITIALIZED flag 2002-04-05 15:01:43 +00:00
misc.c Add support for config.h 2002-03-25 12:39:35 +00:00
opensc_pkcs11_install.js Testing version. Use if you dare. 2002-01-28 19:29:35 +00:00
pkcs11-global.c - Added C_Initialize 2002-04-05 15:02:18 +00:00
pkcs11-object.c Add support for config.h 2002-03-25 12:39:35 +00:00
pkcs11-session.c Add support for config.h 2002-03-25 12:39:35 +00:00
sc-pkcs11.h - added initialize() function to card ops vector 2002-04-05 15:02:41 +00:00
secretkey.c Add support for config.h 2002-03-25 12:39:35 +00:00
slot.c Add support for config.h 2002-03-25 12:39:35 +00:00

README

Installation
------------

Netscape:
	Select menu: Communicator -> Tools -> Security Info

	Select Cryptographic Modules
	
	Click: Add

	Module name: descriptive name about module (eg. opensc-pkcs11)
	Module file: absolute path of opensc-pkcs11.so

	For proper operation, you also need to configure the module:
	In the Crypthographic Modules dialog, select the OpenSC card,
	and click on the "Config" button to the right. Select the
	"Enable this token" radio button, and select the "Publicly
	readable Certs" button.

	This will ensure that netscape uses the card when trying to
	display encrypted messages in netscape messenger.  Setting
	"Publicly readable Certs" will also stop a pretty annoying habit
	of netscape which is to ask for all PINs when browsing sites
	requiring client authentication.

	You should _not_ select the "RSA" button. If this option is
	selected, netscape will try to use the card for all public key
	operations, and will fail horribly.

Mozilla:
	Make sure Personal Security Manager (PSM) is installed
	(eg. mozilla-psm package is installed).

	Select menu: Edit -> Preferences

	Select category: Privacy & Security -> Certificates

	Click: Manage Security Devices

	Click: Load

	Module name: descriptive name about module (eg. opensc-pkcs11)
	Module file: absolute path of opensc-pkcs11.so


Notes
-----

Netscape seems to show more information about the security module
than mozilla. Otherwise all stuff is untested.