opensc/src/pkcs15init
vtarasov 3c5d61716c pkcs15init: EnterSafe: increase size of the xDF files
http://www.opensc-project.org/pipermail/opensc-devel/2011-February/016051.html


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5236 c6295689-39f2-0310-b995-f0e70906c6a9
2011-03-15 09:39:04 +00:00
..
Makefile.am Amend r5201: also move libltdl build properties to the right Makefile and other leftovers. 2011-02-17 07:45:36 +00:00
Makefile.mak IAS/ECC: include support of the IAS/ECC v1.0.1 cards ... 2011-02-16 10:59:10 +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
authentic.profile libopensc: export sc_find_app(), remove debug message, ... 2011-01-12 17:41:10 +00:00
cardos.profile pkcs15init cardos: fix update keys 2010-01-31 20:26:45 +00:00
cyberflex.profile cyberflex: no more 'protect-certificates' profile option 2010-02-20 23:20:38 +00:00
entersafe.profile pkcs15init: EnterSafe: increase size of the xDF files 2011-03-15 09:39:04 +00:00
flex.profile pkcs15init cflex: fix protected initialisation 2010-03-04 13:37:11 +00:00
gpk.profile change base id so it does not overlap with the next one. 2009-03-05 15:15:24 +00:00
ias_adele_admin1.profile IAS/ECC: add IAS/ECC card specific files ... 2011-02-16 10:55:05 +00:00
ias_adele_admin2.profile IAS/ECC: add IAS/ECC card specific files ... 2011-02-16 10:55:05 +00:00
ias_adele_common.profile IAS/ECC: add IAS/ECC card specific files ... 2011-02-16 10:55:05 +00:00
iasecc.profile IAS/ECC: add IAS/ECC card specific files ... 2011-02-16 10:55:05 +00:00
iasecc_admin_eid.profile IAS/ECC: add IAS/ECC card specific files ... 2011-02-16 10:55:05 +00:00
iasecc_generic_oberthur.profile IAS/ECC: add IAS/ECC card specific files ... 2011-02-16 10:55:05 +00:00
iasecc_generic_pki.profile IAS/ECC: add IAS/ECC card specific files ... 2011-02-16 10:55:05 +00:00
incrypto34.profile pkcs15init profile: 'private key' as BSO is differenciated from the one as EF 2010-01-21 10:07:40 +00:00
jcop.profile Create new type "privdata" in all profiles with different 2008-12-28 16:07:51 +00:00
miocos.profile - Small update to MioCOS pkcs15init driver 2002-04-19 18:01:49 +00:00
muscle.profile muscle profile: keep default ACLs for the 'DIR' file 2010-03-31 12:41:39 +00:00
myeid.profile myeid: applied patch for MyEID card profile 2010-09-27 07:50:14 +00:00
oberthur.profile oberthur: add in emulator and create in pkcs15init the private data object 2010-04-18 14:51:44 +00:00
pkcs15-asepcos.c Use & for logical and 2011-02-05 16:54:28 +00:00
pkcs15-authentic.c Remove dead code 2011-02-05 20:54:31 +00:00
pkcs15-cardos.c pkcs15init: new 'emulation-store-data' operation ... 2010-12-30 12:50:35 +00:00
pkcs15-cflex.c Remove dead code 2011-02-05 20:42:50 +00:00
pkcs15-entersafe.c pkcs15init: new 'emulation-store-data' operation ... 2010-12-30 12:50:35 +00:00
pkcs15-gpk.c Remode dead code 2011-02-05 20:41:51 +00:00
pkcs15-iasecc.c IAS/ECC: remove dead code and '//' coments, resolve some warnings ... 2011-02-16 14:05:17 +00:00
pkcs15-incrypto34.c Remove dead code 2011-02-05 20:47:40 +00:00
pkcs15-init.h IAS/ECC: include support of the IAS/ECC v1.0.1 cards ... 2011-02-16 10:59:10 +00:00
pkcs15-jcop.c Remove dead code 2011-02-05 20:45:05 +00:00
pkcs15-lib.c pkcs15init: #327: unique ID for the private key objects. Thanks a Diego (NdK) ... 2011-03-06 11:34:58 +00:00
pkcs15-miocos.c pkcs15init: new 'emulation-store-data' operation ... 2010-12-30 12:50:35 +00:00
pkcs15-muscle.c Remove dead code 2011-02-05 20:48:56 +00:00
pkcs15-myeid.c pkcs15init: for MyEID card set tokenInfo flags ... 2011-02-16 10:46:06 +00:00
pkcs15-oberthur-awp.c Remove dead code 2011-02-05 20:53:08 +00:00
pkcs15-oberthur.c Remove dead code 2011-02-05 20:51:02 +00:00
pkcs15-oberthur.h style: // -> /* */ 2010-06-16 12:01:04 +00:00
pkcs15-rtecp.c pkcs15init: new 'emulation-store-data' operation ... 2010-12-30 12:50:35 +00:00
pkcs15-rutoken.c pkcs15init: new 'emulation-store-data' operation ... 2010-12-30 12:50:35 +00:00
pkcs15-setcos.c pkcs15init: new 'emulation-store-data' operation ... 2010-12-30 12:50:35 +00:00
pkcs15-starcos.c Remove dead code 2011-02-05 20:46:24 +00:00
pkcs15-westcos.c pkcs15init: new 'emulation-store-data' operation ... 2010-12-30 12:50:35 +00:00
pkcs15.profile pkcs15init profile: 'private key' as BSO is differenciated from the one as EF 2010-01-21 10:07:40 +00:00
profile.c pkcs15init: profile: unused variables 2011-01-19 14:16:12 +00:00
profile.h pkcs15init: profile: new function 'get_parent' ... 2011-01-17 15:51:47 +00:00
rutoken.profile Rutoken S: add 'aid' to profile (for '-init --create-pkcs15 --so-pin 87654321 --so-puk -p rutoken+small') 2010-05-30 13:54:54 +00:00
rutoken_ecp.profile Fix: default count of attempt (use profile) for new version firmware 2010-09-21 18:14:04 +00:00
setcos.profile sertcos: both PINs are globals 2010-01-29 17:41:05 +00:00
starcos.profile pkcs15init profile: 'private key' as BSO is differenciated from the one as EF 2010-01-21 10:07:40 +00:00
westcos.profile Updated westcos driver by François Leblanc 2009-12-03 07:10:24 +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.