b422872813
can be loaded at ADMINISTRATION life cycle phase to change the behavior of the VERIFY command in regard to return codes. When that package is loaded, the PIN can be created with this "verifyRC" flag in cardos.profile if the return code must be ISO7816-4 compliant (63Cx with x being the value of the remaining retry counter when required verification has failed). git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5558 c6295689-39f2-0310-b995-f0e70906c6a9 |
||
---|---|---|
.. | ||
asepcos.profile | ||
authentic.profile | ||
cardos.profile | ||
cyberflex.profile | ||
entersafe.profile | ||
flex.profile | ||
gpk.profile | ||
ias_adele_admin1.profile | ||
ias_adele_admin2.profile | ||
ias_adele_common.profile | ||
iasecc_admin_eid.profile | ||
iasecc_generic_oberthur.profile | ||
iasecc_generic_pki.profile | ||
iasecc.profile | ||
incrypto34.profile | ||
jcop.profile | ||
Makefile.am | ||
Makefile.mak | ||
miocos.profile | ||
muscle.profile | ||
myeid.profile | ||
oberthur.profile | ||
pkcs15-asepcos.c | ||
pkcs15-authentic.c | ||
pkcs15-cardos.c | ||
pkcs15-cflex.c | ||
pkcs15-entersafe.c | ||
pkcs15-gpk.c | ||
pkcs15-iasecc.c | ||
pkcs15-incrypto34.c | ||
pkcs15-init.h | ||
pkcs15-jcop.c | ||
pkcs15-lib.c | ||
pkcs15-miocos.c | ||
pkcs15-muscle.c | ||
pkcs15-myeid.c | ||
pkcs15-oberthur-awp.c | ||
pkcs15-oberthur.c | ||
pkcs15-oberthur.h | ||
pkcs15-rtecp.c | ||
pkcs15-rutoken.c | ||
pkcs15-setcos.c | ||
pkcs15-starcos.c | ||
pkcs15-westcos.c | ||
pkcs15.profile | ||
profile.c | ||
profile.h | ||
README | ||
rutoken_ecp.profile | ||
rutoken.profile | ||
setcos.profile | ||
starcos.profile | ||
westcos.profile |
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.