Christian Grothoff
bdaaa0f6cb
-fix misc. compiler warnings
2021-11-19 10:57:27 +01:00
Christian Grothoff
b61f601028
-use different hash for RSA vs. Denomination hashing
2021-11-17 23:02:05 +01:00
591cefd315
[age restriction] progress 3/n
...
- remove redundant struct members for age commitment hash
- undo pre-mature implementation in taler-exchange-secmod-rsa.c
- carry through age restriction parameter for TALER_denom_blind
2021-11-16 14:43:54 +01:00
c97979d00a
age restriction (load per denomination). 3/n
2021-11-14 16:39:42 +01:00
7c510388b9
age restriction progress 2/n
...
Signed-off-by: Özgür Kesim <oec-taler@kesim.org>
2021-11-10 17:27:49 +01:00
Christian Grothoff
77bab62560
-fixes for test
2021-11-09 22:52:01 +01:00
Christian Grothoff
016551dbb4
misc TODOs for KYC left
2021-11-09 20:36:30 +01:00
Christian Grothoff
a9b2140b1e
get first KYC test to pass
2021-11-09 15:39:31 +01:00
Christian Grothoff
121bfe3659
implement /kyc-proof client API
2021-11-07 13:05:33 +01:00
Christian Grothoff
81f9b2c93e
-misc fixes
2021-11-06 19:57:34 +01:00
Christian Grothoff
9d6e104066
include h_extensions in deposit confirmation
2021-11-06 19:43:47 +01:00
Christian Grothoff
8175fdfa0f
introduce TALER_wallet_deposit_verify
2021-11-06 16:52:14 +01:00
Christian Grothoff
eaf9d728f5
more crypto refactoring
2021-11-05 22:48:11 +01:00
Christian Grothoff
ba627bf84c
-fixes
2021-11-05 22:22:47 +01:00
Christian Grothoff
c231e9925c
fix bug
2021-11-01 13:20:03 +01:00
Christian Grothoff
b3606d006d
-fix
2021-10-31 18:18:11 +01:00
Christian Grothoff
3eae999efc
distinguish between blind and non-blind denomination signatures
2021-10-31 17:56:56 +01:00
Christian Grothoff
2faf102a05
-more dB work
2021-10-30 21:26:40 +02:00
Christian Grothoff
963a06c0aa
fix more FTBFS issues
2021-10-30 19:28:11 +02:00
Christian Grothoff
77142acbe8
fix lib/ FTBFS
2021-10-27 13:42:54 +02:00
Christian Grothoff
b148a5a81a
rename fest
2021-10-27 13:23:14 +02:00
Christian Grothoff
f1237f1923
-work on fTBFS
2021-10-27 09:23:14 +02:00
Christian Grothoff
f0951d34dd
-fix more FTBFS
2021-10-27 09:23:13 +02:00
Christian Grothoff
f7d08e8c2b
-work on FTBFS;
2021-10-27 09:23:13 +02:00
Christian Grothoff
58ea04167c
-fix misc FTBFS
2021-10-27 09:23:13 +02:00
Christian Grothoff
464c1f806c
-more changes towards fixing FTBFS
2021-10-27 09:23:12 +02:00
Christian Grothoff
9adb9cfe61
simplify deposit, do not return kyc status, not needed
2021-10-20 18:56:59 +02:00
Christian Grothoff
c75a3a1921
-fix copy and paste issue
2021-10-19 21:09:06 +02:00
Christian Grothoff
7ed66e1e2c
-fix null deref
2021-10-19 21:06:36 +02:00
Christian Grothoff
778a402d07
-implement more of the KYC handlers
2021-10-19 21:02:10 +02:00
Christian Grothoff
bde1394ee4
implement /kyc-wallet in libtalerexchange
2021-10-17 20:30:06 +02:00
Christian Grothoff
932d2aaf88
implement returning KYC status from GET /deposits/ endpoint
2021-10-17 13:22:15 +02:00
Christian Grothoff
d1992e5983
new configuration option: wallet balance threshold
2021-10-16 19:24:08 +02:00
Christian Grothoff
95c71daf5e
handle new 202 accepted status code on withdraw in client logic
2021-10-16 18:42:39 +02:00
Christian Grothoff
681449a6e0
-return new data from /deposit client API
2021-10-16 18:36:34 +02:00
Christian Grothoff
acbadd5c6e
-modify C API to future-proof it for returning more details as required for KYC implementation
2021-10-13 18:52:59 +02:00
Christian Grothoff
8951abfc50
-finish implemnetation of /kyc-check client library
2021-10-10 17:18:24 +02:00
Christian Grothoff
df681b0d95
-draft API for new /kyc-check endpoint
2021-10-10 15:37:05 +02:00
Christian Grothoff
c559b1c935
complete implementation of long-polling for reserve status; remove support for multi-threaded exchange httpd
2021-08-23 00:00:32 +02:00
Christian Grothoff
7d809d1f4c
-even better
2021-08-07 16:33:33 +02:00
Christian Grothoff
3cdf7dfaaa
-use new GNUNET_TIME_relative_is_zero API
2021-08-07 16:31:33 +02:00
Christian Grothoff
18541a284b
-allow 0 for refund deadline
2021-08-01 19:18:35 +02:00
Christian Grothoff
1d54400a02
-more eliminations of json_pack
2021-07-31 20:27:16 +02:00
Christian Grothoff
c0d4a35a51
fix #6967
2021-07-30 14:20:39 +02:00
Christian Grothoff
42decef957
fix #6939 in exchange
2021-07-24 09:00:35 +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
5d6ec4c744
improve logging
2021-06-24 13:17:28 +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
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
453d122c30
do not repeatedly append the same auditor signature
2021-04-14 17:39:13 +02:00
Christian Grothoff
7c485a2153
fix overflow
2021-04-01 10:57:04 +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
Christian Grothoff
ca5f0c4d6f
fix #6786 : do not die on bogus URL
2021-03-05 21:41:55 +01:00
Sebastian
2ed7eb7a8b
free currency memory on free_key_data(), ref #6744
2021-02-16 11:20:42 -03: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
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
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
8f887a215e
dynamic curl timeouts for /keys and /wire requests
2021-01-12 15:12:26 +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
260e287685
change wire_reference to be uint64_t always; more work on lrbt_callbacks
2021-01-08 23:36:09 +01:00
Christian Grothoff
ad3d0a8997
improve logging
2021-01-05 21:30:28 +01:00
Christian Grothoff
e50f85e6c3
bump protocol version
2021-01-01 15:50:58 +01:00
Christian Grothoff
ad12b72a80
handle GONE, specified legal value now
2020-12-26 16:40:43 +01:00
Christian Grothoff
32da815427
clarify why FIXME does not need fix
2020-12-25 09:06:37 +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
699916056b
misc doxygen fixes
2020-12-20 17:10:09 +01:00
Christian Grothoff
18c12f6234
misc new /keys management related bugfixes
2020-12-15 21:09:36 +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
05f539c127
initialize master_pub field
2020-12-08 19:13:39 +01:00
Christian Grothoff
70b0839644
implement new taler-auditor-offline tool
2020-12-06 00:05:45 +01:00
Christian Grothoff
e0b62b0a49
towards offline tool uploading /management/keys
2020-12-05 21:33:30 +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
8338d4574f
improve/test taler-exchange-offline
2020-12-04 21:34:53 +01:00
Christian Grothoff
6cceb617af
centralize (most) offline signing/verifying operations into offline_signatures.c
2020-12-04 20:29:18 +01:00
d3b714922f
conditionally use (un)blinding implementation from libgnunetutil
2020-12-04 12:10:09 +01:00
Christian Grothoff
9572337aed
more management API tests and bugfixes
2020-12-01 21:07:56 +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
6b434c626f
work on DB logic, add auditor_name to /management/auditors API
2020-11-29 16:21:10 +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
98f5960411
cmd to del auditor
2020-11-26 22:54:33 +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
8d312562bf
adjust ECs
2020-11-07 18:51:54 +01:00
Christian Grothoff
4129b724a0
doxygen fixes, update ChangeLog, bump version
2020-10-03 16:08:01 +02:00
Christian Grothoff
d326c05e32
fix checks
2020-08-29 01:25:59 +02:00
Christian Grothoff
0846ab93bc
doxygen fixes
2020-08-29 00:37:37 +02:00
Christian Grothoff
e8ea6bf1e7
fix bug: case where this is the first refund
2020-08-14 13:07:53 +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
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
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
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
92ac6dd11a
implement new behavior in exchange httpd and libtalerexchange (for #6416 )
2020-07-08 21:24:10 +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
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
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
dc9f41a794
clarify with/without wire fee issue, sanity checks on currencies
2020-07-05 16:50:15 +02:00
Christian Grothoff
44c70269e2
update ECs
2020-07-05 16:50:13 +02:00
Christian Grothoff
15daa78127
return fee as well
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
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
5ac448738d
fix status code
2020-07-05 16:34:59 +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
48d4690fbd
clarify with/without wire fee issue, sanity checks on currencies
2020-06-23 10:30:31 +02:00
Christian Grothoff
6801e8e560
update ECs
2020-05-31 17:39:26 +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
1d7a2a33c5
fix status code
2020-05-11 10:01:39 +02:00
Christian Grothoff
78031b2711
more error codes
2020-05-01 18:38:21 +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
a5460cc84d
fix #6190
2020-04-21 13:48:49 +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