Commit Graph

3939 Commits

Author SHA1 Message Date
Christian Grothoff
65915731a9
add dispatching logic for (most) of the new endpoints 2020-12-01 00:34:04 +01:00
Christian Grothoff
862054f6f2
expose new endpoint functions via headers 2020-11-30 23:43:16 +01:00
Christian Grothoff
9ee7d665bd
add cmd to set wire fees / provide master_sig 2020-11-30 14:24:58 +01:00
Christian Grothoff
4b2504a3c3
doxygen fixes 2020-11-30 14:16:42 +01:00
Christian Grothoff
a1af10a832
add API for /management/wire-fees 2020-11-30 14:05:34 +01:00
Christian Grothoff
a3548f0efb
add command to add auditor's denomination signature 2020-11-30 11:51:42 +01:00
Christian Grothoff
e89bb8edaa
more DB functions for new /management/ endpoints 2020-11-29 18:02:00 +01:00
Christian Grothoff
855e7829d7
more work on DB plugin for managemetn API 2020-11-29 17:27:53 +01:00
Christian Grothoff
6b434c626f
work on DB logic, add auditor_name to /management/auditors API 2020-11-29 16:21:10 +01:00
Christian Grothoff
3240844e48
get code for most new endpoints to build (but DB not done) 2020-11-29 14:32:39 +01:00
Christian Grothoff
b65a2f77eb
sketch logic for wire-fee management endpoint 2020-11-28 18:56:29 +01:00
Christian Grothoff
3d8abcc041
more work on new endpoints 2020-11-28 17:18:22 +01:00
Christian Grothoff
a6f98bab5a
first draft for POST /management/keys 2020-11-27 19:32:43 +01:00
Christian Grothoff
99de3a49c3
add tables for signing key revocation and for wire accounts 2020-11-27 14:46:48 +01:00
Christian Grothoff
a69079ef6c
add cmd to revoke exchange online signing key 2020-11-27 00:36:19 +01:00
Christian Grothoff
b1932df0ce
add new cmd to revoke denominations via HTTP API 2020-11-27 00:26:30 +01:00
Christian Grothoff
1e6091d1dd
cmd to add/del wire methods from list of accounts 2020-11-27 00:05:34 +01:00
Christian Grothoff
7ddd1da76d
cmd to sign keys with offline process 2020-11-26 22:55:41 +01:00
Christian Grothoff
98f5960411
cmd to del auditor 2020-11-26 22:54:33 +01:00
Christian Grothoff
1c1d4d9974
cmd to add auditor 2020-11-26 22:49:42 +01:00
Christian Grothoff
2c88cff283
add logic to parse and check secmod signatures 2020-11-26 15:00:34 +01:00
Christian Grothoff
440d0e6ea4
complete GET /management/keys implementation 2020-11-25 22:18:23 +01:00
Christian Grothoff
7930103d30
auditor add denomination client logic 2020-11-25 22:02:37 +01:00
Christian Grothoff
19ca32693a
post keys client logic 2020-11-25 21:55:01 +01:00
Christian Grothoff
1ab3f7a90b
revoke denomination client logic 2020-11-25 21:43:52 +01:00
Christian Grothoff
0de43ecf2b
enable wire client logic 2020-11-25 21:40:38 +01:00
Christian Grothoff
9f56b54ae1
disable wire client logic 2020-11-25 21:38:38 +01:00
Christian Grothoff
5750a2c767
enable auditor enable client logic 2020-11-25 21:33:14 +01:00
Christian Grothoff
4d9b672a72
enable auditor disable client logic 2020-11-25 21:29:04 +01:00
Christian Grothoff
fd91a6aded
implement first new client API 2020-11-25 21:19:13 +01:00
Christian Grothoff
87bc48f513
extended exchange APIs for #6175 2020-11-25 20:26:08 +01:00
Christian Grothoff
ddcf679493
database schema change for #6175 2020-11-24 13:36:17 +01:00
Christian Grothoff
b9b38cdc47
ignore test binary 2020-11-23 21:11:12 +01:00
Christian Grothoff
d5656ec46e
finish helper test cases 2020-11-23 21:10:55 +01:00
Christian Grothoff
77dbb83276
implement exchange online signing key client library 2020-11-23 20:30:10 +01:00
Christian Grothoff
3e37c63fbd
implement sm signing of key announcements 2020-11-23 16:36:07 +01:00
Christian Grothoff
c0a6e13b3c
first sketch of eddsa helper 2020-11-22 23:31:35 +01:00
Christian Grothoff
6082ac8151
add missing delayed purge logic 2020-11-22 22:57:58 +01:00
Christian Grothoff
cbba3d5f29
make parallelism configurable 2020-11-22 22:31:07 +01:00
Christian Grothoff
171391057d
complete crypto helper denom testing 2020-11-22 22:25:49 +01:00
Christian Grothoff
1931869c3c
more work on rsa crypto helper test 2020-11-22 19:02:49 +01:00
Christian Grothoff
a9fb94e916
start with testing crypto rsa helper 2020-11-22 18:31:33 +01:00
Christian Grothoff
9b68dbb8e6
implementing client library for talking to the crypto helper process 2020-11-21 23:58:00 +01:00
Christian Grothoff
5fb918ae7e
expand gitignore 2020-11-15 17:01:26 +01:00
Christian Grothoff
9eef09f6c0
complete first draft of taler-helper-crypto-rsa.c 2020-11-15 16:59:20 +01:00
Christian Grothoff
736997ffe8
add worker thread logic 2020-11-15 16:17:57 +01:00
Christian Grothoff
9f60c8c041
handle revocation requests 2020-11-15 13:26:49 +01:00
Christian Grothoff
bf7a660ec0
implement notfiy_client_dk_add 2020-11-15 12:27:26 +01:00
Christian Grothoff
b8e35aaed0
add taler-helper-crypto-rsa to build system 2020-11-15 12:13:28 +01:00
Christian Grothoff
4f0e38ab12
more work on crypto RSA helper 2020-11-14 22:27:50 +01:00
Christian Grothoff
81d6f8e0df
starting point for #6175 2020-11-14 00:38:31 +01:00
Christian Grothoff
45d621f5ff
add -lgcov flag for coverage analysis 2020-11-12 22:25:59 +01:00
Christian Grothoff
522db4d98e
use --help instead of -h 2020-11-08 23:47:11 +01:00
Christian Grothoff
8d312562bf
adjust ECs 2020-11-07 18:51:54 +01:00
Christian Grothoff
5fbe77bb76
fix return value from main() when run with -h/-v 2020-11-06 10:11:15 +01:00
Christian Grothoff
a79b67c726
log more nicely if authentication failed; do use new changepassword_unsafe to set bank pw -- and not others; do show stderr output of pybank in test cases 2020-10-30 22:17:37 +01:00
Christian Grothoff
afc72f1f47
make static analysis happy 2020-10-30 00:26:21 +01:00
Christian Grothoff
11627b38bb
use correct HTTP status codes: 2020-10-26 13:21:28 +01:00
Christian Grothoff
9c991f0a11
fix doxygen 2020-10-22 10:33:05 +02:00
Christian Grothoff
d363e2bc76
fix format string issues 2020-10-13 12:34:57 +02:00
Christian Grothoff
3dd1b1c00f
fix pybank launch in tests 2020-10-03 16:13:06 +02:00
Christian Grothoff
4129b724a0
doxygen fixes, update ChangeLog, bump version 2020-10-03 16:08:01 +02:00
Christian Grothoff
789cd97b68
use current bank CLI and CFG options for auditor tests 2020-10-03 12:26:56 +02:00
Christian Grothoff
4e93638683
use current bank CLI and CFG options for auditor tests 2020-10-03 12:26:43 +02:00
Florian Dold
9a3bdcf604
starting the bank is slow, give it some more time 2020-09-12 15:38:00 +05:30
Christian Grothoff
c62a7fdc6b
fix exchange 'make dist' rules 2020-09-11 22:34:08 +02:00
Christian Grothoff
ee4f1c1002
fix #6553: compute residual coin value correctly in melt conflict response 2020-09-01 23:59:16 +02:00
Christian Grothoff
d453c47a74
re-enable auditor tests (#6479) 2020-08-29 13:41:49 +02:00
Christian Grothoff
fa27c11662
force remove 2020-08-29 13:39:57 +02:00
Florian Dold
d2003378ac
add missing timetraval 2020-08-29 16:52:34 +05:30
Christian Grothoff
a0863ee5fc
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-08-29 11:55:44 +02:00
Christian Grothoff
2aca3b5eff
use enum instead of int 2020-08-29 11:55:40 +02:00
Florian Dold
d1232f02cc
add missing 'run-until-done' and convert test-pay to new wallet API call 2020-08-29 15:12:22 +05:30
Christian Grothoff
3bba677f64
fix previous fix: not creating a new one is OK 2020-08-29 11:30:33 +02:00
Christian Grothoff
2212ae330a
c89-style 2020-08-29 01:32:40 +02:00
Christian Grothoff
b382287567
memset only sets 1 byte 2020-08-29 01:32:15 +02:00
Christian Grothoff
d326c05e32
fix checks 2020-08-29 01:25:59 +02:00
Christian Grothoff
5224f79591
fix checks 2020-08-29 01:24:21 +02:00
Christian Grothoff
0846ab93bc
doxygen fixes 2020-08-29 00:37:37 +02:00
Christian Grothoff
f486df99c8
fail if exchange-account configuration is definitively wrong (#5642) 2020-08-28 23:43:05 +02:00
Christian Grothoff
8a89eec7b4
log diagnostics 2020-08-28 20:17:24 +02:00
Christian Grothoff
581a39b5b5
improve reporting, also use auditor fee calculation when computing reserve balance updates in case of disagreement on coin value/fee 2020-08-28 20:02:08 +02:00
Christian Grothoff
1ef9735115
nicer process killing 2020-08-28 18:30:44 +02:00
Christian Grothoff
51fa812cf4
do setup instance 2020-08-28 18:28:53 +02:00
Christian Grothoff
d089c31e5e
fix test logic: initialize $WALLET_DB and fix cleanup logic of generate-auditor-basedb.sh 2020-08-28 18:01:50 +02:00
Christian Grothoff
d6400f52e1
doh: key missing 2020-08-25 21:15:55 +02:00
Christian Grothoff
4bba726356
nicer generic error reporting logic, for #6432 2020-08-25 15:11:56 +02:00
Christian Grothoff
ce266ce8f2
fix keyup timetravel (#6523) 2020-08-24 22:19:54 +02:00
Christian Grothoff
46dde9368f
implement i18n lookup logic for #6458 2020-08-19 18:19:00 +02:00
Christian Grothoff
a84c61dd82
fix #6483: ensure cleanup of processes on exit 2020-08-19 18:03:45 +02:00
Florian Dold
1cd3f3281b
make thread pool size configurable via command line argument, default to #CPUs available 2020-08-18 19:37:12 +05:30
Christian Grothoff
62a53f836b
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-08-14 14:43:03 +02:00
Christian Grothoff
d8256207a1
fix #6480 2020-08-14 14:42:58 +02:00
Florian Dold
645fef07cb
spend 4 TESTKUDOS, not 5, like the previous test command 2020-08-14 17:12:35 +05:30
Florian Dold
e4f98e0fa7
exchange, not bank 2020-08-14 16:52:29 +05:30
Florian Dold
96878561a5
fix test withdrawal wallet invocation 2020-08-14 16:49:17 +05:30
Florian Dold
3161751eba
don't run old integrationtest command 2020-08-14 16:44:24 +05:30
Christian Grothoff
e8ea6bf1e7
fix bug: case where this is the first refund 2020-08-14 13:07:53 +02:00
Florian Dold
8239a8bdd1
taler wallet invocation 2020-08-14 16:21:13 +05:30
Christian Grothoff
f581b54dfb
remove optimization combining two SQL statements on reserve update as it could not be shown to have a significant benefit at this time (only 2% fewer serialization failures). May deserve further evaluation in the future, if reserve update ever becomes crucial. 2020-08-13 20:49:48 +02:00
Christian Grothoff
4e0b510438
extend tests to discover corner cases from #6478, fix code to actually work for those cases 2020-08-13 00:45:02 +02:00
Christian Grothoff
6256bdb15a
implement #6478, but untested as shown by FIXMEs 2020-08-12 20:12:39 +02:00
Christian Grothoff
26f72f8572
fix refund handling: allow refund increases for the same coin 2020-08-12 13:02:59 +02:00
Florian Dold
d4404cec14
adapt to GNUnet API change 2020-08-12 13:11:41 +05:30
Christian Grothoff
6503a9fe35
experimental fix to #6452: merge two SQL statements into one 2020-08-10 08:12:01 +02:00
Christian Grothoff
a97983ddb1
indentation and logging fixes 2020-08-10 08:10:44 +02:00
Christian Grothoff
c2a0196f16
postgres documentation suggests to avoid 'FOR UPDATE' with serializable transactions 2020-08-08 20:01:56 +02:00
Christian Grothoff
f1cc1ca208
expose language check logic 2020-08-03 01:16:53 +02:00
Christian Grothoff
637fc6e0d4
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-08-02 19:14:39 +02:00
Christian Grothoff
4fc5990320
bugfix 2020-08-02 19:14:33 +02:00
MS
799822220e
rename tool 2020-07-29 16:07:57 +02:00
MS
67ee9a9ec0
adjust help message 2020-07-29 15:55:04 +02:00
Jonathan Buchanan
efa567fbb4
trait for claim token 2020-07-29 01:26:36 -04:00
MS
7a9086fa18
dereference pointer 2020-07-27 23:07:05 +02:00
MS
2e8d4e802b
Drop payto params before preparing the wire transfer. 2020-07-27 22:25:05 +02:00
Christian Grothoff
022fba51d5
better fix 2020-07-27 14:14:40 +02:00
Christian Grothoff
ccdbc2a452
better fix 2020-07-27 14:14:04 +02:00
MS
6fd44ff2ea
fix segfault 2020-07-27 14:03:11 +02:00
MS
680b671b29
Extend bank transfer tool.
Find subject among payto parameters.
2020-07-27 12:57:47 +02:00
MS
7c2de4c5e6
payto parser: extract 'subject' parameter. 2020-07-27 12:48:48 +02:00
Christian Grothoff
e1fcb2b26c
define claim token 2020-07-27 10:42:41 +02:00
MS
566d9196a8
placing a Fixme 2020-07-24 15:18:17 +02:00
Jonathan Buchanan
c24a18e1a5
remove TALER_TESTING_cmd_admin_add_incoming_with_instance and TALER_EXCHANGE_refund2 2020-07-23 16:19:02 -04:00
Christian Grothoff
0e808b648a
fix misc typos 2020-07-22 23:56:52 +02:00
Florian Dold
93923c168d
remove refund_fee from refund confirmation message and signature 2020-07-22 19:29:27 +05:30
Christian Grothoff
70090ed9a8
kill order for Florian 2020-07-22 14:48:06 +02:00
Jonathan Buchanan
016c4a5cf2
update gana, add error codes c file 2020-07-22 01:37:39 -04:00
Jonathan Buchanan
c3eb0fd8e2
change behavior of expanding json paths with arrays 2020-07-21 16:34:14 -04:00
Christian Grothoff
6d52922c22
mmap() ToS/PP and pre-compute compressed replies (fixes #6199) 2020-07-21 21:27:08 +02:00
Christian Grothoff
a48592d0a4
-doxygen 2020-07-21 10:05:05 +02:00
Jonathan Buchanan
fecfa27727
add parser for json path 2020-07-21 03:14:41 -04:00
Christian Grothoff
80ba1c6ebe
merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188 2020-07-18 00:44:59 +02:00
Christian Grothoff
3f9c464697
-fix bank start calls 2020-07-18 00:25:35 +02:00
Christian Grothoff
62963ae4b3
adapt to change in GNUNET_OS_start_process() API (#6188) 2020-07-17 22:37:04 +02:00
Christian Grothoff
4fde76049e
boolean argument removed in GNUNET_CURL_job_add (#6188) 2020-07-16 20:36:51 +02:00
Christian Grothoff
b9f1384b52
avoid boolean flags, see #6188 2020-07-16 20:27:52 +02:00
Christian Grothoff
c326a5bd9d
implement forgettable contract terms core logic (#6365) 2020-07-16 14:35:47 +02:00
Jonathan Buchanan
5658c4c52b
test retry transfer with same request_id 2020-07-15 20:41:45 -04:00
Christian Grothoff
e1ad498bff
first draft for #6365, test pending 2020-07-16 01:51:45 +02:00
Christian Grothoff
90e756ddea
rename TALER_JSON_hash to TALER_JSON_contract_hash 2020-07-16 00:42:42 +02:00
Christian Grothoff
6ef6de6c5c
fix Accept patterns with semicolons 2020-07-16 00:19:48 +02:00
Christian Grothoff
9e92cc6089
Fix #6375 2020-07-15 21:41:09 +02:00
Christian Grothoff
8f0a4b6095
fix #6133: enable nice shutdown of auditor helpers with CTRL-C 2020-07-15 21:22:44 +02:00
Christian Grothoff
d24b062418
use bool instead of int for zombie_required 2020-07-15 14:23:47 +02:00
Christian Grothoff
5d4d5dcaf4
prepare for #6133: extend report-lib with API for signal handling 2020-07-15 14:07:32 +02:00
Christian Grothoff
62d5aae119
check invariant that refund deadline should not be after wire deadline 2020-07-14 21:08:33 +02:00
Jonathan Buchanan
8147661f94
test for use-after-free crash when getting keys 2020-07-13 17:31:46 -04:00
Christian Grothoff
82b6067de6
more unit crypto tests 2020-07-11 17:26:02 +02:00
Christian Grothoff
8ea4e50ac7
test coin-reuse with recoup as well 2020-07-10 23:17:55 +02:00
Christian Grothoff
7085cfef70
test coin_priv re-use with deposit and refresh, update handling of the error code client-side 2020-07-10 23:09:46 +02:00