Commit Graph

4076 Commits

Author SHA1 Message Date
Christian Grothoff
6cd6582a4f
improve logging 2021-01-26 12:38:54 +01:00
Thien-Thi Nguyen
2bba834643
make "make check" in src/util respect env var ‘TMPDIR’
https://bugs.gnunet.org/view.php?id=6714
2021-01-21 19:56:53 -05:00
Christian Grothoff
2aa77fdd1c
work around compiler warning, ensure we leave 0-terminator, even though it is not required by the kernel 2021-01-21 13:20:25 +01:00
Christian Grothoff
99b3ed45fa
update log level 2021-01-21 13:07:19 +01:00
Christian Grothoff
7bbb44ec04
improve logging and comments in json.c 2021-01-18 11:22:52 +01:00
b23f9b78a4
rename taler-helper-crypto-* to taler-exchange-secmod-* 2021-01-17 20:07:55 +01:00
ed9c37ef4f
remove unused struct member 2021-01-16 23:57:34 +01:00
Christian Grothoff
94c5ee9376
reduce lookahead_sign in tests to improve test performance a bit 2021-01-16 23:55:11 +01:00
Christian Grothoff
c630487dfc
nah, also on internal server errors and anything I can imagine we should backoff, not just on timeout 2021-01-16 22:36:30 +01:00
Christian Grothoff
8c4bc1121a
remove dead field 2021-01-16 22:33:25 +01:00
Christian Grothoff
148f81331a
ensure /management/keys cache is flushed when keys change 2021-01-15 18:17:04 +01:00
Christian Grothoff
928d6626b5
newline 2021-01-15 18:01:34 +01:00
Christian Grothoff
59ddec5173
fix use after free issue 2021-01-15 16:18:25 +01:00
Christian Grothoff
33835b124b
fix DH revocation logic 2021-01-15 15:38:47 +01:00
Christian Grothoff
8c113d2459
avoid warning if file does not exist 2021-01-15 15:32:10 +01:00
Christian Grothoff
aab39b3dc9
mkdir on tofu file 2021-01-15 15:28:23 +01:00
Christian Grothoff
7c8d8b7917
improve logging 2021-01-15 12:18:27 +01:00
Christian Grothoff
3b9c381112
remove master_pub from DB 2021-01-15 11:53:54 +01:00
57a0fc8d1f
purge old LOOKAHEAD_PROVIDE option 2021-01-15 11:36:45 +01:00
f45e72ae5d
remove legacy config option 2021-01-14 16:34:48 +01:00
Christian Grothoff
e3a0bc0d1f
fix sync issues, add rudimentary test 2021-01-13 19:47:45 +01:00
Christian Grothoff
52513dcc26
bugfixes in auditor-sync logic 2021-01-12 23:00:57 +01:00
8f887a215e
dynamic curl timeouts for /keys and /wire requests 2021-01-12 15:12:26 +01:00
Christian Grothoff
2518da8f45
taler-auditor-sync WiP 2021-01-11 23:02:22 +01:00
Christian Grothoff
e3156e88a7
sync skeleton 2021-01-11 19:04:49 +01:00
Christian Grothoff
5eed611594
fix #6685 2021-01-11 10:52:33 +01:00
Christian Grothoff
3a264434d7
DB schema update 2021-01-11 10:01:59 +01:00
Christian Grothoff
543cd6d342
finish irbt_callbacks 2021-01-10 21:42:25 +01:00
Christian Grothoff
278b35a0fb
more work on INSERT statements 2021-01-10 18:40:39 +01:00
Christian Grothoff
af97a44ae6
complete select_serial_by_* SELECT statements 2021-01-10 18:06:18 +01:00
Christian Grothoff
f70c53d2d6
expand irbt templates 2021-01-10 17:27:46 +01:00
Christian Grothoff
bee612e2ef
expand irbt templates 2021-01-10 17:07:09 +01:00
Christian Grothoff
59cde016a6
preparing statements for auditor replication logic 2021-01-10 17:04:52 +01:00
Christian Grothoff
80b4fc0869
skeleton for postgres_insert_records_by_table 2021-01-10 13:27:33 +01:00
Christian Grothoff
0e16fb816c
fix #6683 2021-01-10 13:15:23 +01:00
Christian Grothoff
5e80154f43
complete (untested) implementation of lrbt_callbacks 2021-01-10 12:56:13 +01:00
Christian Grothoff
b40afe196c
remove redundant old_coin_pub from link data 2021-01-10 12:15:47 +01:00
Christian Grothoff
ca66a1d1af
fix major bug with SQL statement missing ORDER BY freshcoin_index resulting in possible link failures (but usually lucky with old DB schema) 2021-01-10 00:54:12 +01:00
Christian Grothoff
02ecf68a3d
more optimizations of tables with foreign keys 2021-01-09 13:18:01 +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
db61628a9c
use known_coin_id instead of coin_pub, use reserve_out_serial_id/rrc_serial instead of h_blind_ev/h_coin_ev 2021-01-08 21:07:42 +01:00
Christian Grothoff
7ef7d793de
use auditor_uuid instead of auditor_pub as foreign key 2021-01-08 19:11:36 +01:00
Christian Grothoff
13555448b6
change exchange database to use denominations_serial instead of denom_pub_hash as foreign key 2021-01-08 18:14:46 +01:00
Christian Grothoff
3999999988
fixes for earlier fix 2021-01-07 22:48:50 +01:00
Christian Grothoff
421e802fd3
fix test issues with new DB schema 2021-01-07 22:24:19 +01:00
Christian Grothoff
6ccda0b02e
make reserve balance check used in internal_auditor mode only 2021-01-07 21:25:52 +01:00
Christian Grothoff
9d5a3ef659
only check tiny/done in internal mode 2021-01-07 21:14:26 +01:00
Christian Grothoff
9473ef4d86
fix remaining #6679 issues in exchange 2021-01-07 20:52:11 +01:00
Christian Grothoff
b2d8799af1
work on #6679" 2021-01-07 10:40:01 +01:00
Christian Grothoff
40551fa08e
add -i option to taler-auditor 2021-01-06 22:51:55 +01:00
Christian Grothoff
73a9fe56eb
add checks to ensure payto:// URI is well-formed to taler-exchange-offline, and taler-exchange-httpd where applicable (fixes #6675) 2021-01-06 15:52:12 +01:00
Christian Grothoff
1f91211263
Merge branch 'master' of git+ssh://git.taler.net/exchange 2021-01-06 15:43:22 +01:00
Christian Grothoff
a7d43dd6c2
fix #6676 2021-01-06 15:43:16 +01:00
5d238a6e76
also load keys in show subcommand 2021-01-06 12:50:27 +01:00
Christian Grothoff
e8df4ac339
update .gitignore files 2021-01-06 11:38:13 +01:00
Christian Grothoff
c90902ef50
generate DBs with current schema 2021-01-06 11:36:52 +01:00
Christian Grothoff
b05610a992
latest merchant needs dbinit 2021-01-06 11:34:50 +01:00
Christian Grothoff
09d6ee75fe
add chmod() to set client unix domain socket to group writable regardless of umask 2021-01-06 10:22:49 +01:00
Christian Grothoff
dc570d0c06
better error handling on configuration failures 2021-01-06 10:16:58 +01:00
Christian Grothoff
adb48b6163
use shorter PATHs, /home/grothoff/research/taler/exchange/src/util may be too much for UNIXPATH 2021-01-06 10:11:53 +01:00
Christian Grothoff
e6f44e22ac
use blocking sendto() call to possibly eliminate need for nanosleep() 2021-01-06 10:07:12 +01:00
Christian Grothoff
ad3d0a8997
improve logging 2021-01-05 21:30:28 +01:00
Christian Grothoff
4c8aef9841
schema update in preparation of exchange-auditor database replication logic 2021-01-05 21:21:38 +01:00
Christian Grothoff
16c79df86d
fix path for tests 2021-01-05 18:12:48 +01:00
Christian Grothoff
8764047368
fix path for tests 2021-01-05 18:10:40 +01:00
Christian Grothoff
148287954d
clean taler-config, needed to build proper dpkg 2021-01-02 12:00:00 +01:00
Christian Grothoff
e50f85e6c3
bump protocol version 2021-01-01 15:50:58 +01:00
Christian Grothoff
26410a72c2
fix #6666, bump protocol version to 9 2021-01-01 15:48:43 +01:00
Christian Grothoff
6b70f2e454
keep helpers in normal bin/ dir 2020-12-31 22:31:32 +01:00
Christian Grothoff
b5534977a3
add missing linker options, bonus fun 2020-12-31 22:23:54 +01:00
Christian Grothoff
f82488c060
add missing linker options, bonus fun 2020-12-31 22:22:19 +01:00
Christian Grothoff
0bffea1f67
add missing linker options 2020-12-31 22:13:12 +01:00
Christian Grothoff
0d21b947f8
fix bogus assertion 2020-12-31 21:59:28 +01:00
Christian Grothoff
3399ece8c3
proposed fix for #6667 2020-12-31 21:23:33 +01:00
Christian Grothoff
54b4951b89
more logging for #6667 2020-12-31 20:41:33 +01:00
Christian Grothoff
65ee08a553
more logging for #6667 2020-12-31 19:18:31 +01:00
Thien-Thi Nguyen
b7af94231b
fix typo in last commit: s/dh/esh/ (three instances)
* src/util/crypto_helper_esign.c (TALER_CRYPTO_helper_esign_poll): ...here.
2020-12-31 12:00:49 -05:00
Christian Grothoff
7514407487
use same restart logic for EdDSA and RSA 2020-12-31 17:38:41 +01:00
Christian Grothoff
ad62f0fb7e
set timeout to 5s 2020-12-31 17:35:21 +01:00
Christian Grothoff
b72bf98432
fix bad call 2020-12-26 16:50:41 +01:00
Christian Grothoff
ad12b72a80
handle GONE, specified legal value now 2020-12-26 16:40:43 +01:00
Christian Grothoff
77d49bf4a7
init member 2020-12-26 16:29:20 +01:00
Christian Grothoff
efbc411dea
new GANA code for revoked esign key 2020-12-26 16:23:22 +01:00
Christian Grothoff
57c9054784
implement #6161 2020-12-26 15:55:34 +01:00
Christian Grothoff
32da815427
clarify why FIXME does not need fix 2020-12-25 09:06:37 +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
6243afe0ef
address FIXMEs 2020-12-25 08:51:56 +01:00
Christian Grothoff
e1e9250ff7
add check for sufficiently recent version of libgnunetutil, remove now unnecessary crypto blinding logic 2020-12-25 08:44:57 +01:00
Christian Grothoff
247d1ca3e5
implement #6661: secm key pinning via configuration 2020-12-24 14:48:50 +01:00
Christian Grothoff
deed88fe33
complete config 2020-12-22 18:41:40 +01:00
Christian Grothoff
0e74fbef8d
add logic to report generation for missing auditor signatures 2020-12-22 18:38:14 +01:00
Christian Grothoff
fe232f1fed
integrate auditor signature check logic with taler-helper-auditor-coins 2020-12-22 18:27:34 +01:00
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