about How to initialize Cryptoflex 32k e-gate IC-card

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

about How to initialize Cryptoflex 32k e-gate IC-card

Toshihiro Sonoda
Hi,

I have a Cryptoflex 32k e-gate and
compiled and instaled the following packages:

pcsc-lite-1.1.1.tar.gz
opensc-0.9.6.tar.gz

Executing some OpenSC commands, the smart card and the card reader are
recognized:

host> opensc-tool --name -v
Connecting to card in reader AseIIIeUSB 0 0...
Using card driver Schlumberger Multiflex/Cryptoflex.
Card name: Cryptoflex 32K e-gate

host> opensc-tool --atr
3B 95 18 40 FF 62 01 02 01 04 ;..@.b....

To initialize this card, I try to do the following, but fail.
I don't know why the verification fail and what key I should input.
Please give me an advice.

---
host> pkcs15-init -CE -T

iso7816.c:98:iso7816_check_sw: Authentication method blocked
sec.c:204:sc_pin_cmd: returning with: Authentication method blocked
pkcs15-lib.c:2502:do_get_and_verify_secret: Failed to verify authentication key (ref=0x1)
Failed to erase card: Authentication method blocked

host> pkcs15-init -CE

Transport key (External authentication key #1) required.
Please enter key in hexadecimal notation (e.g. 00:11:22:aa:bb:cc),
or press return to accept default.

To use the default transport keys without being prompted,
specify the --use-default-transport-keys option on the
command line (or -T for short), or press Ctrl-C to abort.
Please enter key [2c:15:e5:26:e9:3e:8a:19]:
iso7816.c:98:iso7816_check_sw: Authentication method blocked
sec.c:204:sc_pin_cmd: returning with: Authentication method blocked
pkcs15-lib.c:2502:do_get_and_verify_secret: Failed to verify authentication key (ref=0x1)
Failed to erase card: Authentication method blocked


-- chezare

_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel