Hallo hilly08,
danke erst einmal für deine Hilfe.
Ich habe mir das posting angeschaut und folgende Maßnahme ergriffen:
Habe meine vormals funktionierende Konfuguration folgendermaßen abgeändert:
Den Index des hbci-Zugangs von 1 auf 2 erhöht und die hbci-Version auf 2.2 (vormals 2.1). Dann bin ich auf Einstellung testen gegangen und wurde aufgefordert, etliche Daten einzugeben.
Da wäre zunächst eine Benutzerkennung, die man bei der Sparkasse durch Angabe des Nachnamens und der Kartennummer erhält. Dann war noch die Adresse (URL ohne http oder https) des Servers einzugeben, wie ich sie der Seite der Sparkasse entnehmen kann.
Dann muss man die PIN eingeben (vielleicht auch vor der EIngabe der Daten, weiß es eben nicht mehr genau). Es erscheint folgende Fehlermeldung:
Code
[11.05.2010 10:02:25] Teste Sicherheits-Medium...
[11.05.2010 10:02:25] open ddv passport
[11.05.2010 10:02:25] using passport path .../.jameica--alt/hibiscus/passports/
[11.05.2010 10:02:25] using library path /opt/jameica/plugins/hibiscus/lib
[11.05.2010 10:02:25] os.name: Linux
[11.05.2010 10:02:25] os.arch: i386
[11.05.2010 10:02:25] linux 32bit
[11.05.2010 10:02:25] using JNI lib /opt/jameica/plugins/hibiscus/lib/libhbci4java-card-linux-32.so
[11.05.2010 10:02:25] using CTAPI driver /usr/lib/libctapi-cyberjack.so
[11.05.2010 10:02:25] using Port COM2/USB2
[11.05.2010 10:02:25] using Port ID 1
[11.05.2010 10:02:25] using ctnumber 0
[11.05.2010 10:02:25] using biometric features false
[11.05.2010 10:02:25] using soft pin false
[11.05.2010 10:02:25] using entry index 2
[11.05.2010 10:02:25] creating new instance of a DDV passport
[11.05.2010 10:02:26] trying to load native DDV library /opt/jameica/plugins/hibiscus/lib/libhbci4java-card-linux-32.so
[11.05.2010 10:02:26] using chipcard terminal with port 1 and terminal number 0
[11.05.2010 10:02:26] [bpd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:26] [upd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:26] .../.jameica/cfg/de.willuhn.jameica.hbci.passports.ddv.server.PassportImpl.properties has changed, reloading
[11.05.2010 10:02:26] sending message [Tue May 11 10:02:25 CEST 2010][OK] Bitte legen Sie die Chipkarte in das Lesegerät
[11.05.2010 10:02:26] Bitte legen Sie die Chipkarte in das Lesegerät
[11.05.2010 10:02:26] callback [reason 2] handled by class de.willuhn.jameica.hbci.passports.ddv.server.PassportHandleImpl
[11.05.2010 10:02:26] loading lib ok
[11.05.2010 10:02:26] initializing CTAPI ok
[11.05.2010 10:02:26] resetCT apdu: 20 11 00 00
[11.05.2010 10:02:26] resetCT response: 90 00
[11.05.2010 10:02:26] resetCT: success
[11.05.2010 10:02:26] requestFunctionalUnits apdu: 20 13 00 81 00
[11.05.2010 10:02:26] requestFunctionalUnits response: 81 02 01 50 90 00
[11.05.2010 10:02:26] requestFunctionalUnits: success
[11.05.2010 10:02:26] requestCard apdu: 20 12 01 01 01 3C 00
[11.05.2010 10:02:26] requestCard response: 3B FF 18 00 FF 81 31 FE 45 65 63 11 07 64 02 80 00 11 35 10 01 16 06 19 D9 90 01
[11.05.2010 10:02:26] requestCard: success
[11.05.2010 10:02:26] ATR: using direct coding convention
[11.05.2010 10:02:26] TA1 present
[11.05.2010 10:02:26] TB1 present
[11.05.2010 10:02:26] TC1 present
[11.05.2010 10:02:26] TD1 present
[11.05.2010 10:02:26] TD2 present
[11.05.2010 10:02:26] TA3 present
[11.05.2010 10:02:26] TB3 present
[11.05.2010 10:02:26] there are 15 historical bytes: ec..d...5....
[11.05.2010 10:02:26] resetCard apdu: 20 11 01 01 00
[11.05.2010 10:02:26] resetCard response: 3B FF 18 00 FF 81 31 FE 45 65 63 11 07 64 02 80 00 11 35 10 01 16 06 19 D9 90 01
[11.05.2010 10:02:26] resetCard: success
[11.05.2010 10:02:26] ATR: using direct coding convention
[11.05.2010 10:02:26] TA1 present
[11.05.2010 10:02:26] TB1 present
[11.05.2010 10:02:26] TC1 present
[11.05.2010 10:02:26] TD1 present
[11.05.2010 10:02:26] TD2 present
[11.05.2010 10:02:27] TA3 present
[11.05.2010 10:02:27] TB3 present
[11.05.2010 10:02:27] there are 15 historical bytes: ec..d...5....
[11.05.2010 10:02:27] selectRoot apdu: 00 A4 00 0C 02 3F 00
[11.05.2010 10:02:27] selectRoot response: 90 00
[11.05.2010 10:02:27] selectRoot: success
[11.05.2010 10:02:27] selectFileByName D2 76 00 00 25 48 42 01 00 apdu: 00 A4 04 0C 09 D2 76 00 00 25 48 42 01 00
[11.05.2010 10:02:27] selectFileByName D2 76 00 00 25 48 42 01 00 response: 6A 82
[11.05.2010 10:02:27] selectFileByName D2 76 00 00 25 48 42 01 00 : file not found
[11.05.2010 10:02:27] selectRoot apdu: 00 A4 00 0C 02 3F 00
[11.05.2010 10:02:27] selectRoot response: 90 00
[11.05.2010 10:02:27] selectRoot: success
[11.05.2010 10:02:27] selectFileByName D2 76 00 00 25 48 42 02 00 apdu: 00 A4 04 0C 09 D2 76 00 00 25 48 42 02 00
[11.05.2010 10:02:27] selectFileByName D2 76 00 00 25 48 42 02 00 response: 90 00
[11.05.2010 10:02:27] selectFileByName D2 76 00 00 25 48 42 02 00 : success
[11.05.2010 10:02:27] readRecord apdu: 00 B2 01 CC 00
[11.05.2010 10:02:27] readRecord response: 67 25 25 01 00 01 91 89 36 5D 10 12 06 03 31 02 80 45 55 52 01 3D 00 01 90 00
[11.05.2010 10:02:27] readRecord: success
[11.05.2010 10:02:27] [bpd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:27] [upd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:27] callback [reason 6] handled by class de.willuhn.jameica.hbci.passports.ddv.server.PassportHandleImpl
[11.05.2010 10:02:27] sending message [Tue May 11 10:02:26 CEST 2010][OK] HBCI-Chipkarte wird ausgelesen.
[11.05.2010 10:02:27] HBCI-Chipkarte wird ausgelesen.
[11.05.2010 10:02:27] readRecord apdu: 00 B2 03 D4 00
[11.05.2010 10:02:27] readRecord response: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 D0 D0 D0 D0 20 69 30 32 31 2E 73 2D 66 69 6E 74 73 2D 6E 69 2E 64 65 20 20 20 20 20 20 20 20 20 20 20 20 32 38 30 31 31 34 37 37 35 37 39 36 32 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 90 00
[11.05.2010 10:02:27] readRecord: success
[11.05.2010 10:02:27] readRecord apdu: 00 B2 01 E4 00
[11.05.2010 10:02:27] readRecord response: 03 A2 90 00
[11.05.2010 10:02:27] readRecord: success
[11.05.2010 10:02:27] reading ddv-1 keys
[11.05.2010 10:02:27] getKeyInfo apdu: B0 EE 80 02 00
[11.05.2010 10:02:27] getKeyInfo response: 01 90 00
[11.05.2010 10:02:27] getKeyInfo: success
[11.05.2010 10:02:27] getKeyInfo apdu: B0 EE 80 03 00
[11.05.2010 10:02:27] getKeyInfo response: 01 90 00
[11.05.2010 10:02:27] getKeyInfo: success
[11.05.2010 10:02:27] loading passport data from file .../.jameica--alt/hibiscus/passports/2525010001918936_3
[11.05.2010 10:02:27] [bpd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:27] [upd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:27] reading key hbci.passport.password.org.kapott.hbci.passport.HBCIPassportDDV
[11.05.2010 10:02:27] using passport key from wallet, passport: org.kapott.hbci.passport.HBCIPassportDDV
[11.05.2010 10:02:27] ddv passport opened
[11.05.2010 10:02:27] using HBCI version 220
[11.05.2010 10:02:27] registering institute
[11.05.2010 10:02:27] hole kreditinstituts-spezifische Daten
[11.05.2010 10:02:27] fetching BPD
[11.05.2010 10:02:27] creating new raw message DialogInitAnon
[11.05.2010 10:02:28] setting raw property DialogInitAnon.Idn.KIK.blz to "20202020"
[11.05.2010 10:02:28] setting raw property DialogInitAnon.Idn.KIK.country to "DE"
[11.05.2010 10:02:28] setting raw property DialogInitAnon.ProcPrep.BPD to "0"
[11.05.2010 10:02:28] setting raw property DialogInitAnon.ProcPrep.UPD to "0"
[11.05.2010 10:02:28] setting raw property DialogInitAnon.ProcPrep.lang to "0"
[11.05.2010 10:02:28] setting raw property DialogInitAnon.ProcPrep.prodName to "HBCI4Java (Hibiscus 1.11)"
[11.05.2010 10:02:28] setting raw property DialogInitAnon.ProcPrep.prodVersion to "2.5"
[11.05.2010 10:02:28] generating raw message DialogInitAnon
[11.05.2010 10:02:28] erzeuge HBCI-Nachricht DialogInitAnon
[11.05.2010 10:02:28] sending message: HNHBK:1:3+000000000127+220+0+1'HKIDN:2:2+280:20202020+9999999999+0+0'HKVVB:3:2+0+0+0+HBCI4Java (Hibiscus 1.11)+2.5'HNHBS:4:1+1'
[11.05.2010 10:02:28] communicating dialogid/msgnum 0/1
[11.05.2010 10:02:28] using filter: none
[11.05.2010 10:02:28] [bpd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:28] [upd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:28] opening connection to i021.s-fints-ni.de:3000
[11.05.2010 10:02:28] versende HBCI-Nachricht
[11.05.2010 10:02:28] warte auf Antwortdaten
[11.05.2010 10:02:28] waiting for response
[11.05.2010 10:02:28] received message:
[11.05.2010 10:02:28] parse empfangene Antwortnachricht (CryptedRes))
[11.05.2010 10:02:28] trying to parse message as crypted message
[11.05.2010 10:02:28] message seems not to be encrypted; tring to parse it as DialogInitAnonRes message
[11.05.2010 10:02:28]
[11.05.2010 10:02:28] reststring in DialogInitAnonRes.MsgHead:
[11.05.2010 10:02:28] reststring in DialogInitAnonRes.MsgHead.SegHead:
[11.05.2010 10:02:28] reststring in DialogInitAnonRes.MsgHead.SegHead.code:
[11.05.2010 10:02:28] Fehler beim Erzeugen eines Syntax-DEs für DialogInitAnonRes.MsgHead.SegHead.code
[11.05.2010 10:02:28] extracting BPD from results
[11.05.2010 10:02:28] [bpd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:28] [upd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:28] .../.jameica/cfg/de.willuhn.jameica.hbci.passports.ddv.server.PassportImpl.properties has changed, reloading
[11.05.2010 10:02:28] sending message [Tue May 11 10:02:26 CEST 2010][OK] Bitte geben Sie die PIN in Ihren Chipkarten-Leser ein
[11.05.2010 10:02:28] Bitte geben Sie die PIN in Ihren Chipkarten-Leser ein
[11.05.2010 10:02:28] callback [reason 3] handled by class de.willuhn.jameica.hbci.passports.ddv.server.PassportHandleImpl
[11.05.2010 10:02:28] verifying PIN via ct-keypad
[11.05.2010 10:02:28] performVerify apdu: 20 18 01 00 11 52 0F 00 07 00 20 00 81 08 25 FF FF FF FF FF FF FF
[11.05.2010 10:02:31] performVerify response: 90 00
[11.05.2010 10:02:31] performVerify: success
[11.05.2010 10:02:31] [bpd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:31] [upd] no version, no userid or no data found, skipping update
[11.05.2010 10:02:31] callback [reason 5] handled by class de.willuhn.jameica.hbci.passports.ddv.server.PassportHandleImpl
[11.05.2010 10:02:31] writeRecord apdu: 00 DC 01 E4 02 03 A2
[11.05.2010 10:02:31] sending message [Tue May 11 10:02:31 CEST 2010][OK] PIN wurde eingegeben.
[11.05.2010 10:02:31] PIN wurde eingegeben.
[11.05.2010 10:02:31] writeRecord response: 90 00
[11.05.2010 10:02:31] writeRecord: success
[11.05.2010 10:02:31] beende Dialog
[11.05.2010 10:02:31] Fehler beim Testen des Sicherheits-Mediums.
[11.05.2010 10:02:31] creating new raw message DialogEndAnon
[11.05.2010 10:02:32] Aufgetretene Fehlermeldungen:
[11.05.2010 10:02:32] -----------------------------
[11.05.2010 10:02:32] setting raw property DialogEndAnon.MsgHead.dialogid to "null"
[11.05.2010 10:02:32] error while opening chipcard; nested exception is:
[11.05.2010 10:02:32] Fehler beim Erzeugen eines HBCIHandler Objektes
[11.05.2010 10:02:32] kann HBCI-Wert für MsgHead.dialogid nicht auf null setzen
[11.05.2010 10:02:32] Fehler beim Erzeugen eines HBCIHandler Objektes
[11.05.2010 10:02:32] Fehler beim Registrieren der Nutzerdaten
[11.05.2010 10:02:32] fetching BPD failed: org.kapott.hbci.exceptions.ParseErrorException: Fehler beim Erzeugen eines Syntax-DEs für DialogInitAnonRes.MsgHead.SegHead.code org.kapott.hbci.manager.HBCIInstitute.fetchBPD(HBCIInstitute.java:250)
[11.05.2010 10:02:32] Fehler beim Aktualisieren der UPD
[11.05.2010 10:02:32] Fehler beim Aktualisieren der UPD
[11.05.2010 10:02:32] Abholen der BPD fehlgeschlagen
[11.05.2010 10:02:32] -----------------------------
Sorry, dass der Schnipsel so lang ist, habe mal das Log auf Debug gesetzt. Ich bin nicht sicher, was ich dem entnehmen darf. Ist es nur die Tatsache, dass nicht verschlüsselt wurde? Oder keine Version Userid und Daten gefunden wurden? Was auch immer, ich wüsste nicht, wie ich darauf reagieren könnte.
Beim Vorschauen dieses Beitrags habe ich erstmals meinen Code(fast) ganz gesehen. Dabei fiel mir auf, dass die BLZ auf 20202020 gesetzt war, was ich aber sicher geändert habe auf 25050180.
Bin verwirrt.
Viele Grüße
Michael