opensc/src/pkcs11
aet d81d10ba90 Upgrade sources to use new headers, part #1
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@458 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 10:44:51 +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 - fix signing of raw md5/sha1 hash w/o pkcs1 gunk prefix 2002-03-26 20:05:28 +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 Add support for config.h 2002-03-25 12:39:35 +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 Upgrade sources to use new headers, part #1 2002-04-05 10:44:51 +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.