<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-06-19 10:00 GMT+02:00 Jay Aurabind <span dir="ltr"><<a href="mailto:jay.aurabind@gmail.com" target="_blank">jay.aurabind@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br></blockquote><div><br></div><div>Hello<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I bought a new usb crypto token epass2003auto. I used pkcs15-init to<br>
initially create some keys on it. Later I decided to erase the token,<br>
and from then onwards, I am unable to use my token for anything. I<br>
always get this message "Failed to erase card: Security status not<br>
satisfied" every time I try to erase it. I cannot create new keys<br>
either. Here is what I saw with opesc-explorer:<br>
<br>
<br>
OpenSC [3F00]> erase<br>
Failed to erase card: Security status not satisfied<br>
OpenSC [3F00]> info<br>
<br>
Dedicated File ID 3F00<br>
<br>
File path: 3F00<br>
File size: 0 bytes<br>
DF name: entersafe-fips<br>
ACL for SELECT: N/A<br>
ACL for LOCK: N/A<br>
ACL for DELETE: N/A<br>
ACL for CREATE: N/A<br>
ACL for REHABILITATE: N/A<br>
ACL for INVALIDATE: N/A<br>
ACL for LIST FILES: N/A<br>
ACL for CRYPTO: N/A<br>
ACL for DELETE SELF: N/A<br>
Proprietary attributes: 00 7F<br>
Security attributes: 9F 9F FF 9F FF FF FF FF<br>
<br>
<br>
Somebody else reported the issue with OpenSC github[1], but Feitian is<br>
giving a tool under nda to fix the issue. I too got the tool as well,<br>
but even that aint working. I've been mailing the contact at feitian,<br>
but no responses. From the output of that tool, I speculate that it<br>
needs a properly initialized pcscd running on the system. (the tool<br>
complains about a service not found)<br>
<br>
Hopefully if I solve the pcscd problem, this tool might work to fix my<br>
ePass2003auto<br>
<br>
Kindly help me fix the issue. Below are the details you need:<br>
<br>
USB Token: Feitian ePass2003auto<br>
USB driver version: CCID 1.4.24<br>
<br>
Output of pcscd --version:<br>
<br>
pcsc-lite version 1.8.17.<br>
Copyright (C) 1999-2002 by David Corcoran <<a href="mailto:corcoran@musclecard.com">corcoran@musclecard.com</a>>.<br>
Copyright (C) 2001-2015 by Ludovic Rousseau <<a href="mailto:ludovic.rousseau@free.fr">ludovic.rousseau@free.fr</a>>.<br>
Copyright (C) 2003-2004 by Damien Sauveron <<a href="mailto:sauveron@labri.fr">sauveron@labri.fr</a>>.<br>
Report bugs to <<a href="mailto:pcsclite-muscle@lists.alioth.debian.org">pcsclite-muscle@lists.alioth.debian.org</a>>.<br>
Enabled features: Linux x86_64-unknown-linux-gnu serial usb libudev<br>
usbdropdir=/usr/local/lib/pcsc/drivers ipcdir=/var/run/pcscd<br>
configdir=/usr/local/etc/reader.conf.d<br>
<br>
However, directory /usr/local/etc/reader.conf.d does not exist.<br>
<br>
Platform: OS: Fedora 23, using latest versions of pcsc, built locally.<br></blockquote><div><br></div><div>Why do you build pcsc-lite yourself instead of using a Fedora package?<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Please revert back to me if you any more information. Full log is<br>
attached as well.<br></blockquote><div><br></div><div>You get the card ATR so pcsc-lite + driver is working.<br></div><div>Your token is a composite device with more than 1 interface. The other interface is not CCID so the driver reported an error and pcscd complained. Maybe I should fix this behavior.<br></div><div><br>But I do not have this ATR in my list.<br></div><div>Please submit your token at <a href="http://smartcard-atr.appspot.com/parse?ATR=3B9F958131FE9F006646530523002571DF000003900096">http://smartcard-atr.appspot.com/parse?ATR=3B9F958131FE9F006646530523002571DF000003900096</a><span class=""></span><br><span class=""></span></div></div><br></div><div class="gmail_extra">Bye<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>