Commit Graph

4033 Commits

Author SHA1 Message Date
Christian Grothoff
a644355c44
address FIXME: pass session when iterating over denominations 2020-12-22 18:13:46 +01:00
Christian Grothoff
f17d886753
remove fixme, function remains in use" 2020-12-20 20:22:52 +01:00
Christian Grothoff
5b2adfc3cb
update .gitignore 2020-12-20 20:15:33 +01:00
Christian Grothoff
a5cf0a53dd
fix NPE checking sig when there is none 2020-12-20 20:10:46 +01:00
Christian Grothoff
95333b4223
only log with json_dumpf() if explicitly compiled via DEBUG #define 2020-12-20 20:05:48 +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
1fcfdf4c9e
add missing return 2020-12-20 17:15:55 +01:00
Christian Grothoff
c57d2f0468
spell checking issues 2020-12-20 17:11:52 +01:00
Christian Grothoff
699916056b
misc doxygen fixes 2020-12-20 17:10:09 +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
8e7b0f5f27
rename wire2.c to wire.c 2020-12-20 16:49:03 +01:00
Christian Grothoff
a11f6aa8f2
do not generate invalid /wire replies 2020-12-20 16:48:34 +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
7877c24ef2
adapt to GNUENT_DISK_fn_write API change 2020-12-19 18:44:23 +01:00
Christian Grothoff
0ad6cb0a86
fix #6662: add versioning information to JSON exchanged between taler-exchange-offline invocations 2020-12-19 17:36:10 +01:00
Christian Grothoff
b1e305fb05
remove obsolete configuration options 2020-12-17 16:19:28 +01:00
Christian Grothoff
f930a8c9d0
simplify further 2020-12-17 15:46:52 +01:00
Christian Grothoff
b74612fc33
update auditordb and test logic to work with new key separation logic (#6175) 2020-12-17 13:04:37 +01:00
Christian Grothoff
ff27037d42
regenerate DBs 2020-12-16 20:01:00 +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
0336e62cca
finish revocation DB generation fixes: add timetravel for helpers 2020-12-16 14:39:56 +01:00
Christian Grothoff
70ca77c7b2
setup auditor-pub 2020-12-16 14:16:02 +01:00
Christian Grothoff
3afe09ba96
fix exchange account 2020-12-16 14:15:06 +01:00
Christian Grothoff
6d820228b6
enable auditor in generate-XXX-basedb scripts 2020-12-16 13:23:41 +01:00
Christian Grothoff
cffefb0b63
remove duplicated comments 2020-12-16 12:57:27 +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
18c12f6234
misc new /keys management related bugfixes 2020-12-15 21:09:36 +01:00
Christian Grothoff
97cbf8bd53
log 2020-12-15 19:36:05 +01:00
Christian Grothoff
20c0c01d02
fix new /keys shutdown sequence 2020-12-15 14:40:08 +01:00
Christian Grothoff
4a519078e8
update generator scripts to use new -offline tools (WiP) 2020-12-14 18:27:16 +01:00
Christian Grothoff
45926ec067
remove very obsolete tool and test 2020-12-14 17:17:14 +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
8bed4152fe
allow empty signkeys array 2020-12-12 22:43:04 +01:00
Christian Grothoff
0847e16ea5
fix misc bugs 2020-12-12 22:42:33 +01:00
Christian Grothoff
7442744809
fix misc bugs 2020-12-12 22:42:04 +01:00
Christian Grothoff
b81a5fb3aa
add sync and timeout functionality to helpers 2020-12-12 22:40:40 +01:00
Christian Grothoff
09abf5e7e0
integrate new REST calls, add timeout to helper invocations 2020-12-12 11:34:57 +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
4587a79071
fix bank invocation 2020-12-11 13:13:47 +01:00
Christian Grothoff
781542d3e0
force use of Taler PD when getting libexec dir 2020-12-11 12:51:00 +01:00
Christian Grothoff
7274162458
supply more defaults 2020-12-11 00:05:30 +01:00
Christian Grothoff
f587df78f3
supply more defaults 2020-12-11 00:04:30 +01:00
Christian Grothoff
2bcf6646e4
supply more defaults 2020-12-11 00:03:58 +01:00
Christian Grothoff
437f1b8658
cascade 2020-12-10 23:59:33 +01:00
Christian Grothoff
eaa58a17e0
add missing drops 2020-12-10 23:54:47 +01:00
Christian Grothoff
50671ad727
fix early base URL free 2020-12-10 16:15:59 +01:00
Christian Grothoff
35bec60894
implement POST /managment/keys 2020-12-10 11:49:20 +01:00
Christian Grothoff
5a24334e83
complete new implementation of GET /keys 2020-12-09 23:39:11 +01:00
Christian Grothoff
788f84f695
fix ftbfs issues in wire2 2020-12-09 13:06:31 +01:00
Christian Grothoff
fa1914b267
work on new logic to generate /wire response 2020-12-09 12:31:10 +01:00
Christian Grothoff
9911b327ac
fix #6665 2020-12-09 07:25:26 +01:00
Christian Grothoff
ccafd0245e
missing file 2020-12-08 19:55:19 +01:00
Christian Grothoff
05f539c127
initialize master_pub field 2020-12-08 19:13:39 +01:00
Christian Grothoff
75b510f92f
fix secmod rsa signature 2020-12-08 19:01:27 +01:00
Christian Grothoff
3ffd605041
fix FTBFS issues in new /keys logic 2020-12-07 21:39:45 +01:00
Christian Grothoff
f256dab738
more work on new /keys logic 2020-12-07 00:05:07 +01:00
Christian Grothoff
7db909dd12
record DB replies for /keys in memory 2020-12-06 22:36:29 +01:00
Christian Grothoff
22c9321e67
expand exchangedb plugin for new /keys logic 2020-12-06 21:54:32 +01:00
Christian Grothoff
fd96e34c78
more work on future /keys 2020-12-06 17:51:44 +01:00
Christian Grothoff
d9ac8e7975
incomplete work on forthcoming /keys implementation 2020-12-06 16:53:29 +01:00
Christian Grothoff
b90293a92f
need TOFU file option 2020-12-06 00:08:04 +01:00
Christian Grothoff
70b0839644
implement new taler-auditor-offline tool 2020-12-06 00:05:45 +01:00
Christian Grothoff
9aff197bb3
completed offline tool uploading /management/keys 2020-12-05 21:56:12 +01:00
Christian Grothoff
e0b62b0a49
towards offline tool uploading /management/keys 2020-12-05 21:33:30 +01:00
Christian Grothoff
719779577a
work on 'show' command for taler-exchange-offline 2020-12-05 20:06:03 +01:00
Christian Grothoff
8170e1e9ab
move all TALER_SIGNATURE_SM_-operations to secmod_signatures.c 2020-12-05 19:47:54 +01:00
Christian Grothoff
c898ff53a2
add tofu logic 2020-12-05 13:09:49 +01:00
Christian Grothoff
ba4f585d69
add logic for wire fee signing with new offline tool 2020-12-05 10:48:59 +01:00
Christian Grothoff
8338d4574f
improve/test taler-exchange-offline 2020-12-04 21:34:53 +01:00
Christian Grothoff
efc07a5591
add commands to change wire accounts 2020-12-04 21:16:32 +01:00
Christian Grothoff
93537ce8d3
more offline commands support 2020-12-04 20:38:00 +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
9b290fb26b
more funky boilerplate for taler-exchange-offline tool 2020-12-04 18:07:29 +01:00
Christian Grothoff
2dd11d7e9c
fix build order 2020-12-04 16:55:38 +01:00
Christian Grothoff
6f0c639478
start skeleton for taler-exchange-offline tool 2020-12-04 16:43:23 +01:00
82813b337c
copy (un)blinding logic from GNUnet 2020-12-04 12:25:58 +01:00
d3b714922f
conditionally use (un)blinding implementation from libgnunetutil 2020-12-04 12:10:09 +01:00
Christian Grothoff
86dd5d46dd
set correct options for fakebank, we have been lucky that this didn't show up badly in tests 2020-12-02 20:27:42 +01:00
Christian Grothoff
9a3377766d
remove bogus check 2020-12-02 16:02:56 +01:00
Christian Grothoff
b92e85f9cc
fix SQL error 2020-12-02 15:58:13 +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
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