Bug 419186 - photoTAN does not work with aquabanking
Summary: photoTAN does not work with aquabanking
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: onlinebanking (show other bugs)
Version: 5.0.6
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-24 16:12 UTC by Achim Schaefer
Modified: 2020-03-27 19:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Schaefer 2020-03-24 16:12:40 UTC
When the bank requires a photo TAN authentification this is not offered by kmymoney


STEPS TO REPRODUCE
1. set - up an new aquabanking user with e.g. comdirect 
2. after entering USer Name and ID (customer nr is empty for comdirect) the system requests the normal login pin.
3. enter the login pin

OBSERVED RESULT

17:03:44
Using GnuTLS default ciphers.
17:03:44
TLS: SSL-Ciphers negotiated: TLS1.2:ECDHE-RSA-AES-256-GCM:AEAD
17:03:44
Warte auf Antwort
17:03:45
Antwort erhalten
17:03:45
HBCI: 9050 - Die Nachricht enthaelt Fehler. (M)
17:03:45
HBCI: 9800 - Dialog abgebrochen (M)
17:03:45
HBCI: 9955 - Unzulässiges TAN-Verfahren. (S)
17:03:45
HBCI: 3920 - Verfügbare TAN-Verfahren: photoTAN. (S)
17:03:45
Dialog wurde von der Bank abgebrochen. PIN scheint ungültig zu sein
17:03:45
Dialog-Abbruch durch den Server.
17:03:45
AqHBCI abgeschlossen.
17:03:45
Vorgang abgeschlossen, Sie können das Fenster nun schließen.


EXPECTED RESULT


at this point a dialog should open to specify which method should be used mTAN or photoTAN.
After selecting photoTAN the should should see the grafics  and enter the corresponding PIN generated


SOFTWARE/OS VERSIONS
Windows: 10 (1909)
KDE Frameworks 5.47.0
Qt 5.9.1 (kompiliert gegen 5.9.1)
Das windows Fenstersystem

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2020-03-24 17:05:58 UTC
First: is this on Windows or Linux? You mention Linux as the platform but Windows as OS.

Second: which version of AqBanking is used? I don't want to dismiss this bug entry, but it is very likely that it is an upstream problem of AqBanking. In that case, it is a good idea to open a bug on https://www.aquamaniac.de/rdm/projects/aqbanking/wiki/Bugreports
Comment 2 Achim Schaefer 2020-03-25 05:19:46 UTC
Just changed the version number of kmymoney, I oly notice it is a windoes version ending with 8, but 5.0.6-8.1.

The bundeled auabanking is:
C:\Program Files\kmymoney5\bin>aqhbci-tool4.exe versions
Versions:
 Gwenhywfar   : 4.20.1.0
 AqBanking    : 5.8.1.0

C:\Program Files\kmymoney5\bin>

Which is quite old and does not support PSD2 changes.

BTW the windows version is in the bug report, at the end.
Comment 3 Achim Schaefer 2020-03-27 10:29:18 UTC
Info provided with last commit
Comment 4 Thomas Baumgart 2020-03-27 10:46:28 UTC
... and the answer as well:

> Which is quite old and does not support PSD2 changes.

For PhotoTan to work you need at least 

KMyMoney:    5.0.8 (which requires)
AqBanking:   6.0.1
Gwenhywfar:  5.1.2

and it is known, that these versions (AqB and Gwen) have problems with certain banks, so it is better to use even newer versions of these libraries.
Comment 5 Achim Schaefer 2020-03-27 10:58:09 UTC
But this is the latestversion availible on your download page.
There is nothing newer (for Windows 64 bit) than 5.0.6 bundeled with the old versions...
Comment 6 Jack 2020-03-27 17:28:30 UTC
Please try a version from https://binary-factory.kde.org/job/KMyMoney_Release_win64/ which has daily builds from the 5.0 branch of the source git repository.

I'm not sure why we don't have a more recent version on the win64 download page.
Comment 7 Thomas Baumgart 2020-03-27 18:47:47 UTC
There's no need to try that. The versions on https://binary-factory.kde.org/job/KMyMoney_Release_win64/ do not contain AqBanking so they are of no help. And lately, they don't include OFX as well since the windows build does not find it (even though it is there).

Why don't we have a newer version? We don't have a maintainer who takes care of the windows versions consistently. So the current SLA for windows is 'best effort'.
Comment 8 Dawid Wróbel 2020-03-27 19:52:43 UTC
Coincidentally I just finished talking to Łukasz Wojniłowicz, who previously maintained Win and macOS packages and asked him about aqbanking for Windows. I am trying to get my Win to build kmymoney, so while I can't promise anything I'll see if I can get the Windows package to include aqbanking as well.