openct package is broken if one cardreader is ill behaved

Bug #281803 reported by Christian Felsing
4
Affects Status Importance Assigned to Milestone
openct (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: openct

Following appears while installing openct on a plain vanilla Ubuntu 8.10ß:

---cut here---
root@ubuntu:~# aptitude install openct
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen
Initialisiere Paketstatus... Fertig
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  libopenct1{a} openct
0 Pakete aktualisiert, 2 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
Muss 372kB an Archiven herunterladen. Nach dem Entpacken werden 1491kB zusätzlich belegt sein.
Wollen Sie fortsetzen? [Y/n/?]
Schreibe erweiterte Statusinformationen... Fertig
Hole:1 http://de.archive.ubuntu.com intrepid/universe libopenct1 0.6.14-2ubuntu1 [26,9kB]
Hole:2 http://de.archive.ubuntu.com intrepid/universe openct 0.6.14-2ubuntu1 [346kB]
372kB wurden in 0s heruntergeladen (612kB/s)
Wähle vormals abgewähltes Paket libopenct1.
(Lese Datenbank ... 114994 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke libopenct1 (aus .../libopenct1_0.6.14-2ubuntu1_amd64.deb) ...
Wähle vormals abgewähltes Paket openct.
Entpacke openct (aus .../openct_0.6.14-2ubuntu1_amd64.deb) ...
Verarbeite Trigger für doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...
Verarbeite Trigger für man-db ...
Richte libopenct1 ein (0.6.14-2ubuntu1) ...

Richte openct ein (0.6.14-2ubuntu1) ...
Adding system group: scard.
Lege Gruppe »scard« (GID 125) an ...
Fertig.
Starting smart card terminal framework: OpenCTusage: ifdhandler [-Hds] [-r reader] driver type device
  -r specify index of reader
  -F stay in foreground
  -H hotplug device, monitor for detach
  -s send error and debug messages to syslog
  -d enable debugging; repeat to increase verbosity
  -i display list of available drivers and protocols
  -h display this message
  -v display version and exit
.

Verarbeite Trigger für libc6 ...
ldconfig deferred processing now taking place
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen
Initialisiere Paketstatus... Fertig
Schreibe erweiterte Statusinformationen... Fertig
---cut here---

It is a 8.10ß installed at Oct., 11th 2008 with all updates available at this date. Same bug exists in Debian sid. After /etc/init.d/openct restart same error occures.

root@ubuntu:~# lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10

root@ubuntu:~# lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10
root@ubuntu:~# apt-cache policy openct
openct:
  Installiert: 0.6.14-2ubuntu1
  Kandidat: 0.6.14-2ubuntu1
  Versions-Tabelle:
 *** 0.6.14-2ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

Problem does not exists in Ubuntu 8.04

Update Oct, 12th: This behaviour may take place in case of a ill behaved card reader (e.g. in Dell Latitude E6500, usb id 0a5c:5800) is installed. A further problem is missing usb id in file /etc/openct.conf. Edit this file in section driver ccid so it looks like:

driver ccid {
        ids = {
                usb:03f0/1024, # HP Keyboard with CCID reader
                usb:046a/0010, # Cherry smartboard G83-6744
                usb:04e6/5115,
                usb:04e6/5116,
                usb:04e6/5117, # SCM Micro token size reader
                usb:04e6/511d, # SCM Micro SCR3311
                usb:04e6/E001,
                usb:04e6/E003,
                usb:073d/0c00, # Eutron SimPocket (doesn't work yet)
                usb:076b/1021, # OmniKey CardMan 1021
                usb:076b/3021,
                usb:076b/5121,
                usb:076b/6622, # OmniKey CardMan 6121
                usb:0783/0003,
                usb:08e6/3437, # Gemplus
                usb:08e6/3438, # Gemplus GemPC Key SmartCard Reader
                usb:08e6/4433, # Gemplus
                usb:0b97/7762, # O2 Micro, Inc. Oz776 SmartCard Reader
                usb:0b97/7772, # O2 Micro, Inc. Oz776 SmartCard Reader
                usb:0bf8/1006, # fujitsu siemens 3.5" drive size reader
                usb:0a5c/5800, # Broadcom 5800
        };
};

This makes Broadcom 5800 cardreader visible to OpenCT. See also bug 282196 (pkcs15 failure on Broadcom 5800 with Cryptoflex e-gate 32k)

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.