opensc/src/pkcs15init
martin d3201511c7 r3717:3719 from trunk
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3720 c6295689-39f2-0310-b995-f0e70906c6a9
2009-09-12 11:46:00 +00:00
..
Makefile.am r3717:3719 from trunk 2009-09-12 11:46:00 +00:00
Makefile.mak r3717:3719 from trunk 2009-09-12 11:46:00 +00:00
README - added comment on pkcs12 files 2002-12-04 14:28:08 +00:00
asepcos.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
cardos.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
cyberflex.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
entersafe.profile Entersafe changes by Weitao Sun: 2009-04-02 10:32:02 +00:00
flex.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
gpk.profile change base id so it does not overlap with the next one. 2009-03-05 15:15:24 +00:00
incrypto34.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
jcop.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
keycache.c When forgetting PIN set to 'null' the corresponding named_pin's entry 2006-11-02 09:19:17 +00:00
keycache.h - Cleanup, typo fix 2005-02-02 10:21:10 +00:00
miocos.profile - Small update to MioCOS pkcs15init driver 2002-04-19 18:01:49 +00:00
muscle.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
oberthur.profile change inappropriate oberthur profile 2007-03-05 17:30:35 +00:00
pkcs15-asepcos.c check tpin before trying to delete application 2008-02-25 19:47:11 +00:00
pkcs15-cardos.c Chaskiel Grundman: 2008-07-21 14:35:21 +00:00
pkcs15-cflex.c inline is something the compiler can decide on his own. 2007-07-09 14:17:43 +00:00
pkcs15-entersafe.c Weitao Sun: no one can create more than 15 files 2009-07-23 08:56:41 +00:00
pkcs15-gpk.c Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
pkcs15-incrypto34.c inline is something the compiler can decide on his own. 2007-07-09 14:17:43 +00:00
pkcs15-init.h r3717:3719 from trunk 2009-09-12 11:46:00 +00:00
pkcs15-jcop.c Added support for deleting pkcs15 objects, each card driver should implement its delete_object() operation in order to support it 2005-08-22 09:20:13 +00:00
pkcs15-lib.c r3717:3719 from trunk 2009-09-12 11:46:00 +00:00
pkcs15-miocos.c convert to utf-8. 2006-12-19 21:34:00 +00:00
pkcs15-muscle.c convert a C++ comment in C comment 2008-04-28 07:44:07 +00:00
pkcs15-oberthur.c convert C++ comment in C comment 2008-04-28 07:45:28 +00:00
pkcs15-rtecp.c Aktiv Co./Aleksey Samsonov: 2009-07-22 12:24:33 +00:00
pkcs15-rutoken.c Aktiv Co./Aleksey Samsonov: 2009-07-22 12:24:33 +00:00
pkcs15-setcos.c fix more warnings found by gcc/sparse. 2007-06-21 11:07:00 +00:00
pkcs15-starcos.c add functions 2005-10-30 19:08:06 +00:00
pkcs15-westcos.c r3717:3719 from trunk 2009-09-12 11:46:00 +00:00
pkcs15.profile Forgotten to add in r2773 2006-01-03 14:42:30 +00:00
pkcs15init.exports Add new rutoken_ecp driver by Aktiv Co. / Aleksey Samsonov 2009-06-24 15:26:37 +00:00
profile.c Set hardcoded default for profile_dir 2009-01-16 21:27:46 +00:00
profile.h The lastUpdate field is in the EF(TokenInfo), not in the ODF (thx Nils) 2005-08-29 20:48:00 +00:00
rutoken.profile Rutoken updates 2009-01-28 12:10:13 +00:00
rutoken_ecp.profile Add new rutoken_ecp driver by Aktiv Co. / Aleksey Samsonov 2009-06-24 15:26:37 +00:00
setcos.profile Improved ACs 2005-08-24 16:11:46 +00:00
starcos.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
westcos.profile r3717:3719 from trunk 2009-09-12 11:46:00 +00:00

README


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.