Commit Graph

122 Commits

Author SHA1 Message Date
Christian Grothoff
eb1b6fbc97
add skeleton for auditor httpd 2018-10-06 17:29:03 +02:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies) 2018-10-06 15:05:06 +02:00
Christian Grothoff
190a1fadaf
re-init logging so we can tell by PID who it is 2018-08-19 17:19:27 +02:00
Marcello Stanisci
eedb4dd4ed
auditor tool to reset db tables. 2018-04-23 17:04:19 +02:00
Christian Grothoff
aea82d3dcd
allow auditor to operate per-account 2018-04-02 21:12:18 +02:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00
Christian Grothoff
a166ca7fec
fix #5281 for exchange: do preflight check that an old transaction is no longer running by accident 2018-03-12 11:33:10 +01:00
Florian Dold
6f9354cac6
better error message 2018-01-30 02:33:47 +01:00
Christian Grothoff
0906696ec2
bugfixes in auditor and rendering 2018-01-04 10:38:16 +01:00
Christian Grothoff
7d60d3a618
nicer formatting, some DCE 2018-01-04 09:22:33 +01:00
Christian Grothoff
5587732f52
fix auditor to properly verify wire fee signatures and more gracefully handle arithmetic amount issue 2018-01-04 00:41:19 +01:00
Christian Grothoff
76769e9429
fix test for '*' accepted encoding 2017-12-10 00:18:48 +01:00
Christian Grothoff
af6e9f134a
fix potential NPE 2017-12-09 23:51:49 +01:00
Christian Grothoff
1d40d2973c
initialize rev_rowid always 2017-12-09 23:35:04 +01:00
Christian Grothoff
042616899f
largely fix #5077 2017-12-06 19:24:00 +01:00
Christian Grothoff
499247a480
fixing #5178 2017-11-29 20:23:08 +01:00
Christian Grothoff
111abd5944
do not break on issues we log to JSON 2017-11-20 21:56:06 +01:00
Christian Grothoff
7749a683ba
fix issue in wire auditor's history processing 2017-11-20 21:55:24 +01:00
Christian Grothoff
11269125fa
implement #5177 (not yet tested) 2017-11-20 14:20:09 +01:00
Christian Grothoff
8f48db8fdf
implementing #4961: detection of missing aggregate transfers 2017-11-19 22:36:58 +01:00
Christian Grothoff
53be6c6337
update bug refs to #5177 2017-11-12 15:51:53 +01:00
Christian Grothoff
8440de1333
work on #5077: reserve_pub vs. wtid issue, add reject functionality to wire plugin API (with stub implementations for now) 2017-11-12 15:46:52 +01:00
Christian Grothoff
f299130c50
make -m option optional for taler-auditor and taler-wire-auditor 2017-11-12 14:11:05 +01:00
Christian Grothoff
1665941154
fix misc typos in auditor report logic 2017-11-08 19:07:21 +01:00
Christian Grothoff
1139f74ffe
fix minor wire auditor bugs, add samples of output 2017-11-08 18:44:12 +01:00
Christian Grothoff
f8af22b882
more work on wire auditor and reporting (#4958) 2017-11-07 14:38:45 +01:00
Christian Grothoff
45c443f348
update auditor report format to capture nicely all diagnostics that may currently be generated by the auditor (closes #4962) 2017-11-06 19:11:43 +01:00
Christian Grothoff
cc09fbbb29
working on #4962 2017-11-06 14:54:52 +01:00
Christian Grothoff
c5f9c0ca88
work on making auditor reports nicer (#4962) 2017-11-06 00:03:08 +01:00
Christian Grothoff
a946dc30bb
start template for generating nicely formatted auditor reports 2017-10-26 22:39:59 +02:00
Christian Grothoff
fbc685a76c
make --wire argument mandatory 2017-10-17 19:53:43 +02:00
Christian Grothoff
4a84520514
resolve #4963 2017-10-16 17:57:29 +02:00
Christian Grothoff
2cddf524a8
work on #4963 for taler-auditor 2017-10-16 17:57:29 +02:00
Christian Grothoff
d970d6abb4
suppress compiler warning 2017-10-15 17:42:41 +02:00
Christian Grothoff
7a232a0941
add references to Mantis bugs to TODO/FIXME comments in code 2017-10-12 20:56:16 +02:00
Christian Grothoff
cb13afaf54
complete first pass of taler-wre-auditor's wire-out audit logic 2017-10-12 20:46:42 +02:00
Christian Grothoff
600d1684e3
completing reserves_in logic of taler-wire-auditor, but not tested 2017-10-12 16:26:52 +02:00
Christian Grothoff
1261971987
yet another TALER_amount_get_zero with missing rval check 2017-10-06 22:08:35 +02:00
Christian Grothoff
d86a6615cc
really carefully check strtoll() return value before casting to uint64_t 2017-10-06 22:04:51 +02:00
Christian Grothoff
ad97b8d439
use proper type for do_shutdown() callback 2017-10-06 21:36:40 +02:00
Christian Grothoff
7f37c2ae00
more return value checks on TALER_amount_get_zero 2017-10-06 21:21:20 +02:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash 2017-10-06 20:02:28 +02:00
Christian Grothoff
85a2d3dc0e
modify wire auditor to deal with asynchrony of WIRE plugin API 2017-09-30 21:28:17 +02:00
Christian Grothoff
6a4f6b1836
also store wire position in auditordb 2017-09-30 20:47:52 +02:00
Christian Grothoff
96e04d33e1
update auditordb API to support logic for taler-wire-auditor 2017-09-30 20:29:19 +02:00
Christian Grothoff
a0d410e01b
fix mapping of auditor sigs to DKs, avoid one hash operation by caching hash value 2017-09-26 15:05:27 +02:00
Christian Grothoff
e78e0f6c4e
starting point for #4948 2017-09-25 23:27:16 +02:00
Christian Grothoff
7123015dbc
create tables in taler-auditor-sign instead of failing obscurely 2017-09-13 14:29:07 +02:00
Christian Grothoff
2c6956f32a
clean up PQ tables (renamings, remove redunant column), and primarily fix #4751 2017-07-14 17:43:07 +02:00
Christian Grothoff
ba95b05256
log interesting errors always 2017-06-25 12:59:46 +02:00