|
From: KangJing H. <hua...@gm...> - 2015-03-03 09:19:38
|
Hi there,
I bought an ePass2003 and planned to use it with OpenSC.
However, following the instructions on the web does not seem to work for me.
Firstly, I run
pkcs15-init -E
and it returned without any error.
Then, I run
pkcs15-init -C --pin 0000 --puk 111111 -p pkcs15+onepin
and it gives:
Using reader with a card: Feitian ePass2003 00 00
Failed to create PKCS #15 meta structure: Not allowed
Then, any further operation seems to be failing:
$ pkcs15-tool --dump
[16:53:22]
Using reader with a card: Feitian ePass2003 00 00
PKCS#15 binding failed: Unsupported card
$ opensc-tool --list-files
[16:55:10]
Using reader with a card: Feitian ePass2003 00 00
3f00 [entersafe-fips] type: DF, size: 0
select[N/A] lock[N/A] delete[N/A] create[N/A] rehab[N/A] inval[N/A]
list[N/A] sec: 9F:9F:FF:9F:FF:FF:FF:FF
prop: 00:7F
sc_list_files() failed: Security status not satisfied
$ pkcs15-init -E
[16:55:28]
Using reader with a card: Feitian ePass2003 00 00
Failed to erase card: Security status not satisfied
And it's not working with Windows drivers anymore, either.
I'm using Gentoo Linux and tried both in-tree 0.14.0 version and git
version, but none works.
Stderr of
pkcs15-init -C --pin 0000 --puk 111111 -p pkcs15+onepin -vvv
is attached, in case further inspection is needed.
Any other further information could be provided if requested.
Please help on how to recover my token and how to get it work with opensc
Thanks a lot!
Happy Hacking
|