opensc/src/pkcs15init
Frank Morgner 21a8e7e5f9 Merge pull request #591 from vletoux/isoApplet
isoApplet: fix card not recognized by minidriver
2015-10-31 02:28:21 +01:00
..
Makefile.am Add support for the IsoApplet (Java Card applet) 2015-02-20 21:55:26 +01:00
Makefile.mak Add support for the IsoApplet (Java Card applet) 2015-02-20 21:55:26 +01: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 Revert 5558 2011-06-08 07:58:51 +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
epass2003.profile epass2003: support for ePass2003 card in read/write modes 2012-06-08 20:17:36 +02: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 pkcs15init: syntax changed for the ias(ecc) profiles 2012-05-26 09:36:49 +02:00
iasecc.profile iasecc: pkcs15init profiles: add 'CREATE' acl for the Oberthur's application DF ... 2011-04-26 16:27:42 +00:00
iasecc_admin_eid.profile pkcs15init: syntax changed for the ias(ecc) profiles 2012-05-26 09:36:49 +02:00
iasecc_generic_oberthur.profile iasecc: pkcs15init profiles: add 'CREATE' acl for the Oberthur's application DF ... 2011-04-26 16:27:42 +00:00
iasecc_generic_pki.profile pkcs15init: syntax changed for the ias(ecc) profiles 2012-05-26 09:36:49 +02:00
incrypto34.profile pkcs15init profile: 'private key' as BSO is differenciated from the one as EF 2010-01-21 10:07:40 +00:00
isoApplet.profile isoApplet: fix card not recognized by minidriver 2015-10-23 23:03:25 +02: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 Fixed file-id in myeid.profile 2013-01-27 18:34:07 +01:00
oberthur.profile oberthur: add in emulator and create in pkcs15init the private data object 2010-04-18 14:51:44 +00:00
openpgp.profile pkcs15init-openpgp: Support for private key import in pkcs15init. 2012-07-29 13:09:08 +02:00
pkcs15-asepcos.c fixed out of bounds read/write/access 2015-02-04 09:24:50 +01:00
pkcs15-authentic.c pkcs15-authentic.c: fixed potential resource leak 2015-10-30 12:18:04 +01:00
pkcs15-cardos.c Replace outdated address okir@lst.de -> okir@suse.de 2015-10-05 14:07:28 +02:00
pkcs15-cflex.c pkcs15-cflex: fixed resource leak 2015-05-08 09:11:19 +02:00
pkcs15-entersafe.c fixed dereference before null check 2015-01-22 20:29:33 +01:00
pkcs15-epass2003.c pkcs15-epass2003: fixed resource leak 2015-09-17 22:32:06 +02:00
pkcs15-gpk.c Replace outdated address okir@lst.de -> okir@suse.de 2015-10-05 14:07:28 +02:00
pkcs15-iasecc.c pkcs15-iasecc.c: fixed potential resource leak 2015-10-30 12:15:06 +01:00
pkcs15-incrypto34.c Replace outdated address okir@lst.de -> okir@suse.de 2015-10-05 14:07:28 +02:00
pkcs15-init.h pkcs15-lib.c: fixed potential resource leak 2015-10-30 12:15:06 +01:00
pkcs15-isoApplet.c Merge pull request #554 from frankmorgner/fixes 2015-09-25 11:13:17 +02:00
pkcs15-jcop.c Replace outdated address okir@lst.de -> okir@suse.de 2015-10-05 14:07:28 +02:00
pkcs15-lib.c fixed uninitialized variable 2015-10-30 18:21:40 +01:00
pkcs15-miocos.c pkcd15init: remove trailing whitespaces 2012-04-02 23:40:05 +02:00
pkcs15-muscle.c removed/fixed dead code 2015-02-05 01:38:41 +01:00
pkcs15-myeid.c pkcs15-myeid.c: fixed potential resource leak 2015-10-30 12:15:06 +01:00
pkcs15-oberthur-awp.c pkcs15-oberthur-awp.c: fixed potential resource leak 2015-10-30 12:15:06 +01:00
pkcs15-oberthur.c pkcs15-oberthur.c: fixed accessing label in sc_pkcs15_object_t 2015-10-04 17:33:14 +02:00
pkcs15-oberthur.h pkcd15init: remove trailing whitespaces 2012-04-02 23:40:05 +02:00
pkcs15-openpgp.c Merge branch 'master' into gnuk 2015-08-31 21:55:14 +08:00
pkcs15-rtecp.c pkcs15-rtecp: fixed resource leak 2015-05-08 09:11:54 +02:00
pkcs15-rutoken.c removed unused variables 2015-10-30 18:21:40 +01:00
pkcs15-sc-hsm.c sc-hsm: Add missing include introduced by #580 2015-10-29 14:09:01 +01:00
pkcs15-setcos.c pkcs15-setcos: fixed resource leak 2015-05-08 09:11:54 +02:00
pkcs15-starcos.c pkcd15init: remove trailing whitespaces 2012-04-02 23:40:05 +02:00
pkcs15-westcos.c fixed resource leaks 2015-02-05 01:38:41 +01:00
pkcs15.profile pkcs15init: externalize and change name of select_intrinsic_id() 2013-12-29 17:33:36 +01:00
profile.c profile.c: fixed potential resource leak 2015-10-30 12:15:06 +01:00
profile.h Replace outdated address okir@lst.de -> okir@suse.de 2015-10-05 14:07:28 +02: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 RuToken-ECP: profile option to allow the reset of User PIN with SoPIN 2011-06-02 19:06:43 +00:00
sc-hsm.profile sc-hsm: Bind PIN object to applet aid to ensure SELECT before PIN verification 2015-09-23 15:38:57 +02: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.