Bug 1108820

Summary: ePass2003 not working
Product: Red Hat Enterprise Linux 7 Reporter: Nikos Mavrogiannopoulos <nmavrogi>
Component: openscAssignee: Nikos Mavrogiannopoulos <nmavrogi>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: jvavra, mbanas, pkotvan, pvrabec
Target Milestone: rcKeywords: HardwareEnablement, Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: opensc-0.14.0-1.el7 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
The opensc packages have been upgraded to upstream version 0.14.0. It fixes a number of bugs related to smart card drivers and provides new drivers for smart cards.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 14:54:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikos Mavrogiannopoulos 2014-06-12 15:46:25 UTC
[This is a copy of #981462]


Description of problem:
I tried to use my newly purchased ePass2003 USB token. It did not work.
I tried the same chip in Ubuntu 12.04, with the opensc-version provided by gooze.eu. Then it worked.

After I adjusted the specs file (added 

Version-Release number of selected component (if applicable):
0.13.0

How reproducible:
It was reproducible on two different machines.


Steps to Reproduce:
1. Install package from f19.
2. The following commands give an error:
  a) pkcs15-init -E
  b) pkcs15-init --^Ceate-pkcs15 --profile pkcs15+onepin --use-default-transport-key --pin 0000 --puk 111111 --label "Donald Duck"
  c) pkcs15-tool --dump
3. The 'pkcs15-tool --dump' crashed also after I had initialized the card with Ubuntu.


Actual results:
Complaints that is unsupported.

Expected results:
a) Wipe the key
b) initialize the key.
c) show that it is initialized.

Comment 2 go4sol 2014-07-07 10:56:16 UTC
Hello,

I am also facing problem with ePass 2003 Token with below issue. Can Any one help me to resolve this issue?
----------------------------------------------------------------------
I am using HP Elite book 8470P Laptop 
Windows 7 Profiesional 64 bit service pack 1

processor Intel (R) Core (TM) i5-3340M CPU @ 2.70 GHz
RAM 8 GB

I have recently purchased a new "ePass2003" Token KIT and installed the software via CD. On completion of software installation i have plugged the
token onto my system and begin the initialization process but it got hanged and did not completed the Initalization process successfully. I also
tried to use the other available option but none of them is working.

Thanks in advance.

Please reply me on below ID
EMAIL ID: go4sol

----------------------------------------------------------------------

Comment 7 Jakub Vavra 2015-10-20 10:19:26 UTC
Verified on RHEL 7.2 snapshot 5 (RHEL-7.2-20151015.0):


[root ~]# lsusb
...
Bus 002 Device 003: ID 096e:0807 Feitian Technologies, Inc. ePass2003
...

[root ~]# rpm -qa | grep opensc
opensc-0.14.0-1.el7.x86_64

[root ~]# opensc-tool -D
Configured card drivers:
  cardos           Siemens CardOS
  flex             Schlumberger Multiflex/Cryptoflex
  cyberflex        Schlumberger Cyberflex
  gpk              Gemplus GPK
  gemsafeV1        driver for the Gemplus GemSAFE V1 applet
  miocos           MioCOS 1.1
  mcrd             MICARDO 2.1 / EstEID 1.0 - 3.0
  asepcos          Athena ASEPCOS
  starcos          STARCOS SPK 2.3/2.4
  tcos             TCOS 3.0
  openpgp          OpenPGP card
  jcop             JCOP cards with BlueZ PKCS#15 applet
  oberthur         Oberthur AuthentIC.v2/CosmopolIC.v4
  authentic        Oberthur AuthentIC v3.1
  iasecc           IAS-ECC
  belpic           Belpic cards
  ias              IAS
  incrypto34       Incard Incripto34
  acos5            ACS ACOS5 card
  akis             TUBITAK UEKAE AKIS
  entersafe        entersafe
  epass2003        epass2003
  rutoken          Rutoken driver
  rutoken_ecp      Rutoken ECP driver
  westcos          WESTCOS compatible cards
  myeid            MyEID cards with PKCS#15 applet
  sc-hsm           SmartCard-HSM
  dnie             DNIe: Spanish eID card
  setcos           Setec cards
  muscle           MuscleApplet
  atrust-acos      A-Trust ACOS cards
  piv              PIV-II  for multiple cards
  itacns           Italian CNS
  default          Default driver for unknown cards

[root ~]# opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             Feitian ePass2003 00 00

[root ~]# pkcs15-init -E
Using reader with a card: Feitian ePass2003 00 00

[root ~]# pkcs15-init --create-pkcs15 --profile pkcs15+onepin --use-default-transport-key --pin 0000 --puk 111111 --label "Donald Duck"
Using reader with a card: Feitian ePass2003 00 00

[root ~]# pkcs15-tool --dump
Using reader with a card: Feitian ePass2003 00 00
PKCS#15 Card [Donald Duck]:
	Version        : 0
	Serial number  : 2623461316091101
	Manufacturer ID: EnterSafe
	Last update    : 20151020092058Z
	Flags          : EID compliant

PIN [User PIN]
	Object Flags   : [0x3], private, modifiable
	ID             : 01
	Flags          : [0x32], local, initialized, needs-padding
	Length         : min_len:4, max_len:16, stored_len:16
	Pad char       : 0x00
	Reference      : 1 (0x01)
	Type           : ascii-numeric
	Path           : 3f005015

Comment 9 errata-xmlrpc 2015-11-19 14:54:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2189.html