libchipcard3 und Cyberjack

Micha Lenk micha at lenk.info
Fri Oct 5 18:57:57 UTC 2007


Hallo Georg,

Wie gerade telefonisch besprochen, hab ich mich nochmal mit libchipcard3
und dem Cyberjack auseinander gesetzt, und bin doch relativ schnell zu
einem Ergebnis gekommen:

Ich hab jetzt erst mal noch den neusten CTAPI-Cyberjack-Treiber
heruntergeladen und mit dpkg-buildpackage kompiliert, und das
resultierende Paket libctapi-cyberjack2_3.0.5beta4-1_i386.deb bei mir
installiert.

Dann habe ich mal den User chipcard in die Gruppe cyberjack eingetragen
(als root "adduser chipcard cyberjack" ausgeführt). Danach hatte ich
keine Probleme, mit dem als User "chipcard" laufenden Chipcard-daemon,
auf den Cyberjack und darin befindliche Chipkarten zuzugreifen.

Funktioniert das bei dir auch?

Wenn ja, sollten wir überlegen, was wir nun machen. Als erstes fällt mir
spontan ein, dass wir zumindest einen Eintrag in debian/README.Debian
hinterlegen sollten -- und, oops, da steht ja schon was:

------------------ 8>< -----------------------------------------------
Notes for libchipcard
=====================

Device Permissions
------------------

The chipcard daemon (chipcardd3) is run as the non-privileged user
chipcard. By default, it is in the group dialout and thus has access
to the serial and ttyUSB ports. Some readers are directly interfaced
via USB devices without tty emulation. For those libchipcard3-tools
provides udev scripts setting the the group to chipcard. Unfortunately,
some driver packages, notably those for Reiner SCT CyberJack ship
conflicting rules. You may want to check the permissions and your
installed driver package if you have trouble accessing the reader
despite correct recognition by chipcardd3. For the CyberJack readers,
look at /etc/udev/rules.d/z80cyberjack.rules.
Unfortunately, the error messages are not always clear.

Unfortunately, the package chipcard-tools from libchipcard 1.x (shipped
with Debian 3.1 (sarge) releases prior to r2), removes this user. If
this happens, please reinstall libchipcard3-tools.
------------------ 8>< -----------------------------------------------

Vielleicht sollten wir den Text ändern, dass man im Falle von Reiner SCT
Cyberjacks den User chipcard in die Gruppe cyberjack eintragen sollte...

Schöne Grüße
  Micha



More information about the Aqbanking-maint mailing list