HBCI Banking bei der BW-Bank mit Chipkarte unter Linux

Hat jemand das unter Linux mit aqbanking am laufen ??

 
Neuling
Avatar
Geschlecht: keine Angabe
Beiträge: 1
Dabei seit: 04 / 2013
Betreff:

HBCI Banking bei der BW-Bank mit Chipkarte unter Linux

 · 
Gepostet: 19.04.2013 - 00:06 Uhr  ·  #1
Hallo Leute,

ich versuche das Onlinebanking bei der BW-Bank (früher LBBW) unter Debian wheezy mit aqbanking zum laufen zu bringen.
Ich habe den Cardreader REINER SCT cyberJack pinpad und die Chipkarte der Bank.
Unter Debian wheezy habe ich alle nötigen Programme installiert:
Code
# apt-get install aqbanking-tools gwenhywfar-tools libchipcard-libgwenhywfar60-plugins ktoblzcheck pcscd libchipcard-tools


den neusten Treiber von REINER SCT:
Code
# dpkg -i libifd-cyberjack6_3.99.5final.SP03_i386_d601a.deb


User und Gruppen habe ich agepasst.
Als user cyberjack aufrufen -> cyberjack-hints.log ist leer. -> alles ok.

Code
$ chipcard-tool atr

INFO: We got this card:
  Card
  ===========================================================================
  Card type     : processor
  Driver type   : generic_pcsc
  Reader type   : generic_pcsc
  Card types    : STARCOS ZkaCard
  Reader flags  : 
  ATR
  ---------------------------------------------------------------------------
    String size is 16:
    0000: 3b b7 94 00 81 31 fe 65 53 50 4b 32 33 90 00 d1 ;....1.eSPK23...
  ===========================================================================

Wenn ich aber einen neuen User in aqbanking anlegen möchte, geht das nicht:

Code
$ aqhbci-tool4 adduser -t starcoscard ... --hbciversion=220

Waiting for card to be inserted: Started.
Waiting for card to be inserted: 3000 of 5
Waiting for card to be inserted: 4000 of 5
Waiting for card to be inserted: 5000 of 5
Waiting for card to be inserted: Finished.
===== Insert Medium =====
Please insert the chip card
for (null)
(1) OK  (2) Abort
Please enter your choice: 2
3:2013/04/18 22-08-40:gwen(2717):ct.c: 1018: User aborted
3:2013/04/18 22-08-40:chipcard3-client(2717):starcoscard.c:  351: Error in user interaction (-4)
3:2013/04/18 22-08-40:(null)(2717):adduser.c:  370: Could not open token (-4)


