AQBanking with a Deutsche Bank WebSign Card
Basics
The other part is that the WebSign card is fully configured. There is no requirement for you to download a key into the card or such.
IniLetter
Installation
$ pcsc_scan
PC/SC device scanner
V 1.4.21 (c) 2001-2011, Ludovic Rousseau
Compiled with PC/SC lite version: 1.8.7
Using reader plug’n play mechanism
Scanning present readers…
0: OMNIKEY AG CardMan 3021 00 00
Sat Mar 2 10:27:23 2013
Reader 0: OMNIKEY AG CardMan 3021 00 00
Card state: Card inserted,
ATR: 3B B7 94 00 81 31 FE 65 53 50 4B 32 33 90 00 D1
…
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B B7 94 00 81 31 FE 65 53 50 4B 32 33 90 00 D1
Giesecke & Devrient Starcos 2.3
Deutsche Bank WebSign (RSA-Card)
G&D StarSign Token
The output shows that the card reader and the card were detected. This means we can continue and check if the libchipcard installation is complete. I am using the gct-tool to show me my user credentials. These include the User-Id and the IP address to use for the Deutsche Bank. I used the following command:
$ gct-tool showuser -t starcoscard
===== Enter Password =====
Please enter the access password for
CARD_ID
You must only enter numbers, not letters.
Input: ENTER_PIN
————————————————-
Context 1
Service : BLZ
User Id : USER_ID
Peer Id : PEER_ID
Address : IP
Port : 3000
System Id :
Sign Key Id : A
Verify Key Id : B
Encipher Key Id: C
Decipher Key Id: D
….
In case you enter the wrong PIN code you have 7 more attempts to enter the right one before the card will be blocked. You will need to use the –forcepin to enter it again. Some other utilities of aqhbci-tool4 appear to become unusable once you have entered the wrong pin. If you do not get the above you are most likely missing the starcoscard plugin.
Configuration
$ aqhbci-tool4 adduser -t starcoscard –context=1 -b BLZ -c ACCOUNT_NR -N YOUR_NAME –hbciversion=300
$ aqhbci-tool4 getsysid
Locking users
Locking user USER
Executing HBCI jobs
AqHBCI started
Connecting to bank…
Connecting to “IP”
Connected to “IP”
Connected.
There are no tan method descriptions (yet), trying One-Step TAN.
Encoding queue
===== Enter Password =====
Please enter the access password for
CARD_NR
You must only enter numbers, not letters.
Input: ENTER_PIN
Sending queue
Waiting for response
Response received
HBCI: 0010 – Nachricht entgegengenommen. (M)
HBCI: 0020 – Dialogintialisierung erfolgreich. (M)
HBCI: 0020 – Auftrag ausgeführt. (S)
HBCI: 1050 – UPD nicht mehr aktuell. Aktuelle Version folgt. (S)
HBCI: 0020 – Information fehlerfrei entgegengenommen. (S)
Encoding queue
Sending queue
Waiting for response
Response received
HBCI: 0010 – Nachricht entgegengenommen. (M)
HBCI: 0100 – Dialog beendet. (S)
Disconnecting from bank…
Disconnected.
AqHBCI finished.
If the above fails something is still wrong with your setup. But if it looks like the above you can use the qbankmanager to initiate bank transfers. I hope the above saves someone else the time I had to spent reading the outdated information. In the end it is quite easy to setup.