Christian Grothoff
de6c30b0e0
-rename for clarity
2021-08-06 09:19:36 +02:00
Christian Grothoff
40b828ba23
-strncasecmp for the win
2021-08-05 21:23:29 +02:00
Christian Grothoff
bd7e44720b
-proper fix for endless loop on IPC permission trouble
2021-08-05 20:48:34 +02:00
Christian Grothoff
453d984569
-try to fix Florian's FIXME/endless loop, alas without test as Florian did not provide enough details for that
2021-08-05 11:07:20 +02:00
adf854cd4a
load config file from correct location
2021-08-04 21:49:21 +02:00
b83ec3a794
fixme
2021-08-04 21:00:27 +02:00
4baecd4856
call chmod on path, not on whole sock addr
2021-08-04 20:54:45 +02:00
07bcff123f
call chmod on client socket path, not client socket directory
2021-08-04 20:01:28 +02:00
Christian Grothoff
99cbc5fbe2
-improve logging
2021-08-04 19:23:49 +02:00
Christian Grothoff
8a8cb1d2f9
-make gettext compatible
2021-08-04 18:34:25 +02:00
Christian Grothoff
6d099b44fb
fix #6976
2021-08-04 17:13:53 +02:00
Christian Grothoff
ab5f4e7e1d
-,
2021-08-04 14:06:49 +02:00
Christian Grothoff
15f07a3e06
-document section name
2021-08-04 14:05:13 +02:00
Christian Grothoff
383fd75230
-migrate benchmarks to new configuration structure
2021-08-04 13:46:19 +02:00
Christian Grothoff
36164914e6
-fix doxygen
2021-08-04 08:39:19 +02:00
Christian Grothoff
ba3f70390a
restructure configuration, move bank account credentials from exchange-account-XXX to exchange-accountcredentials-XXX
2021-08-03 21:58:36 +02:00
Christian Grothoff
06676e72cb
allow ';' in URLs, needed for data URLs
2021-08-03 21:50:54 +02:00
Christian Grothoff
5fc2e72a2a
fix #6969
2021-08-03 14:41:42 +02:00
Christian Grothoff
705afeb9cc
-even nicer outputs
2021-08-03 14:36:14 +02:00
Christian Grothoff
65b113e06b
-fix shutdown
2021-08-03 14:31:31 +02:00
Christian Grothoff
700562560e
-remove confusing logs
2021-08-03 14:28:18 +02:00
Christian Grothoff
9da05a1901
improve error reporting ( #6969 )
2021-08-03 14:08:45 +02:00
Christian Grothoff
0ce92c8402
-rename
2021-08-03 12:08:28 +02:00
Christian Grothoff
a26a29065c
rename: taler-wire-gateway-client to taler-exchange-wire-gateway-client
2021-08-03 12:03:48 +02:00
Christian Grothoff
61450fad8d
-add i18n object syntax check
2021-08-02 22:16:01 +02:00
Christian Grothoff
3a6ae694ec
-work on #6948
2021-08-02 19:48:37 +02:00
Christian Grothoff
c4ae15c1db
-strengthen payto validation logic
2021-08-02 19:38:23 +02:00
Christian Grothoff
2e6b8e10de
-doxygen fix
2021-08-02 16:04:11 +02:00
Christian Grothoff
d8d1453789
-misc doxygen fixes
2021-08-01 23:06:16 +02:00
Christian Grothoff
18541a284b
-allow 0 for refund deadline
2021-08-01 19:18:35 +02:00
Christian Grothoff
85735a5e6b
-have fakebank return correct time
2021-08-01 16:52:10 +02:00
Christian Grothoff
d45774ccec
introduce TALER_JSON_pack_ec
2021-08-01 15:36:38 +02:00
Christian Grothoff
f1f0bf637b
build system: also obtain event type registry from GANA
2021-08-01 13:56:48 +02:00
Christian Grothoff
243d39920c
-allow NULL in amounts
2021-07-31 23:07:03 +02:00
Christian Grothoff
33a28efef7
-more json_pack fixes
2021-07-31 21:48:36 +02:00
Christian Grothoff
fde9dc80f6
-more json_pack cleaning
2021-07-31 21:40:48 +02:00
Christian Grothoff
1d54400a02
-more eliminations of json_pack
2021-07-31 20:27:16 +02:00
Christian Grothoff
723a3b742e
-remove more json_pack calls
2021-07-31 19:53:50 +02:00
Christian Grothoff
7a09886737
-eliminate more format-string packs
2021-07-31 08:26:32 +02:00
Christian Grothoff
85a3a24ca7
-eliminate more format-string packs
2021-07-31 08:18:38 +02:00
Christian Grothoff
7d323303b6
-eliminate more format-string packs
2021-07-31 08:16:59 +02:00
Christian Grothoff
e92588a0ef
-update .gitignore
2021-07-30 20:53:58 +02:00
Christian Grothoff
db54ed215d
-fix another master private key
2021-07-30 20:50:38 +02:00
Christian Grothoff
e36d3badd1
-add correct master priv in new location
2021-07-30 20:41:03 +02:00
5bc3217b78
gitignore
2021-07-30 18:38:48 +02:00
bfebdae838
fix secmod helper config, wait for client directory
2021-07-30 18:37:54 +02:00
2bdc2f61c5
put generated secmod keys in separate dir
2021-07-30 18:12:36 +02:00
Christian Grothoff
e7a9a2911c
-add logic to purge SECM_TOFU_FILE when purging secmod KEY_DIRS
2021-07-30 18:02:29 +02:00
Christian Grothoff
12e7f40564
persist master.priv in git
2021-07-30 17:54:55 +02:00
Christian Grothoff
af9830453e
REVOCATION_DIR is long obsolete, KEYDIR was renamed to KEY_DIR and is in another section
2021-07-30 17:31:18 +02:00
Christian Grothoff
cbb905a9aa
-eliminate more json_pack format strings
2021-07-30 17:24:18 +02:00
6113307366
debian: socket location
2021-07-30 15:54:43 +02:00
Christian Grothoff
c0d4a35a51
fix #6967
2021-07-30 14:20:39 +02:00
Christian Grothoff
d821db366a
-fix misc enum confusions and other compiler warnings
2021-07-30 13:32:03 +02:00
Christian Grothoff
0ef7c0a0b7
fix #6960
2021-07-29 23:56:46 +02:00
Christian Grothoff
1b419adab4
-use named constants
2021-07-29 23:05:29 +02:00
ce4daddca0
secmod client dir needs group write permissions
2021-07-29 20:34:56 +02:00
6f6702f6db
socket
2021-07-29 19:33:01 +02:00
62ea8c5046
config
2021-07-29 18:33:23 +02:00
a3520d9c11
config
2021-07-29 18:31:48 +02:00
eb3c3c3557
remove more dead config
2021-07-29 18:25:49 +02:00
2432c59385
keydir doesn't exist anymore
2021-07-29 18:21:56 +02:00
036d4cb71a
secmod: services create their own client dirs with correct permissions
2021-07-29 13:04:55 +02:00
Christian Grothoff
f2b3c4ee72
-fix amount packer
2021-07-28 09:46:40 +02:00
Christian Grothoff
b9e4431ae6
-fix amount packer
2021-07-28 09:45:33 +02:00
Christian Grothoff
6516f1899f
start to use new GNUNET_JSON_PACK functionality
2021-07-28 09:13:21 +02:00
9624d92a65
secmod: use umask, as fchmod is undefined on sockets
2021-07-27 12:04:52 +02:00
32f3391be1
secmod: fchmod socket to ug+rw
2021-07-27 11:26:48 +02:00
Christian Grothoff
91bb5623de
JSON: implement taler-specific json pack functions
2021-07-26 17:26:09 +02:00
02aa49cc36
install into usr/share/taler/exchange
2021-07-26 16:16:52 +02:00
Christian Grothoff
42decef957
fix #6939 in exchange
2021-07-24 09:00:35 +02:00
Christian Grothoff
325b60989f
-use new GNUNET_TIME functions
2021-07-23 20:40:13 +02:00
Christian Grothoff
098bd64f39
-fix struct name
2021-07-23 18:43:03 +02:00
Christian Grothoff
306a08a71c
-rename TALER_amount_get_zero to TALER_amount_set_zero
2021-07-23 13:02:04 +02:00
Christian Grothoff
23e0847188
-fix #6933
2021-07-22 15:47:24 +02:00
Christian Grothoff
95f0fdf369
distinguish between input failure and internal failures when hashing contracts
2021-07-21 20:21:08 +02:00
Christian Grothoff
5828dfad1d
fix NPE on key not found
2021-07-21 18:51:05 +02:00
Christian Grothoff
3721780f16
fix bug where suspended /keys requests eat up all sockets
2021-07-21 16:08:50 +02:00
Christian Grothoff
d37e4eabc4
-use nicer enum
2021-07-20 15:38:56 +02:00
Christian Grothoff
5c569d3df7
expose TALER_JSON_validate_payto
2021-07-20 15:36:08 +02:00
Christian Grothoff
195a6b6b3d
-doxygen, again
2021-07-18 21:30:19 +02:00
Christian Grothoff
7cec9705ea
-doxygen fix
2021-07-18 21:27:36 +02:00
Christian Grothoff
29b4e71bf5
-fix misc interesting wirewatch in test mode with sharding issues
2021-07-18 21:16:21 +02:00
Christian Grothoff
6d7eb372b2
-fix bad negation
2021-07-18 20:12:13 +02:00
Christian Grothoff
000f99e50f
-fix segv
2021-07-18 19:05:24 +02:00
Christian Grothoff
5cec88e87e
-fix segv
2021-07-18 18:59:11 +02:00
Christian Grothoff
67559ad626
fix #6919 : add new tables to basedbs
2021-07-18 13:31:17 +02:00
Christian Grothoff
d1e5fd8f0e
pass config to dbinit in test
2021-07-18 12:48:56 +02:00
Christian Grothoff
970c9eab86
-fix doxygen
2021-07-15 20:04:15 +02:00
Christian Grothoff
d942f2ea6c
-fix comment
2021-07-14 14:49:07 +02:00
Christian Grothoff
7670039773
-fix comment
2021-07-14 14:47:32 +02:00
Christian Grothoff
5ebc3b0e5b
-fix typo
2021-07-14 14:34:31 +02:00
Christian Grothoff
bae2277d76
-update changelog, remove dead statement
2021-07-14 13:13:58 +02:00
Christian Grothoff
249ba03c36
expose 2^52 amount value limit in header, check that limit in test cases, add TALER_amount_multiply and TALER_amount_divide2 operations
2021-07-10 14:55:35 +02:00
Christian Grothoff
883b1fc70b
-clean taler-auditor shell script, too
2021-06-28 12:16:04 +02:00
Christian Grothoff
2e981c1a6e
fix serial selection in auditor-sync
2021-06-27 23:38:52 +02:00
Christian Grothoff
4ba4cf74ae
-fix typo
2021-06-27 15:36:42 +02:00
Christian Grothoff
34b0b1666d
ensure /keys is regenerated when signing keys used expire
2021-06-26 15:07:00 +02:00
Christian Grothoff
cac8d9360d
flush /keys responses if set of auditors changes
2021-06-26 14:56:25 +02:00
Christian Grothoff
959c4eca1d
work around compiler warning
2021-06-24 13:37:54 +02:00
Christian Grothoff
5d6ec4c744
improve logging
2021-06-24 13:17:28 +02:00
Christian Grothoff
9fb6ea3203
fix auditor-offline issue
2021-06-22 19:48:18 +02:00
Christian Grothoff
ba5af82db1
-bugfixes, and FTBFS
2021-06-22 14:47:54 +02:00
Christian Grothoff
0caf3ac2b7
-fix up wirewatch logic
2021-06-22 13:15:50 +02:00
Christian Grothoff
c9a928fe35
make insert transaction more optimistic, may reduce conflicts
2021-06-21 11:47:34 +02:00
Christian Grothoff
de41998d55
-useless
2021-06-21 00:18:32 +02:00
Christian Grothoff
9c51720cbf
fixing parallel fakebank to ensure transactions are ordered, fixing indices/constraint preservation after DB update to 0002
2021-06-21 00:17:16 +02:00
Christian Grothoff
108bf57d04
preparations for sharded wirewatch
2021-06-20 16:41:04 +02:00
Christian Grothoff
0271e84813
-bugfix, preparations for sharding
2021-06-19 18:20:19 +02:00
Christian Grothoff
03e2aa71bc
note on perf
2021-06-19 17:29:07 +02:00
Christian Grothoff
2a9ec82dce
fix batch size adjustment of wirewatcher
2021-06-19 17:11:11 +02:00
Christian Grothoff
bbe86aee78
fix keepalive when using thread pool
2021-06-19 16:29:30 +02:00
Christian Grothoff
ad8390432b
add config file for bank benchmarking
2021-06-19 14:58:02 +02:00
Christian Grothoff
8c0492be71
misc fakebank fixes
2021-06-19 14:52:13 +02:00
Christian Grothoff
fdf095c6ef
initial version of taler-bank-benchmark
2021-06-19 13:59:03 +02:00
Christian Grothoff
50749c462b
make libfakebank scale
2021-06-19 08:36:17 +02:00
Christian Grothoff
036e711779
extend fakebank API to have thread pool option
2021-06-19 05:00:45 +02:00
Christian Grothoff
6680f9b4ef
implement logic to replace 'true' forgettable salts with random salts, fix object deletion when forgetting
2021-06-16 23:12:21 +02:00
Christian Grothoff
bf7adbfa2e
-remove dead leaky code
2021-06-16 17:40:04 +02:00
Christian Grothoff
ae7b5951c1
update PQ implementation to allow for NULLable amounts
2021-06-16 17:08:30 +02:00
Christian Grothoff
3e3fb304f4
avoid failure mode
2021-06-16 15:39:06 +02:00
ffb24f5b59
use dollar to prefix reserved JSON names
2021-06-16 11:45:44 +02:00
Christian Grothoff
ae60be7644
-do not warn if timestamp is 0, that is valid
2021-06-16 11:12:55 +02:00
Christian Grothoff
e3089761ef
-fix (soft) assertion failure
2021-06-16 11:10:06 +02:00
Christian Grothoff
2918448338
purge fields instead of setting to NULL as suggested by Florian
2021-06-15 20:34:25 +02:00
fa330ca12a
add merchant auth in auditor test
2021-06-10 20:22:53 +02:00
Christian Grothoff
dadb96c9ba
-badness
2021-06-01 17:46:17 +02:00
Christian Grothoff
35b232642b
-fix cherry picking, need MAX heap to build correct replies for all cpds
2021-05-29 10:06:58 +02:00
Christian Grothoff
060816eafd
fix for soft fail error handling in wirewatch discovered in #6892 , bugnote 17930: bank API calls us one more time after returning SYSERR, and we must in that case not bump the progress point just because a commit succeeds after the rollback
2021-05-29 08:38:33 +02:00
Christian Grothoff
3df47fa6d7
-fix returning full response
2021-05-28 23:08:03 +02:00
Christian Grothoff
be62bc5734
-not a protocol violation, can happen if auditor signed denominations that are valid for deposit but not withdraw
2021-05-28 21:30:55 +02:00
Christian Grothoff
35ce352b16
deal more nicely with /keys failures where no JSON is returned
2021-05-27 11:19:56 +02:00
Christian Grothoff
3986c9ae2d
fix last_cpd initialization
2021-05-27 10:37:53 +02:00
Christian Grothoff
fe72adf666
-fix doxygen
2021-05-26 09:42:45 +02:00
Christian Grothoff
58939d55e9
fix doxygen
2021-05-26 09:24:44 +02:00
Christian Grothoff
8ffa114c4e
status code changed from 404 to 410, as revocation is possible in the future..."
2021-05-25 21:36:43 +02:00
Christian Grothoff
068068f40f
return signed error message with HTTP_GONE status if denomination is not currently valid for specified operation ( #6889 )
2021-05-25 21:34:18 +02:00
Christian Grothoff
0d1ab614c0
return signed 404 statements for unknown denomination key hashes ( #6889 )
2021-05-25 20:52:58 +02:00
Christian Grothoff
b2b1f88ab6
add HTTP status argument to testin gCMD admin_add_incoming_with_ref for merchant tests
2021-05-25 20:10:46 +02:00
Christian Grothoff
dd323a5d9c
-log CMD name
2021-05-25 17:46:16 +02:00
Christian Grothoff
4741f4ea02
implement duplicate reserve_pub detection in fakebank, add test (fails in pybank), for #6863
2021-05-20 12:31:27 +02:00
Christian Grothoff
3ef39e51f3
more work on hopefully fixing #6862
2021-05-14 18:08:45 +02:00
Christian Grothoff
ab96483e01
disable gettext use in secmod code ( #6862 )
2021-05-14 15:47:02 +02:00
Christian Grothoff
5f268913dd
return NO if forgetting did not work because it was already forgotten earlier
2021-05-11 19:17:09 +02:00
Christian Grothoff
684a234264
fix #6855
2021-05-09 13:41:23 +02:00
Christian Grothoff
6ee58c990c
fix #6856
2021-05-09 12:50:08 +02:00
Christian Grothoff
91e18867c3
use grothoff in runtimedir when testing
2021-04-28 15:42:36 +02:00
Christian Grothoff
23c36cb44b
remove (hopefully) obsolete option, was moved to exchange-offline
2021-04-26 17:05:19 +02:00
Christian Grothoff
20c70845c0
return more precise error codes from TALER_EXCHANGE_deposit() if failures are detected client-side ( #6817 )
2021-04-24 19:54:47 +02:00
Christian Grothoff
23f49379bb
remove fault injection
2021-04-24 19:05:55 +02:00
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
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
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
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
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
d01c6fd902
fix wrong fmt string
2020-07-10 21:47:18 +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
8a1402a5d5
complete server-side logic to generate response for conflicting denomination keys for the same coin
2020-07-08 19:37:48 +02:00
Christian Grothoff
c3cd21508b
synchronize with latest GANA
2020-07-08 19:36:08 +02:00
Christian Grothoff
c93f647106
merge known_coin transaction into main transaction (for #6416 )
2020-07-08 18:20:44 +02:00
Christian Grothoff
8e03498a48
add h_denom to melt signatures (for #6416 )
2020-07-08 17:59:05 +02:00
Christian Grothoff
97dfbec081
add h_denom_pub to deposit signatures
2020-07-08 15:46:51 +02:00
Christian Grothoff
1ca062fc7a
introduce known_coin_id, alas not yet used
2020-07-08 12:35:50 +02:00
Christian Grothoff
81fec09268
simplify DB access: do not fetch fields we do not need
2020-07-08 12:35:01 +02:00
Christian Grothoff
575c10027b
also offer API for receiving rounded relative time via JSON
2020-07-05 22:00:01 +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
042e5cafd7
merge
2020-07-05 16:51:54 +02:00
Christian Grothoff
6eb32a65bf
fix error reporting/handling
2020-07-05 16:50:51 +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
Christian Grothoff
5220e8394f
synchronize with latest GANA
2020-07-05 16:50:15 +02:00
Christian Grothoff
dc9f41a794
clarify with/without wire fee issue, sanity checks on currencies
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
Christian Grothoff
25ecc97717
add TALER_MHD_parse_internal_json_data()
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
a32a5ef25a
add TALER_yna_to_string()
2020-07-05 16:50:14 +02:00
Jonathan Buchanan
0c4eca0d48
moved yna to exchange
2020-07-05 16:50:14 +02:00
Jonathan Buchanan
acd8d318c0
taler_error_codes.h auto generated from gnunet/gana.git as a submodule
2020-07-05 16:50:13 +02:00
Jonathan Buchanan
9bbaff19c1
fixed endianness in taler_sq_lib
2020-07-05 16:50:13 +02:00
Jonathan Buchanan
83319e1782
implemented the other functions for taler_sq_lib
2020-07-05 16:50:13 +02:00
Jonathan Buchanan
ef0e79927c
created taler_sq_lib
2020-07-05 16:50:13 +02:00
Christian Grothoff
44c70269e2
update ECs
2020-07-05 16:50:13 +02:00
Christian Grothoff
6eabe1ab4f
more ECs
2020-07-05 16:50:13 +02:00
Christian Grothoff
0361508358
ecs
2020-07-05 16:50:13 +02:00
Christian Grothoff
af28c9b449
fix auditor drop
2020-07-05 16:50:12 +02:00
Christian Grothoff
9ed9c01878
fix drop call
2020-07-05 16:50:12 +02:00
Christian Grothoff
7f10627a31
update
2020-07-05 16:50:12 +02:00
Christian Grothoff
15daa78127
return fee as well
2020-07-05 16:50:12 +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
e9d80d764a
return fee as well
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
ef97d426b1
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later
2020-07-05 16:46:41 +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
baab185d87
more ecs
2020-07-05 16:44:10 +02:00
Christian Grothoff
142f6edaff
use unregister
2020-07-05 16:44:09 +02:00
Christian Grothoff
4119dbd1aa
update
2020-07-05 16:44:09 +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
Christian Grothoff
4844023f69
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-07-05 16:35:00 +02:00
Christian Grothoff
cde71b7fe7
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-07-05 16:35:00 +02:00
Christian Grothoff
77ab94eb68
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later
2020-07-05 16:35:00 +02:00
Christian Grothoff
19f51f558b
make tests skip until we have a wallet to regen the DB
2020-07-05 16:35:00 +02:00
Christian Grothoff
18aba845fa
void basedb due to signature format change
2020-07-05 16:35:00 +02:00
Christian Grothoff
c31048b050
implement #6181
2020-07-05 16:34:59 +02:00
Christian Grothoff
5ac448738d
fix status code
2020-07-05 16:34:59 +02:00
Christian Grothoff
9d3336f8f7
v8 bump
2020-07-05 16:34:59 +02:00
Christian Grothoff
b145c1728b
fix error reporting/handling
2020-07-05 16:32:15 +02:00
Christian Grothoff
025c2f5667
move rewind command to exchange, add proper support for rewinding in batches, modify API to rewind to label
2020-07-03 20:57:01 +02:00
Christian Grothoff
d5ba2437f1
fix FIXME by exposing deposit permission signing in API instead of doing it inside of the testing logic
2020-06-27 18:49:12 +02:00
Christian Grothoff
d0d71dab81
fix #6236
2020-06-27 18:30:25 +02:00
Christian Grothoff
0063680445
synchronize with latest GANA
2020-06-25 10:40:56 +02:00
Christian Grothoff
b3411dc65c
Merge branch 'protocolv8' of git+ssh://git.taler.net/exchange into protocolv8
2020-06-23 10:30:37 +02:00
Christian Grothoff
48d4690fbd
clarify with/without wire fee issue, sanity checks on currencies
2020-06-23 10:30:31 +02:00
Jonathan Buchanan
29d163d58c
traits for int64_t and json_t
2020-06-22 16:04:54 -04:00
Jonathan Buchanan
697f522c79
testing traits for uint32_t and GNUNET_TIME_Relative
2020-06-22 03:13:10 -04:00
Christian Grothoff
ffc3f20daa
Merge branch 'protocolv8' of git+ssh://git.taler.net/exchange into protocolv8
2020-06-21 23:07:09 +02:00
Christian Grothoff
7d845b0c96
add TALER_MHD_parse_internal_json_data()
2020-06-21 23:05:51 +02:00
Jonathan Buchanan
1aa16875f1
TALER_TESTING_cmd_admin_add_incoming_with_ref finds reserve_pub if reserve_priv doesn't exist
2020-06-16 21:37:17 -04:00
Florian Dold
9c752b3d03
adjust LibEuFin binary names
2020-06-14 19:10:28 +05:30
Christian Grothoff
6b6814a205
add TALER_yna_to_string()
2020-06-14 15:15:53 +02:00
Florian Dold
4f5df0c9e3
bank API test: make payto URI use receiver-name, according to standard
2020-06-13 20:50:05 +05:30
Jonathan Buchanan
0276abcd9a
moved yna to exchange
2020-06-12 15:16:40 -04:00
MS
1039a1c2f4
IBAN parser skips BIC part.
2020-06-10 17:56:58 +02:00
MS
ab1fc20a45
avoid assert() upon malformed IBANs
2020-06-10 16:15:48 +02:00
MS
3d1dc57bd8
IBAN parsing test.
2020-06-10 11:02:04 +02:00
Florian Dold
2256f31947
log full config section in error message instead of just the wire method
2020-06-10 12:45:27 +05:30
Jonathan Buchanan
111445993c
taler_error_codes.h auto generated from gnunet/gana.git as a submodule
2020-06-08 14:55:50 -04:00
MS
599cba3105
nexus-exchange test.
...
give time to payments to settle, before requesting
/history/incoming and /history/outgoing.
2020-06-08 20:29:46 +02:00
MS
14b001fea0
place nexus/sandbox sqlite3 DBs under /tmp,
...
and fix their deletion before running the test.
2020-06-06 02:02:48 +02:00
Jonathan Buchanan
979692298f
fixed endianness in taler_sq_lib
2020-06-03 12:40:15 -04:00
Jonathan Buchanan
1490cd0ec4
implemented the other functions for taler_sq_lib
2020-06-02 14:20:55 -04:00
Jonathan Buchanan
21ac29b76b
created taler_sq_lib
2020-06-02 11:57:39 -04:00
MS
71eeb72b21
nexus-based tests
...
more preparation
2020-06-02 14:58:30 +02:00
MS
f6e1583016
launching nexus AND sandbox
2020-06-02 11:36:51 +02:00
MS
320c5fd740
Nexus-based tests.
...
Prefer the 'iban' method over the 'x-taler-bank',
regarding the payto:// URIs. Tests are still using
the loopback bank connection, though.
2020-06-02 10:21:12 +02:00
MS
549f8a7c7b
nexus preparation
2020-06-01 16:03:03 +02:00
MS
7f14b23914
Nexus testing.
...
Up to the point where Nexus gets launched and
the Exchange user & bank connection get created.
The test fails because the bank connection of
type "loopback" is not implemented in the nexus
yet.
2020-06-01 14:17:05 +02:00
Christian Grothoff
6801e8e560
update ECs
2020-05-31 17:39:26 +02:00
MS
45943c22c2
GET hello endpoint from Taler Facade.
2020-05-29 18:39:33 +02:00
MS
b8226abe63
comment
2020-05-29 17:59:50 +02:00
MS
58a956d889
nexus test: create the admin user
2020-05-27 15:03:19 +02:00
MS
704bff4c53
fix nexus invocation
2020-05-27 14:52:13 +02:00
Christian Grothoff
903c421f55
more ECs
2020-05-22 13:01:19 +02:00
Christian Grothoff
879383e5ad
ecs
2020-05-22 11:19:24 +02:00
Christian Grothoff
5f993f573d
fix auditor drop
2020-05-19 02:23:57 +02:00
Christian Grothoff
cc8eecca91
fix drop call
2020-05-19 02:13:17 +02:00
Christian Grothoff
9e0cb7d91f
merge
2020-05-19 01:18:37 +02:00
Christian Grothoff
863e7b4f5d
more ecs
2020-05-19 01:16:34 +02:00
Christian Grothoff
3355509eda
use unregister
2020-05-19 01:16:34 +02:00
Christian Grothoff
9e05798330
update
2020-05-19 01:16:34 +02:00
Christian Grothoff
5a4547388b
return fee as well
2020-05-19 01:16:29 +02:00
Christian Grothoff
f88fd4640f
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-05-19 01:16:06 +02:00
Christian Grothoff
353c4e2fa0
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-05-19 01:15:30 +02:00
Christian Grothoff
65c3c71ca9
sleep to ensure aggregator has work
2020-05-19 01:05:58 +02:00
Christian Grothoff
7217b8d065
towards changing timestamp in deposit confirmation (tests failing)
2020-05-19 01:05:58 +02:00
Christian Grothoff
0dfe7c23cb
return fee as well
2020-05-19 01:05:58 +02:00
Christian Grothoff
a177098a4a
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-05-19 01:05:58 +02:00
Christian Grothoff
3910cb7415
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-05-19 01:05:58 +02:00
Christian Grothoff
bfeb9ac5d0
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later
2020-05-19 01:05:57 +02:00
Christian Grothoff
eb965ac709
make tests skip until we have a wallet to regen the DB
2020-05-19 01:05:57 +02:00
Christian Grothoff
cf596d66f5
void basedb due to signature format change
2020-05-19 01:05:57 +02:00
Christian Grothoff
c7086fccd3
implement #6181
2020-05-19 01:05:57 +02:00
Christian Grothoff
fcc5e81df0
fix status code
2020-05-19 01:05:57 +02:00
Christian Grothoff
77195fe6fa
v8 bump
2020-05-19 01:05:57 +02:00
Christian Grothoff
65a782f6b1
more ecs
2020-05-18 19:10:47 +02:00
Christian Grothoff
18e62d8513
use unregister
2020-05-16 11:14:44 +02:00
Christian Grothoff
178e549be3
merge
2020-05-11 10:03:34 +02:00
Christian Grothoff
c1108af962
update
2020-05-11 10:01:40 +02:00
Christian Grothoff
93464191f5
sleep to ensure aggregator has work
2020-05-11 10:01:40 +02:00
Christian Grothoff
141d4b154a
towards changing timestamp in deposit confirmation (tests failing)
2020-05-11 10:01:40 +02:00
Christian Grothoff
28dff45363
return fee as well
2020-05-11 10:01:40 +02:00
Christian Grothoff
275ff5e8aa
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-05-11 10:01:40 +02:00
Christian Grothoff
62e3310774
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-05-11 10:01:40 +02:00
Christian Grothoff
1038107e63
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later
2020-05-11 10:01:40 +02:00
Christian Grothoff
a368f427d1
make tests skip until we have a wallet to regen the DB
2020-05-11 10:01:40 +02:00
Christian Grothoff
f93bf0b72b
void basedb due to signature format change
2020-05-11 10:01:40 +02:00
Christian Grothoff
a8cd04da3f
implement #6181
2020-05-11 10:01:39 +02:00
Christian Grothoff
1d7a2a33c5
fix status code
2020-05-11 10:01:39 +02:00
Christian Grothoff
6725053b22
v8 bump
2020-05-11 10:01:39 +02:00
Christian Grothoff
eaa21af98e
sleep to ensure aggregator has work
2020-05-08 19:47:15 +02:00
Christian Grothoff
7ab9d526f2
towards changing timestamp in deposit confirmation (tests failing)
2020-05-07 20:22:02 +02:00
Christian Grothoff
af52541eac
return fee as well
2020-05-05 22:17:16 +02:00
Christian Grothoff
c7ae928ffc
add ec
2020-05-04 10:07:32 +02:00
Christian Grothoff
02eeee79d8
add ec
2020-05-04 10:07:02 +02:00
Christian Grothoff
e4aa60fc4e
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-05-03 20:12:18 +02:00
Christian Grothoff
1ed77a9f2e
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-05-03 20:07:49 +02:00
Christian Grothoff
35bfdbef19
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later
2020-05-03 19:54:36 +02:00
Christian Grothoff
922d3be4eb
make tests skip until we have a wallet to regen the DB
2020-05-01 19:48:11 +02:00
Christian Grothoff
b81da19a9f
void basedb due to signature format change
2020-05-01 19:44:45 +02:00
Christian Grothoff
52f370c8e4
implement #6181
2020-05-01 19:41:14 +02:00
Christian Grothoff
e9c62a69dc
fix status code
2020-05-01 19:22:32 +02:00
Christian Grothoff
e72d9f8bb9
v8 bump
2020-05-01 18:40:08 +02:00
Christian Grothoff
78031b2711
more error codes
2020-05-01 18:38:21 +02:00
Florian Dold
4583ce4ef3
/terms also must have CORS headers
2020-05-01 14:02:29 +05:30
Christian Grothoff
e2e8d62574
need array terminator
2020-04-24 20:57:04 +02:00
Christian Grothoff
6772037321
fix invariant check
2020-04-24 00:52:33 +02:00
Christian Grothoff
de61e06eb1
fix #6198
2020-04-23 16:06:21 +02:00
Christian Grothoff
8b99abbe62
CSE elimination, fix #6218
2020-04-23 15:26:17 +02:00
Christian Grothoff
7666542ab6
fix #6219
2020-04-23 15:22:41 +02:00
Christian Grothoff
051ccdf0e7
fix #6215~15757
2020-04-23 12:05:27 +02:00
Christian Grothoff
c79a95c7d2
write overflow check nicer ( #6215 )
2020-04-23 12:02:52 +02:00
Christian Grothoff
0774fd7020
fix #6213
2020-04-23 11:59:12 +02:00
Christian Grothoff
727eccbe64
add invariant checks for #6214
2020-04-23 11:55:10 +02:00
Christian Grothoff
a039bf4d81
fix #6200
2020-04-22 21:21:48 +02:00
Christian Grothoff
092944819d
fix #6195
2020-04-21 15:25:12 +02:00
Christian Grothoff
32bce6da43
clarify behavior ( #6194 )
2020-04-21 14:56:42 +02:00
Christian Grothoff
ee0d0dd33f
fix #6193
2020-04-21 14:53:05 +02:00
Christian Grothoff
c167fd8f8f
fix #6192
2020-04-21 13:53:15 +02:00
Christian Grothoff
a5460cc84d
fix #6190
2020-04-21 13:48:49 +02:00
Christian Grothoff
8148c1e8af
fix #6186
2020-04-21 00:55:38 +02:00
Christian Grothoff
638d97c348
disable script to get tests to pass
2020-04-21 00:31:11 +02:00
Christian Grothoff
ab752e9591
also validate merchant IBANs before signing
2020-04-19 22:31:00 +02:00
Christian Grothoff
7a46b3fb1a
Merge branch 'master' of git+ssh://git.taler.net/exchange
2020-04-17 18:15:08 +02:00
Christian Grothoff
1f7238fe7d
fix #6187
2020-04-17 18:14:57 +02:00
Marcello Stanisci
04d4922d71
fix nexus-test return code
...
Returning zero, so as not to block the 'make check'
experience. This is useful to check whether nexus-related
changes broke tests in a different place.
2020-04-17 15:30:24 +02:00
Marcello Stanisci
4f713b40e3
Prepare and launch Nexus for tests.
2020-04-17 15:30:24 +02:00
Christian Grothoff
f934a81d49
fix ftbfs
2020-04-17 14:19:12 +02:00
Christian Grothoff
b93fba2cc1
API updates and new error codes for merchant implementation of #6173
2020-04-12 20:46:33 +02:00
Christian Grothoff
9e3371ae9b
adapt withdraw2 API to support new tip-pickup design ( #6173 )
2020-04-12 19:22:45 +02:00
Christian Grothoff
00350bc228
remove c_hash from planchet detail where it does not logically belong
2020-04-12 16:44:28 +02:00
Christian Grothoff
d28f18f240
fix expected status code
2020-04-12 15:35:38 +02:00
Christian Grothoff
15099429c3
fix rc
2020-04-12 15:26:55 +02:00
Christian Grothoff
0bf069d6d8
key exists is fine
2020-04-12 15:18:11 +02:00
Christian Grothoff
4b60d2540f
adapations related to GNUnet fixing #6149
2020-04-11 21:42:52 +02:00
Christian Grothoff
44272bf1ce
adapations to GNUnet API change
2020-04-11 21:06:30 +02:00
Christian Grothoff
88bb7f4428
fix FTBFS
2020-04-11 21:06:04 +02:00
Christian Grothoff
2d83516871
add missing comment
2020-04-10 21:59:31 +02:00
Christian Grothoff
77e8be0047
include 0-terminator space
2020-04-10 21:30:47 +02:00
Christian Grothoff
1b89e8380d
return signature from refund API
2020-04-10 16:49:54 +02:00
Christian Grothoff
70a794b6f9
add error codes
2020-04-10 16:49:45 +02:00
Christian Grothoff
dccb300b76
enforce proper URL limit ( #6172 )
2020-04-09 15:49:38 +02:00
Christian Grothoff
2844a9a7b3
fix #6171
2020-04-09 11:34:26 +02:00
Christian Grothoff
543fe4ae36
make code compiler without warnings with latest libmicrohttpd API
2020-04-09 00:59:55 +02:00
Christian Grothoff
84a40be0bc
fix #6170 and rest of #6164
2020-04-08 23:52:01 +02:00
Christian Grothoff
1554cc310d
rename a_balance ( #6170 )
2020-04-08 18:23:21 +02:00
Christian Grothoff
50bc862a68
adapt to new GNUnet sign API ( #6164 )
2020-04-08 18:18:20 +02:00
Christian Grothoff
b22ec7570e
this signature was pretty much always obsolete
2020-04-07 18:43:36 +02:00