Comments (9)
from python-aqbanking.
@elohmeier Sorry, attachments are ignored in the mail ;)
Here is the example: https://gist.github.com/monofox/59fbd5fb789040e3731922e8806e6918
from python-aqbanking.
@monofox thanks for the quick reply =)
This is my script:
https://gist.github.com/elohmeier/e12fec18d975575f7431587946e1373b
So I've tried your script from the gist, and replaced '' with my banks user account pin and also tried the PIN_..._ syntax from the aqbanking pinfile.
Is this correct?
I'm getting the following output: https://gist.github.com/elohmeier/f5e75486a33ddb07ec1b06c863eca00f
I'm able to sucessfully fetch transactions using
aqbanking-cli -n -P pinfile -A request -b **BLZ** -a **KTO** -c transactions.ctx --transactions
.
from python-aqbanking.
@elohmeier First: i recommend you, to remove the gist again. You're PIN is written their in plain text! In line 189, its saying, that the PIN is wrong (at least it seems so).
Second: i will check and will soon give an answer.
from python-aqbanking.
Which python version are you using?
from python-aqbanking.
If you mean [LOG]: 'jobqueue.c: 667: Bad PIN flagged: 9942' 3:2017/02/11 17-21-01:aqhbci(334):jobqueue.c: 667: Bad PIN flagged: 9942
that's not my pin - I've checked the file before uploading, but thanks =)
I'm using python 3.5.
from python-aqbanking.
OK.. great :) i'll check tomorrow. My banks interface is down for maintenance today and chipcard is not supported yet.
from python-aqbanking.
Hello @elohmeier
Could you please check the logs in ~/.aqbanking/backends/aqhbci/data/banks/de/(bank code)/logs
?
You could get the exact path by executing the get balance script like this:
env AQBANKING_LOGLEVEL="verbous" GWEN_LOGLEVEL="verbous" python3 getbalance.py
In theory, there sould be some return codes from HBCI interface with the error codes 9340
or 9942
E.g. if the wrong PIN code is sent to the HBCI interface, i see in the log files:
mode: pintan
rdhtype: 1
hbciVersion: 220
tokenType: pintan
crypt: yes
sender: bank
gwenhywfar: 4.15.3.0
aqhbci: 5.6.10.0stable
appname: AQHBCI
appversion: 5.6
size: 172
HNHBK:1:3+000000000172+220+000003PHUA6D95MQ9QSJR2819K78AU+1+000003PHUA6D95MQ9QSJR2819K78AU:1'HIRMG:2:2:+9800::Der Dialog wurde abgebrochen.+9942::PIN ungültig.'HNHBS:3:1+1'
You could also check, what we get from the python script and passing to Gwenhywfar by applying following patch:
diff --git a/aqbanking/pyaqhandler.cpp b/aqbanking/pyaqhandler.cpp
index 6f16ecc..bf0d1cc 100644
--- a/aqbanking/pyaqhandler.cpp
+++ b/aqbanking/pyaqhandler.cpp
@@ -91,6 +91,7 @@ int PyAqHandler::getPassword(uint32_t flags, const char *token, const char *titl
passwordPy = PyBytes_AS_STRING(s);
#endif
strcpy(buffer, passwordPy);
+ fprintf(stderr, "%s: %s\n", "Password for AQBanking given as", buffer);
Py_DECREF(result);
}
In that case, you should see - after executing - a line which is saying:
Password for AQBanking given as: xxxxx
Could you please try and give a feedback? The correct format for the password callback is definitely just returning the PIN - not the format of the pin file.
Regards,
Lukas
from python-aqbanking.
Closed as no respond.
from python-aqbanking.
Related Issues (9)
- No methods available HOT 4
- fatal error during install HOT 1
- Distribution: Header file missing HOT 4
- Not returning full remoteName
- RuntimeConfigurations like fintsRegistrationKey HOT 9
- Segmentation fault in case of using Account from listacc() HOT 3
- Gcc fails on debian with gcc 4.6 HOT 2
- Segfault with empty account no HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-aqbanking.