opensc/src/pkcs15init
2004-08-14 13:43:17 +00:00
..
.cvsignore Resync .cvsignore files 2003-07-17 12:39:11 +00:00
cyberflex.profile - More cyberflex fixes from Martin Buechler 2003-12-09 13:57:20 +00:00
etoken.profile - disallow UPDATE on the Application DF 2003-10-21 08:32:17 +00:00
flex.profile - added recommendation about 2 cert/key pairs 2003-10-30 11:13:11 +00:00
gpk.profile - pkcs15 rewrite 2003-10-13 16:13:12 +00:00
jcop.profile - Added support for JCOP/BlueZ cards, contributed by Chaskiel M Grundman 2003-12-29 12:28:37 +00:00
keycache.c remove pointer to freed secret object 2004-04-18 18:42:47 +00:00
keycache.h - Minor build and C++ warning fixes 2003-12-18 21:37:34 +00:00
Makefile.am Very basic and untested oberthur driver. Could possibly work, 2004-06-16 20:59:59 +00:00
Makefile.mak Also add oberthur files to Makefile.mak. 2004-06-18 09:30:21 +00:00
miocos.profile - Small update to MioCOS pkcs15init driver 2002-04-19 18:01:49 +00:00
oberthur.profile patch supplied by Victor Tarasov <vtarasov@idealx.com> 2004-06-24 17:03:17 +00:00
pkcs15-cflex.c - Warning fixes 2004-01-08 15:23:11 +00:00
pkcs15-etoken.c - Prepare for userConsent support: changed ops->create_pin to take 2003-10-17 11:21:48 +00:00
pkcs15-gpk.c - Minor build and C++ warning fixes 2003-12-18 21:37:34 +00:00
pkcs15-init.h Very basic and untested oberthur driver. Could possibly work, 2004-06-16 20:59:59 +00:00
pkcs15-jcop.c - Warning fixes 2004-01-08 15:23:11 +00:00
pkcs15-lib.c improve pkcs15-init + pkcs15-tool support for data objects 2004-08-14 13:43:17 +00:00
pkcs15-miocos.c - Error logging changes: replace ctx->log_errors with ctx->suppress_errors 2003-10-14 09:57:29 +00:00
pkcs15-oberthur.c Very basic and untested oberthur driver. Could possibly work, 2004-06-16 20:59:59 +00:00
pkcs15-starcos.c clean up access rights for updating pin/puk 2004-06-22 17:46:45 +00:00
pkcs15.profile Very basic and untested oberthur driver. Could possibly work, 2004-06-16 20:59:59 +00:00
profile.c - Properly handle max-length in PIN statements; added new stored-length: 2004-02-03 10:25:20 +00:00
profile.h - Implemented keep-public-key and sc_pkcs15init_remove_object as 2004-01-06 14:30:24 +00:00
README - added comment on pkcs12 files 2002-12-04 14:28:08 +00:00
starcos.profile initial pkcs15-init support for starcos spk 2.3 cards/tokens 2004-04-17 09:20:08 +00:00


Very brief instructions

To init card:

Erase card and create pkcs15 dir
	./pkcs15-init -EC

Store a PIN on the card, using ID 01
	./pkcs15-init -P  --auth-id 01 --pin aaaa --puk bbbb --label "My PIN"

Generate a 512 bit RSA key and store on card, protected by the above PIN
	./pkcs15-init -G rsa/512 --auth-id 01

Or, store a pkcs12 key/certificate pair
	./pkcs15-init --auth-id 01 -f pkcs12 -S mycert.p12

	Note that the pkcs12 file must use just one password - if you
	use different passwords for integrity and confidentiality,
	OpenSC will fail to import the keys.