Christian Grothoff
ac850bfcd2
add auditing of deposit confirmations to auditor ( #5447 )
2018-11-04 17:36:56 +01:00
Christian Grothoff
332341cb7b
add check for #coins depoisted exceeding #coins issued (not just by amount), fixes #5446
2018-11-04 16:20:34 +01:00
Christian Grothoff
b39c3f9ca6
add missing default configs for auditor-httpd, make -u not mandatory as it is not needed for -r and check URL is well-formed if given; fix auditordb exchange insertion/removal logic
2018-11-04 10:48:32 +01:00
Christian Grothoff
ebc8ae68be
implement taler-auditor-exchange
2018-11-03 21:28:52 +01:00
Christian Grothoff
af41624591
implement /exchanges handler in auditor-httpd
2018-10-28 12:03:07 +01:00
Christian Grothoff
bd40aad7dc
track number of coins issued per denomination in auditor (not yet used)
2018-10-28 11:30:02 +01:00
Christian Grothoff
7b62deabac
split up progress points of auditor by coin/reserve/aggregation to minimize DB conflicts
2018-10-27 21:27:23 +02:00
Christian Grothoff
2024ccd2f9
complete auditor httpd side of deposit confirmation handling (auditordb not yet ready, though)
2018-10-27 19:26:17 +02:00
Christian Grothoff
4ad39b6b73
first skeleton of /deposit-confirmation API implementation; not yet complete, cannot work as-is, see FIXMEs
2018-10-21 20:52:26 +02:00
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
Christian Grothoff
4c6ef74358
update taler-auditor to fix #5010 in auditor as well, technically done, but untested
2017-06-25 01:46:19 +02:00
Christian Grothoff
c42d544736
convert rest of exchangedb plugin API to fix #5010-issues
2017-06-24 16:15:42 +02:00
Christian Grothoff
92e6744ac0
address #5010 for /refund
2017-06-19 16:07:34 +02:00
Christian Grothoff
a57cf67f31
a bit more work on #5010
2017-06-11 02:12:56 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879 )
2017-05-29 01:15:41 +02:00
Marcello Stanisci
02962b4f12
auditor doesn't sign a zero-length list of denominations
2017-05-18 13:48:15 +02:00
Christian Grothoff
673509fac8
fix auditor signing process: include signature over refund fee
2017-05-11 11:02:49 +02:00
Christian Grothoff
20aad54c3e
remove dead transfer details field from reserves_in (API, exchangedb, etc.)
2017-05-08 13:18:36 +02:00
Christian Grothoff
76545519c6
updating DB schema for new wire history operations and future auditor checks of wire transfers
2017-05-05 13:41:32 +02:00
Christian Grothoff
27c921c7c4
finished implementing #4956 in principle, but not yet tested
2017-04-20 21:38:02 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues
2017-04-20 07:49:56 +02:00
Christian Grothoff
b0811dd868
add support for closed reserves to taler-auditor
2017-04-19 21:41:53 +02:00
Christian Grothoff
123b1868ab
implement #4983
2017-04-19 13:46:38 +02:00
Christian Grothoff
62afe341b7
fix #4984
2017-04-16 17:21:26 +02:00
Christian Grothoff
be6dde89db
fix use of uninit value on PAYBACK path in auditor
2017-04-16 02:16:41 +02:00
Christian Grothoff
11b8710a5c
implement checking of denomination revocation status in auditor
2017-04-08 22:52:32 +02:00
Christian Grothoff
d27f7f34b4
have auditor report command to handle denomination key revocation on emergency-detection ( #3887 )
2017-04-08 20:11:37 +02:00
Christian Grothoff
930101256e
check payback signatures in auditor
2017-04-04 17:05:38 +02:00
Christian Grothoff
4b5efa4e81
towards supporting #3887 in the auditor
2017-04-04 16:27:27 +02:00
Christian Grothoff
4b82a591c5
handle /payback in auditor when checking reserves
2017-04-04 15:38:58 +02:00
Christian Grothoff
8d9dc14227
renaming GNUNET_GETOPT-symbols to match latest changes in GNUnet
2017-03-25 23:39:30 +01:00
Christian Grothoff
e4b209c724
use nicer text for audit report
2017-03-20 04:40:52 +01:00
Christian Grothoff
ab0286f583
finish #3775 , including addition of man page
2017-03-20 04:38:08 +01:00
Christian Grothoff
3186dbf58a
fix log level of auditor, elimintate REFERENCES constraint for now, unclear if it is needed/useful
2017-03-20 04:29:42 +01:00
Christian Grothoff
73321daf5a
deal with persisting wire/aggregation fee data in auditor
2017-03-20 04:17:06 +01:00
Christian Grothoff
9fe8da0cc6
deal with aggregation fee lookup and calculations in auditor
2017-03-20 03:58:51 +01:00
Christian Grothoff
4599b25895
report wire amount minus aggregation fee in wire_out table, start logic in auditor to check wire amounts including wire fees
2017-03-20 03:32:16 +01:00
Christian Grothoff
1ce5651373
fix risk/fee calculations in auditor
2017-03-20 03:06:23 +01:00
Christian Grothoff
3fde028650
fix auditor progress point issue
2017-03-20 02:45:33 +01:00
Christian Grothoff
a38fa32484
fixing misc auditor issues
2017-03-20 02:29:33 +01:00
Christian Grothoff
7115eda899
fix misc minor issues in new auditor logic
2017-03-20 00:26:11 +01:00
Christian Grothoff
45d96d8168
minor auditor bugfixes
2017-03-19 13:53:50 +01:00
Christian Grothoff
424b327395
implement check_transaction_history()
2017-03-19 06:50:08 +01:00
Christian Grothoff
9b4d0634e1
simplify analysis by returning denom_pub with rest of coin transaction data instead of bothering fetching with coin history
2017-03-19 01:55:37 +01:00
Christian Grothoff
b42ce7e80a
alpha-renaming to better describe what functions/tables do
2017-03-19 01:09:00 +01:00
Christian Grothoff
e4a4a7e193
finish sync_denomination() implementation
2017-03-18 23:03:00 +01:00
Christian Grothoff
0f5ce284c4
deal with some minor FIXMEs in auditor
2017-03-18 22:38:31 +01:00
Christian Grothoff
69ac028a13
add required separate risk balance per denomination to auditordb
2017-03-18 22:20:48 +01:00
Christian Grothoff
a9f9161c3a
simplify auditordb API to match actual requirements better
2017-03-18 22:06:27 +01:00
Christian Grothoff
9cfe47493c
more work on auditor
2017-03-18 17:47:44 +01:00
Christian Grothoff
9a5cef0eb1
complete skeleton of wire-out audit logic
2017-03-18 16:56:31 +01:00
Christian Grothoff
543b4f7a7c
fix FTBFS of test
2017-03-17 19:06:26 +01:00
Christian Grothoff
3d1d78f23a
fix FTBFS
2017-03-17 18:46:30 +01:00
Christian Grothoff
c250200f44
simple error handling issues, update TODO/plan
2017-03-17 18:46:11 +01:00
Christian Grothoff
d1d767f8dd
init risk, notes
2017-03-17 18:29:55 +01:00
Christian Grothoff
011b7f5bcd
add skeleton function for 3887-emergency reporting
2017-03-17 18:27:53 +01:00
Christian Grothoff
382e3dfedb
implement more audit checks for refunds
2017-03-17 17:49:55 +01:00
Christian Grothoff
8ea9b0dad7
more work on coin/denomination audit
2017-03-17 17:17:07 +01:00
Christian Grothoff
06c2327558
verify deposit signature during audit
2017-03-17 14:09:58 +01:00
Christian Grothoff
2d7d658e8b
initialize 'currency' variable
2017-03-17 13:56:47 +01:00
Christian Grothoff
6b5bfc57b5
more work on auditor, towards coin/denomination key checks
2017-03-15 19:28:05 +01:00
Christian Grothoff
36195e85ea
skeleton logic for analyze_coins()
2017-03-15 14:19:57 +01:00
Christian Grothoff
54b3a9e930
add required rowid for diagnostics
2017-03-15 13:36:47 +01:00
Christian Grothoff
a3db0d4a8c
introduce 'struct TALER_AUDITORDB_ProgressPoint'
2017-03-15 13:12:45 +01:00
Christian Grothoff
af5810ccae
add -m option to auditor
2017-03-15 12:02:07 +01:00
Christian Grothoff
ae3e850c94
update getopt config parsing style to match 'getopt' GNUnet branch API change
2017-03-15 12:01:06 +01:00
Christian Grothoff
296f919ce4
more work on auditor, listing open TODOs
2017-03-14 18:00:17 +01:00
Christian Grothoff
4b952b3037
more work on auditor, still very incomplete
2017-03-14 15:13:50 +01:00
Christian Grothoff
9aec6f7727
incomplete working on taler-auditor
2017-03-14 12:22:03 +01:00
Christian Grothoff
6e468534be
do not do path expansion on public key in Crockford encoding
2017-02-13 15:44:58 +01:00
Christian Grothoff
f8eb77927f
add proper log statement on success
2016-11-17 15:19:45 +01:00
Christian Grothoff
1c32ef95ba
add log statement on success
2016-11-17 15:19:14 +01:00
Christian Grothoff
6274aa34d3
need to initialize reserve_pub first
2016-11-17 15:17:27 +01:00
Christian Grothoff
2859dbe5e3
increments of more than 1 do happen
2016-11-17 15:15:13 +01:00
Christian Grothoff
e216d9e22d
cut and paste error
2016-11-17 15:12:51 +01:00
Christian Grothoff
ddd4a6afcc
serial IDs start at 1, fixed in right place this time
2016-11-17 15:02:22 +01:00
Christian Grothoff
9556fb326e
serial IDs start at 1
2016-11-17 15:01:06 +01:00
Christian Grothoff
5e2b3e1cfa
handle case rowid = 0
2016-11-17 14:47:47 +01:00
Christian Grothoff
e3ec645b0d
change rowid type to uint64_t everywhere; start with reserve-analysis in auditor
2016-11-17 14:31:44 +01:00
Christian Grothoff
42da43c18c
add missing #include
2016-10-08 19:04:21 +02:00
Christian Grothoff
f5a2134da8
move taler-auditor-sign tool to auditor/ direcotory
2016-10-06 16:38:42 +02:00
Christian Grothoff
b68adb93c6
adding skeleton code for auditor
2016-10-06 15:17:10 +02:00