opensc/src/pkcs15init
viktor.tarasov 45b95583d0 profile sanity check: in template check for minimal difference between file-ids
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3915 c6295689-39f2-0310-b995-f0e70906c6a9
2010-01-16 20:55:45 +00:00
..
Makefile.am Merged r3719:3749 from trunk 2009-10-03 07:48:28 +00:00
Makefile.mak Merged r3719:3749 from trunk 2009-10-03 07:48:28 +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 merge changes 0.11.11 -> 0.11.12 2009-12-18 13:33:03 +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 Merge [3758:3783/trunk] 2009-10-22 09:18:16 +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
myeid.profile Merged [3783:3794/trunk] 2009-10-25 20:22:11 +00:00
oberthur.profile oberthur: increase sizes of xDF files; source tabified 2010-01-15 14:08:54 +00:00
pkcs15-asepcos.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-cardos.c Merge [3758:3783/trunk] 2009-10-22 09:18:16 +00:00
pkcs15-cflex.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-entersafe.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-gpk.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-incrypto34.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-init.h Merge [3804:3822/trunk] 2009-11-13 09:45:21 +00:00
pkcs15-jcop.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-lib.c pkcs15init: possible error of 'find_object_by_id' should not be ignored 2010-01-15 15:29:16 +00:00
pkcs15-miocos.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-muscle.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-myeid.c Remove unused variables & fix line endings. 2009-11-13 11:19:46 +00:00
pkcs15-oberthur.c Remove unused variables 2009-11-13 11:15:00 +00:00
pkcs15-rtecp.c Corrected GOSTR3410 public key structure 2009-11-19 15:41:03 +00:00
pkcs15-rutoken.c Modification Rutoken S binary interfaces by Aktiv Co. (OpenSC+Rutoken S driver for Windows works now) 2009-11-23 16:38:02 +00:00
pkcs15-setcos.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-starcos.c Remove sc_error and sc_ctx_suppress_errors_* in favor of sc_debug/fprintf 2009-09-14 08:46:59 +00:00
pkcs15-westcos.c Updated westcos driver by François Leblanc 2009-12-03 07:10:24 +00:00
pkcs15.profile oberthur: increase sizes of xDF files; source tabified 2010-01-15 14:08:54 +00:00
pkcs15init.exports Add new rutoken_ecp driver by Aktiv Co. / Aleksey Samsonov 2009-06-24 15:26:37 +00:00
profile.c profile sanity check: in template check for minimal difference between file-ids 2010-01-16 20:55:45 +00:00
profile.h Merge [3804:3822/trunk] 2009-11-13 09:45:21 +00:00
rutoken.profile Merge [3758:3783/trunk] 2009-10-22 09:18:16 +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 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.