Bug 398895

Summary: installation HBCI
Product: [Applications] kmymoney Reporter: Hartmut Rau <zarau>
Component: onlinebankingAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: 4.8.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 4.8.3,5.0.6
Sentry Crash Report:

Description Hartmut Rau 2018-09-21 07:11:37 UTC
Hello,
I use Win7/64-bit and installed KMyMoney. Trying to add HBCI-connection to my bank with Aqbanking I got a error message:„Error checking chip card (-139264). Maybe libchipcard or ist plugins are not installed?“
The card reader is ReinerSCT cyberJack RFID standard and it tells to be okay and propperly worked with another finance-program that i what to get rid of.
What can i do?
Comment 1 Ralf Habacker 2018-09-21 08:25:58 UTC
Chipcard support depends on aqbanking. They states at https://www.aquamaniac.de/sites/aqbanking/overview.php

The backend AqHBCI currently supports these security media:

    DDV chipcard (DES-DES-Verfahren)
    RSA chipcard (RSA-DES-Hybrid, cards sold by Matrica)
    OpenHBCI keyfile (either OpenHBCI 1 or 2)
    PIN/TAN (PIN/TAN mode using HTTP over SSL)
Comment 2 Ralf Habacker 2018-09-21 08:51:39 UTC
For the record: aqbanking uses libchipcard for chip card reader support. libchipcard itself depends on pcsc. At least on linux (opensuse) there is a plugin for the mentioned chip card reader (https://build.opensuse.org/package/show/openSUSE%3AFactory/pcsc-cyberjack), so I think it could work with kmymoney.
Comment 3 Ralf Habacker 2018-09-25 17:40:09 UTC
I have tried to find public information about the state of libchipcard support for Windows, but have unfortunately found nothing meaningful (except that winscard.dll is used), so here probably just trying helps.
As support I can add libchipcard to the next Windows version of KMyMoney. In the delivery are then command line tools like 

cardcommander.exe
chipcard-tool.exe
moneycard.exe
kvkcard.exe
memcard.exe

with which you can safely try it out.
Comment 4 Ralf Habacker 2018-09-25 19:02:26 UTC
You may try the kmymoney windows snapshot located at  
http://download.opensuse.org/repositories/windows:/mingw:/win32:/snapshots/openSUSE_Leap_42.3/noarch/mingw32-kmymoney-portable-4.8.4ed579e8-17.1.noarch.rpm
Unpack with 7z and open a command shell in the bin folder. Then run cardcommander or chipcard-tool.
Comment 5 Ralf Habacker 2018-09-25 20:17:05 UTC
To be able to have chip card support with kmymoney on windows you need to start the SmartCard Service as Administrator.
Comment 6 Ralf Habacker 2019-01-28 10:46:38 UTC
libchipcard package has been added to the installer and portable package.