opensc/src/pkcs15init
ludovic.rousseau 35036bceca Fix
pkcs15-oberthur.c: In function ‘cosm_write_tokeninfo’:
pkcs15-oberthur.c:94: warning: format not a string literal and no format arguments
pkcs15-oberthur.c:96: warning: format not a string literal and no format arguments


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4160 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-28 11:50:05 +00:00
..
Makefile.am oberthur pkcs15init: non-install header; join pkcs15-oberthur-awp.obj to object list for win32 2010-03-23 10:02:22 +00:00
Makefile.mak oberthur pkcs15init: sorry, fix 2010-03-23 10:03:05 +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 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 profile: 'private key' as BSO is differenciated from the one as EF 2010-01-21 10:07:40 +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
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 pkcs15init profile: 'private key' as BSO is differenciated from the one as EF 2010-01-21 10:07:40 +00:00
myeid.profile pkcs15init: instead of static keycache use the pincache as a content of the pkcs15 AUTH object 2010-02-21 18:24:41 +00:00
oberthur.profile oberthur pkcs15init: support for creation of the 'public' DATA objects 2010-03-22 14:17:27 +00:00
pkcs15-asepcos.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-cardos.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-cflex.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-entersafe.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-gpk.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-incrypto34.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-init.h pkcs15init: in pkcs15-init.h don't use parameters name in the function declarations 2010-03-18 09:49:49 +00:00
pkcs15-jcop.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-lib.c Fix 2010-03-28 09:45:54 +00:00
pkcs15-miocos.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-muscle.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-myeid.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-oberthur-awp.c Fix pkcs15-oberthur-awp.c:729: warning: no previous prototype for 2010-03-28 09:44:22 +00:00
pkcs15-oberthur.c Fix 2010-03-28 11:50:05 +00:00
pkcs15-oberthur.h oberthur pkcs15init: support for creation of the 'public' DATA objects 2010-03-22 14:17:27 +00:00
pkcs15-rtecp.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-rutoken.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-setcos.c cleanup of the debug code: 2010-03-15 12:17:13 +00:00
pkcs15-starcos.c Fix warning: missing initializer 2010-03-28 11:37:13 +00:00
pkcs15-westcos.c Fix 2010-03-28 11:44:56 +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 cleanup of the debug code: 2010-03-15 12:17:13 +00:00
profile.h pkcs15init: homegenize pin reference type in a different structures; remove unused parameters in the internal procedures; 2010-03-05 10:37:11 +00:00
rutoken.profile rutoken (S and ECP): both PINs are globals (and addition to changeset 3960, 3946) 2010-02-03 12:10:41 +00:00
rutoken_ecp.profile rutoken (ECP): add 4 DF (reserved for internal use) 2010-02-04 12:18:19 +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.