Commit Graph

247 Commits

Author SHA1 Message Date
Christian Grothoff
94c5ee9376
reduce lookahead_sign in tests to improve test performance a bit 2021-01-16 23:55:11 +01:00
Christian Grothoff
260e287685
change wire_reference to be uint64_t always; more work on lrbt_callbacks 2021-01-08 23:36:09 +01:00
Christian Grothoff
148287954d
clean taler-config, needed to build proper dpkg 2021-01-02 12:00:00 +01:00
Christian Grothoff
6b70f2e454
keep helpers in normal bin/ dir 2020-12-31 22:31:32 +01:00
Christian Grothoff
0bffea1f67
add missing linker options 2020-12-31 22:13:12 +01:00
Christian Grothoff
54b4951b89
more logging for #6667 2020-12-31 20:41:33 +01:00
Christian Grothoff
2c856ebe3c
use BASE_URL consistently 2020-12-25 09:04:27 +01:00
Christian Grothoff
d5d2fc12f5
fix test failures 2020-12-25 08:59:04 +01:00
Christian Grothoff
5b2adfc3cb
update .gitignore 2020-12-20 20:15:33 +01:00
Christian Grothoff
4b9fb610d8
do not log error on MHD_HTTP_GONE status code, revocation is a legitimate reply 2020-12-20 20:03:59 +01:00
Christian Grothoff
d986555355
log when we sign, with error if time does not match expectations 2020-12-20 18:27:10 +01:00
Christian Grothoff
6a73629aee
re-enable cherry picking test (kind-of passes, not finished) 2020-12-20 17:10:01 +01:00
Christian Grothoff
6f69bc424a
fix GNUNET_DISK_fn_write() rval check to match latest GNUnet API 2020-12-20 15:52:27 +01:00
Christian Grothoff
b1e305fb05
remove obsolete configuration options 2020-12-17 16:19:28 +01:00
Christian Grothoff
cd6a3b8de7
fix config for aggregator test 2020-12-16 19:58:42 +01:00
Christian Grothoff
9745e82c59
aggregator test now does also needs exchange running, if only to post the fees initially 2020-12-16 19:44:15 +01:00
Christian Grothoff
9d3e052ad3
enable more test logic 2020-12-16 19:35:06 +01:00
Christian Grothoff
c940296185
need to have fees for wire tool tests, too 2020-12-16 19:31:46 +01:00
Christian Grothoff
233f567b81
need to have fees for auditor test, too 2020-12-16 19:29:13 +01:00
Christian Grothoff
6f6c71a8d3
load fees from DB instead of from config, also in wire tools 2020-12-16 19:23:29 +01:00
Christian Grothoff
e0497239e9
adapt tests to run without keyup tool 2020-12-16 15:05:43 +01:00
Christian Grothoff
96b4c139ee
add auditor-enable /-disable commands to taler-exchange-offline tool 2020-12-16 12:56:35 +01:00
Christian Grothoff
04f2e9a4d5
(start to) remove logic no longer needed with new key management 2020-12-14 17:12:48 +01:00
Christian Grothoff
b5d88fc2d1
activating implementation of #6175 2020-12-14 15:42:32 +01:00
Christian Grothoff
468fc9d1a1
add missing signkey_legal_duration option to test configs 2020-12-12 23:55:20 +01:00
Christian Grothoff
2a3de6555a
add setup steps to tests 2020-12-11 23:44:01 +01:00
Christian Grothoff
c7b5def707
-remove sleep 2020-12-11 23:11:03 +01:00
Christian Grothoff
3743d200ad
misc clean ups 2020-12-11 23:10:32 +01:00
Christian Grothoff
781542d3e0
force use of Taler PD when getting libexec dir 2020-12-11 12:51:00 +01:00
Christian Grothoff
50671ad727
fix early base URL free 2020-12-10 16:15:59 +01:00
Christian Grothoff
9911b327ac
fix #6665 2020-12-09 07:25:26 +01:00
Christian Grothoff
70b0839644
implement new taler-auditor-offline tool 2020-12-06 00:05:45 +01:00
Christian Grothoff
6cceb617af
centralize (most) offline signing/verifying operations into offline_signatures.c 2020-12-04 20:29:18 +01:00
Christian Grothoff
9572337aed
more management API tests and bugfixes 2020-12-01 21:07:56 +01:00
Christian Grothoff
d3184e04e2
add logic to launch crypto helpers as part of tests 2020-12-01 19:47:01 +01:00
Christian Grothoff
06b8ed9ba8
start with exchange management test 2020-12-01 09:19:58 +01:00
Christian Grothoff
9ee7d665bd
add cmd to set wire fees / provide master_sig 2020-11-30 14:24:58 +01:00
Christian Grothoff
a3548f0efb
add command to add auditor's denomination signature 2020-11-30 11:51:42 +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
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
45d621f5ff
add -lgcov flag for coverage analysis 2020-11-12 22:25:59 +01:00
Christian Grothoff
8d312562bf
adjust ECs 2020-11-07 18:51:54 +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
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
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
0846ab93bc
doxygen fixes 2020-08-29 00:37:37 +02:00
Christian Grothoff
d8256207a1
fix #6480 2020-08-14 14:42:58 +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
26f72f8572
fix refund handling: allow refund increases for the same coin 2020-08-12 13:02:59 +02:00
Christian Grothoff
a97983ddb1
indentation and logging fixes 2020-08-10 08:10:44 +02:00
Christian Grothoff
4fc5990320
bugfix 2020-08-02 19:14:33 +02:00
Jonathan Buchanan
efa567fbb4
trait for claim token 2020-07-29 01:26:36 -04: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
6d52922c22
mmap() ToS/PP and pre-compute compressed replies (fixes #6199) 2020-07-21 21:27:08 +02: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
b9f1384b52
avoid boolean flags, see #6188 2020-07-16 20:27:52 +02:00
Jonathan Buchanan
5658c4c52b
test retry transfer with same request_id 2020-07-15 20:41:45 -04:00
Christian Grothoff
90e756ddea
rename TALER_JSON_hash to TALER_JSON_contract_hash 2020-07-16 00:42:42 +02:00
Jonathan Buchanan
8147661f94
test for use-after-free crash when getting keys 2020-07-13 17:31:46 -04: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
Christian Grothoff
ddf95c491a
remove unused/unusable coin_sig, return correct coin_pub in recoup-reveal failure context 2020-07-10 22:33:04 +02:00
Christian Grothoff
7cf67b3094
this invariant does not actually hold, i.e. if there is a /recoup request for a coin we never saw 2020-07-10 21:27:06 +02:00
Christian Grothoff
af0a2c32a3
work on more testing for recoup-refresh 2020-07-09 23:27:16 +02:00
Jonathan Buchanan
f708e4d64c
made a uuid trait 2020-07-09 01:39:42 -04:00
Christian Grothoff
92ac6dd11a
implement new behavior in exchange httpd and libtalerexchange (for #6416) 2020-07-08 21:24:10 +02:00
Christian Grothoff
97dfbec081
add h_denom_pub to deposit signatures 2020-07-08 15:46:51 +02:00
Christian Grothoff
54e63f01df
fix #6408: make sure all timestamps are always rounded when they arrive over JSON, or 400 the requester; similarly don't tolerate anything else as client 2020-07-05 21:54:11 +02:00
Christian Grothoff
ed5b98a2c2
GNUNET_free_non_null is gone, use GNUNET_free 2020-07-05 16:58:43 +02:00
Christian Grothoff
49f466df40
move rewind command to exchange, add proper support for rewinding in batches, modify API to rewind to label 2020-07-05 16:50:16 +02:00
Christian Grothoff
b0311807ff
fix FIXME by exposing deposit permission signing in API instead of doing it inside of the testing logic 2020-07-05 16:50:15 +02:00
Christian Grothoff
c88af6df72
fix #6236 2020-07-05 16:50:15 +02:00
Jonathan Buchanan
e01bcbb2d4
traits for int64_t and json_t 2020-07-05 16:50:14 +02:00
Jonathan Buchanan
f2ec9c08b0
testing traits for uint32_t and GNUNET_TIME_Relative 2020-07-05 16:50:14 +02:00
Jonathan Buchanan
33e7b1f662
TALER_TESTING_cmd_admin_add_incoming_with_ref finds reserve_pub if reserve_priv doesn't exist 2020-07-05 16:50:14 +02:00
Christian Grothoff
532440acf8
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-07-05 16:50:12 +02:00
Christian Grothoff
d63cf1e40e
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-07-05 16:50:12 +02:00
Christian Grothoff
099102dc57
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-07-05 16:49:23 +02:00
Christian Grothoff
cdbf3a05ae
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-07-05 16:48:26 +02:00
Christian Grothoff
91e0debfbe
implement #6181 2020-07-05 16:45:22 +02:00
Christian Grothoff
78b13737bb
fix status code 2020-07-05 16:45:22 +02:00
Christian Grothoff
556085ac80
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-07-05 16:43:23 +02:00
Christian Grothoff
035c505c71
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-07-05 16:42:37 +02:00
Christian Grothoff
70a8aca668
implement #6181 2020-07-05 16:37:42 +02:00
Christian Grothoff
0985dfd18f
fix status code 2020-07-05 16:37:41 +02:00
Christian Grothoff
5b01ccbfc6
sleep to ensure aggregator has work 2020-07-05 16:35:00 +02:00
Christian Grothoff
4f82885560
towards changing timestamp in deposit confirmation (tests failing) 2020-07-05 16:35:00 +02:00
Christian Grothoff
727b7b04f3
return fee as well 2020-07-05 16:35:00 +02:00