Paralell dazu das Log vom pcscd:
Code
Apr 18 22:10:41 p800 pcscd: winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
Apr 18 22:10:41 p800 pcscd: winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 5
Apr 18 22:10:41 p800 pcscd: pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:297:ContextThread() Thread is started: dwClientID=5, threadContext @0x88bac98
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_VERSION from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:327:ContextThread() Client is protocol version 4:2
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:347:ContextThread() CMD_VERSION rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: ESTABLISH_CONTEXT from client 5
Apr 18 22:10:41 p800 pcscd: winscard.c:193:SCardEstablishContext() Establishing Context: 0x45DDD682
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:408:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CONNECT from client 5
Apr 18 22:10:41 p800 pcscd: winscard.c:235:SCardConnect() Attempting Connect to REINER SCT cyberJack pp_a (1411414059) 00 00 using protocol: 2
Apr 18 22:10:41 p800 pcscd: winscard.c:309:SCardConnect() power up complete.
Apr 18 22:10:41 p800 pcscd: Card ATR: 3B B7 94 00 81 31 FE 65 53 50 4B 32 33 90 00 D1
Apr 18 22:10:41 p800 pcscd: winscard.c:328:SCardConnect() powerState: POWER_STATE_INUSE
Apr 18 22:10:41 p800 pcscd: prothandler.c:87:PHSetProtocol() Attempting PTS to T=1
Apr 18 22:10:41 p800 pcscd: prothandler.c:103:PHSetProtocol() PTS failed (613), using T=1
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:449:ContextThread() CONNECT rv=0x80100066 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CONNECT from client 5
Apr 18 22:10:41 p800 pcscd: winscard.c:235:SCardConnect() Attempting Connect to REINER SCT cyberJack pp_a (1411414059) 00 00 using protocol: 1
Apr 18 22:10:41 p800 pcscd: winscard.c:328:SCardConnect() powerState: POWER_STATE_INUSE
Apr 18 22:10:41 p800 pcscd: prothandler.c:66:PHSetProtocol() Protocol T=0 requested but unsupported by the card
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:449:ContextThread() CONNECT rv=0x8010000F for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CONNECT from client 5
Apr 18 22:10:41 p800 pcscd: winscard.c:235:SCardConnect() Attempting Connect to REINER SCT cyberJack pp_a (1411414059) 00 00 using protocol: 4
Apr 18 22:10:41 p800 pcscd: winscard.c:328:SCardConnect() powerState: POWER_STATE_INUSE
Apr 18 22:10:41 p800 pcscd: winscard.c:406:SCardConnect() Active Protocol: RAW
Apr 18 22:10:41 p800 pcscd: winscard.c:422:SCardConnect() hCard Identity: 67ef5231
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:449:ContextThread() CONNECT rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: STATUS from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:557:ContextThread() STATUS rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CONTROL from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:648:ContextThread() CONTROL rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: TRANSMIT from client 5
Apr 18 22:10:41 p800 pcscd: winscard.c:1507:SCardTransmit() Send Protocol: T=4
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:604:ContextThread() TRANSMIT rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: DISCONNECT from client 5
Apr 18 22:10:41 p800 pcscd: winscard.c:812:SCardDisconnect() Active Contexts: -1
Apr 18 22:10:41 p800 pcscd: winscard.c:813:SCardDisconnect() dwDisposition: 1
Apr 18 22:10:41 p800 pcscd: winscard.c:879:SCardDisconnect() Reset complete.
Apr 18 22:10:41 p800 pcscd: Card ATR: 3B B7 94 00 81 31 FE 65 53 50 4B 32 33 90 00 D1
Apr 18 22:10:41 p800 pcscd: winscard.c:978:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:486:ContextThread() DISCONNECT rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:389:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:389:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: eventhandler.c:458:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:389:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:389:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:389:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5

...

Apr 18 22:10:41 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5
Apr 18 22:10:41 p800 rsyslogd-2177: imuxsock begins to drop messages from pid 2753 due to rate-limiting
Apr 18 22:10:47 p800 rsyslogd-2177: imuxsock lost 4631 messages from pid 2753 due to rate-limiting
Apr 18 22:10:47 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5
Apr 18 22:10:47 p800 pcscd: winscard_svc.c:389:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5
Apr 18 22:10:47 p800 pcscd: winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 5
Apr 18 22:10:49 p800 pcscd: winscard_svc.c:307:ContextThread() Client die: 5
Apr 18 22:10:49 p800 pcscd: winscard.c:204:SCardReleaseContext() Releasing Context: 0x45DDD682
Apr 18 22:10:49 p800 pcscd: winscard_svc.c:918:MSGCleanupClient() Thread is stopping: dwClientID=5, threadContext @0x88bac98
Apr 18 22:10:49 p800 pcscd: winscard_svc.c:924:MSGCleanupClient() Freeing SCONTEXT @0x88bac98


Die Chipkarte der Bank ist eine RSA Starcos 2.3 mit RDH-1

Hat es was mit der Meldung aus dem pcscd-log:
Code
pcscd: prothandler.c:66:PHSetProtocol() Protocol T=0 requested but unsupported by the card
zu tun ?

Hat jemand damit schon Erfahrung und kann mir weiterhelfen ?

Danke schon mal.

PS: Unter Windows mit StarMoney 5.0 läuft alles.
Gewählte Zitate für Mehrfachzitierung:   0