Commit Graph

4192 Commits

Author SHA1 Message Date
Christian Grothoff
5106a09c9f
fix more typos 2021-04-23 23:53:52 +02:00
Christian Grothoff
a140c114d3
more doxygen fixes 2021-04-23 23:39:07 +02:00
Christian Grothoff
4384c6ec85
fix misc doxygen issues 2021-04-21 20:28:30 +02:00
Christian Grothoff
0470ba3692
-inject fault for buildbot test 2021-04-20 21:02:31 +02:00
Christian Grothoff
7562f0e592
-fix ftbfs on first make 2021-04-18 15:38:53 +02:00
Christian Grothoff
294730cf01
fix #6769, plus some related configuration issues and better documentation 2021-04-18 02:21:03 +02:00
Christian Grothoff
a98e131226
-fix year 2021-04-17 20:07:24 +02:00
Christian Grothoff
0453ef45df
add ability to change Authorization header in via interpreter command (#6778) 2021-04-17 20:06:34 +02:00
Christian Grothoff
da25913e61
skip keys in future keys if they already expired (remove logging) 2021-04-16 14:17:55 +02:00
Christian Grothoff
74ea2da2b0
skip keys in future keys if they already expired 2021-04-16 14:17:33 +02:00
Christian Grothoff
453d122c30
do not repeatedly append the same auditor signature 2021-04-14 17:39:13 +02:00
Christian Grothoff
084a5f6685
fix rare NPE 2021-04-14 15:24:15 +02:00
Christian Grothoff
b7ef3cfd36
fix #6845 2021-04-14 14:48:28 +02:00
Christian Grothoff
57cb2d1ca6
tolerate extreme case where all denominations expired 2021-04-12 21:48:43 +02:00
Christian Grothoff
176b0edaeb
fix bogus check 2021-04-12 20:55:55 +02:00
Christian Grothoff
245e757438
do not hang in taler-auditor-offline if sign output is empty 2021-04-12 20:31:02 +02:00
Christian Grothoff
5fc1764db3
do not upgrade gana to master on bootstrap 2021-04-09 16:33:35 +02:00
Christian Grothoff
a1705fe421
add gettext support 2021-04-05 20:11:45 +02:00
Christian Grothoff
da15a59717
omit charset from en_US.UTF-8 env variable when picking i18n strings, handle no preference case 2021-04-05 19:29:00 +02:00
Christian Grothoff
f36fe8c22c
omit charset from en_US.UTF-8 env variable when picking i18n strings 2021-04-05 19:27:53 +02:00
Christian Grothoff
63c6654c0f
omit charset from en_US.UTF-8 env variable when picking i18n strings 2021-04-05 19:27:19 +02:00
Christian Grothoff
004a7c9d54
implement convenience function to extract i18n values from JSON (for #6749) 2021-04-05 18:40:23 +02:00
Christian Grothoff
99fff4f98f
implement convenience function to extract i18n values from JSON (for #6749) 2021-04-05 18:33:01 +02:00
Christian Grothoff
b299ae6e69
expose xmime_matches 2021-04-04 19:04:55 +02:00
Christian Grothoff
cb686975ed
fix leak 2021-04-02 14:55:15 +02:00
Christian Grothoff
25fd6dc25a
fix misc leaks 2021-04-02 13:27:22 +02:00
Christian Grothoff
4345e6b434
fix spec compliance for 405 reply, handle OPTIONS request with asterisk-form (RFC 7230, section 5.3.4) 2021-04-01 12:10:01 +02:00
Christian Grothoff
7c485a2153
fix overflow 2021-04-01 10:57:04 +02:00
Christian Grothoff
ec0b1b512c
fix json parsing invocation 2021-03-28 21:52:02 +02:00
Christian Grothoff
71f00b3764
improve version number format check 2021-03-13 23:03:06 +01:00
Christian Grothoff
d1c5337a88
improve version number format check 2021-03-13 23:02:46 +01:00
Thien-Thi Nguyen
20bce1bc8e
fix typo: use var names ‘taler_auditor_sync_LDFLAGS’, ‘taler_auditor_sync_CPPFLAGS’ 2021-03-08 02:23:26 -05:00
Christian Grothoff
ca5f0c4d6f
fix #6786: do not die on bogus URL 2021-03-05 21:41:55 +01:00
Christian Grothoff
2c8afda8b3
remove deadlocking log statements 2021-03-01 14:08:15 +01:00
Christian Grothoff
15ed6ffb07
fix minor leak 2021-02-26 12:18:58 +01:00
Christian Grothoff
4e1770898a
fix statement order 2021-02-24 16:29:31 +01:00
Christian Grothoff
cf67e60134
use PUBLIC_KEY from configuration in upload step 2021-02-24 16:13:01 +01:00
Christian Grothoff
70d4b0054b
use PUBLIC_KEY from configuration in upload step 2021-02-24 16:12:08 +01:00
Sebastian
2ed7eb7a8b
free currency memory on free_key_data(), ref #6744 2021-02-16 11:20:42 -03:00
Christian Grothoff
97e404e81a
fix revocation of unknown key 2021-02-16 00:44:03 +01:00
Christian Grothoff
e6c5262c9e
fix currency parsing in deserialization logic (resolves #6744) 2021-02-15 22:05:37 +01:00
Sebastian
c1a58ef343
added missing currency in ser/deser, see #6744 2021-02-15 17:03:44 -03:00
Christian Grothoff
7c588d0bc7
fix leak 2021-02-13 19:27:50 +01:00
Christian Grothoff
66aeb72ca9
fix memory leaks 2021-02-13 19:21:04 +01:00
Christian Grothoff
5e15bc6f28
simplify logic 2021-02-13 19:04:08 +01:00
Christian Grothoff
246f3a7f94
simplify logic, fix leak 2021-02-13 18:22:07 +01:00
Christian Grothoff
12deb6c267
fix memory leaks 2021-02-13 16:24:38 +01:00
Christian Grothoff
cd17d095e8
permit NULL trait 2021-02-13 15:52:18 +01:00
Sebastian
7adf9f170f
add allow-methods * for cors preflight 2021-02-10 16:32:49 -03:00
Christian Grothoff
9eaa2a24e6
need enum value for taler://-URLs 2021-02-09 19:34:10 +01:00
Sebastian
93347b3904
fix #6745 2021-02-07 20:11:24 -03:00
Sebastian
07a5f6fb82
fix #6744 2021-02-07 19:33:15 -03:00
9bf54f4bab
auditor test: don't pass any merchant auth token 2021-02-04 18:27:05 +01:00
bfd67a22fd
fix merchant auth token in auditor test 2021-02-04 18:02:46 +01:00
Thien-Thi Nguyen
0db1fa0067
fix typo: s/actually/actual/ 2021-02-03 12:02:57 -05:00
Christian Grothoff
fee5d3b716
not not break 2021-01-29 10:00:23 +01:00
Christian Grothoff
7d0d8d9f1c
try another tac 2021-01-28 22:36:02 +01:00
Christian Grothoff
0e10a48a17
swap signal and unlock logic to hopefully nail #6726 2021-01-28 22:01:03 +01:00
Christian Grothoff
4dd87e1118
more logging 2021-01-28 21:46:21 +01:00
Christian Grothoff
bfd0a96254
improve test logging 2021-01-28 21:23:16 +01:00
Christian Grothoff
88627af6a3
fix #6726 2021-01-27 18:57:39 +01:00
Christian Grothoff
66c950c020
clean up code 2021-01-27 10:02:00 +01:00
Christian Grothoff
1d996f65fd
use version 2021-01-26 21:49:58 +01:00
Christian Grothoff
9e910cb1b9
implement #6724 2021-01-26 21:45:37 +01:00
Christian Grothoff
556a7f36b8
fix #6725: use modern name 2021-01-26 19:24:40 +01:00
Christian Grothoff
2b35e3796f
strptime is locale-dependent, re-implement for C locale-only 2021-01-26 14:10:06 +01:00
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