Commit Graph

5932 Commits

Author SHA1 Message Date
Christian Grothoff
5a18e955eb
-fix AML decision update logic and history fetch logic 2023-02-04 21:54:47 +01:00
Christian Grothoff
47b9ef598d
-deduplicate configs 2023-02-04 18:05:36 +01:00
Christian Grothoff
4c5394fd4d
-doxygen typos 2023-02-04 16:09:31 +01:00
Christian Grothoff
19da4bd638
add tests for new AML logic, plus related bugfixes 2023-02-04 16:01:46 +01:00
Christian Grothoff
c3243aa39f
implement testing_api_cmd_check_aml_decision 2023-02-03 14:06:17 +01:00
Christian Grothoff
f6877449eb
implement testing_api_cmd_take_aml_decision.c 2023-02-03 12:57:04 +01:00
Christian Grothoff
e0687b90f1
implement testing_api_cmd_set_officer 2023-02-03 11:29:05 +01:00
Christian Grothoff
ba3b53cd27
-refund deadline should be optional/can be 0 2023-02-02 22:21:44 +01:00
Christian Grothoff
a703171f08
add logic to parse AML decisions response 2023-02-02 17:16:13 +01:00
Christian Grothoff
f60b09f8ef
add logic to parse AML decision response 2023-02-02 17:06:47 +01:00
Christian Grothoff
3898054b10
more work on KYC/AML decision inspection 2023-02-02 14:55:56 +01:00
Christian Grothoff
eab95d0154
draft for the AML GET decision endpoint 2023-02-02 12:03:55 +01:00
Christian Grothoff
915542e69c
first draft of implementation of GET AML decisions endpoint 2023-02-02 11:40:44 +01:00
Christian Grothoff
f8ff9c996f
add 2nd AML decision lookup API (skeleton only) 2023-02-01 17:05:11 +01:00
Christian Grothoff
e469e6698e
start work on AML decision query API 2023-02-01 17:00:51 +01:00
Christian Grothoff
f0567567fe
draft new AML API 2023-02-01 16:43:02 +01:00
Joseph
d93006c354
update link data test 2023-01-30 09:38:16 -05:00
Joseph
09c043c177
update test link data 2023-01-30 09:12:36 -05:00
Joseph
4bb96abc97
test for link data 2023-01-30 08:45:51 -05:00
Christian Grothoff
a1c0c2fafd
add test for KYC required on reserve close 2023-01-29 21:52:07 +01:00
Christian Grothoff
e8c8aa9efe
use correct attribute name in test 2023-01-29 14:12:19 +01:00
Christian Grothoff
ff202ef296
KYC: misc. fixes to attribute attestation logic 2023-01-29 13:58:56 +01:00
Christian Grothoff
99753a5d31
KYC: fix API call and memory leak 2023-01-28 17:45:56 +01:00
Christian Grothoff
92f16aad51
-misc fixes 2023-01-28 17:08:51 +01:00
Christian Grothoff
2aff69e7ec
fix Persona attribute extraction from webhooks 2023-01-28 14:06:19 +01:00
Christian Grothoff
8c5a12302e
-debug KYC webhook logic 2023-01-28 12:20:18 +01:00
Christian Grothoff
35d50ba36a
add persona attribute conversion logic 2023-01-27 22:47:42 +01:00
Christian Grothoff
0eb6f73176
add persona attribute conversion logic 2023-01-27 22:39:16 +01:00
Christian Grothoff
85e44ceea6
work on kycaid attribute extraction 2023-01-27 17:42:56 +01:00
Christian Grothoff
59716ffdc4
add logic to store attributes 2023-01-27 16:09:25 +01:00
Christian Grothoff
d79c23aaab
add logic to store attributes 2023-01-27 15:10:25 +01:00
Christian Grothoff
6da3cbedd4
-ignore new tests 2023-01-27 14:44:32 +01:00
Christian Grothoff
32fac55f7e
update GET attest logic now that it is clear that we must store KYC attributes locally: 2023-01-27 14:43:25 +01:00
Christian Grothoff
42bd2dadcf
address DB failure error handling in KYC check 2023-01-27 14:19:14 +01:00
Christian Grothoff
c239ba6f18
address DB failure error handling in KYC check 2023-01-27 14:10:40 +01:00
Christian Grothoff
7e8e2f4317
Merge branch 'master' of git+ssh://git.taler.net/exchange 2023-01-27 10:12:08 +01:00
Christian Grothoff
f199b45e52
-fix path 2023-01-27 10:11:59 +01:00
Joseph
10cf3b3b65
fix SQL syntax 2023-01-23 09:14:25 -05:00
Joseph
54fa07f5c7
tests for refunds_by_coin and ready_deposit 2023-01-23 07:57:54 -05:00
Christian Grothoff
a273b176da
-towards storing KYC attribute data 2023-01-22 21:51:46 +01:00
Christian Grothoff
c2eee251c2
add new subcommands for AML staff management and partner exchanges 2023-01-22 19:40:47 +01:00
Christian Grothoff
d53dd753e1
-typos 2023-01-22 15:41:08 +01:00
Christian Grothoff
f221db1c03
-address FIXMEs 2023-01-22 15:24:45 +01:00
Christian Grothoff
f8bfc4dc9d
address DB FIXMEs for AML 2023-01-22 15:13:34 +01:00
Christian Grothoff
d131951fbe
add new endpoints to main dispatcher 2023-01-21 23:08:29 +01:00
Christian Grothoff
31286b66f2
-integrate new AML APIs into build 2023-01-21 21:38:50 +01:00
Christian Grothoff
5b26bd3b83
-new testing APIs 2023-01-20 19:11:36 +01:00
Christian Grothoff
c782615262
-indent 2023-01-20 15:20:51 +01:00
Christian Grothoff
56cdb7e9e6
skeleton for adding partners 2023-01-20 15:20:19 +01:00
Christian Grothoff
ebb2601278
skeleton for AML officer update 2023-01-20 15:13:22 +01:00
Christian Grothoff
c30ee88336
skeleton for AML decision server handler 2023-01-20 14:47:02 +01:00
Christian Grothoff
3a7045bfca
-fix warning 2023-01-18 14:26:25 +01:00
Christian Grothoff
999209518d
new AML APIs (libtalerexchange) 2023-01-18 14:26:15 +01:00
Christian Grothoff
cda751eaa5
eventually kick out /keys clients also if ksh exists but krd array is empty 2023-01-17 17:53:16 +01:00
Christian Grothoff
c60e6184fd
terminate taler-exchange-offline on invalid inputs 2023-01-17 17:52:39 +01:00
Christian Grothoff
abb692f02d
-run fetch-transactions in auditor test to avoid non-deterministic failure 2023-01-17 15:33:36 +01:00
Christian Grothoff
9091c32c0f
move state to inner URL 2023-01-16 18:59:28 +01:00
Christian Grothoff
190a1b68b0
fix #7594: skip test if DB not setup 2023-01-16 18:17:15 +01:00
Christian Grothoff
ab7c676f49
-typos 2023-01-16 17:47:16 +01:00
Christian Grothoff
faf3f57ce3
do not 500 on empty reserve history by not ignoring undecided purses that may have caused reserve to be created in the first place 2023-01-16 17:45:05 +01:00
Christian Grothoff
8563dcc845
log which subquery failed 2023-01-16 16:47:15 +01:00
Christian Grothoff
ce50b33fba
-fix args 2023-01-16 16:08:23 +01:00
Christian Grothoff
6596e6c723
fix for foreign key constraint problem for free purses on purse creation from reserve 2023-01-16 15:45:35 +01:00
Christian Grothoff
402ca17600
-fix warning 2023-01-16 11:28:13 +01:00
Christian Grothoff
d5619de525
fix test_kyc_api: adapt test logic to improved OAuth2.0 kyc API: 2023-01-16 11:25:18 +01:00
Christian Grothoff
6231c365fd
-fix KYC logic change to work for all plugins and not just OAuth2.0 2023-01-16 11:14:59 +01:00
Christian Grothoff
cbb021b6bf
-fix compiler warning: add missing prototype 2023-01-15 22:58:07 +01:00
MS
50a33389da
libeufin-based bank API test
Give Nexus and Sandbox one database each,
in order to reduce concurrent accesses to
the sqlite3 file.
2023-01-13 22:59:22 +01:00
Sebastian
f8ddd0b685
fix kyc-proof handle
1.- redirect_uri has an extra slash
2.- response_type=code is required https://www.rfc-editor.org/rfc/rfc6749#section-3.1.1
3.- add more info to "Unexpected response from KYC gateway"
4.- relax the requirements on the login response, marked as optional
5.- redirect_uri should be the same when exchanging the code for the access_token,
6.- remove legi and payto from kyc-proof path
7.- use state to transport h_payto https://www.rfc-editor.org/rfc/rfc6749#section-4.1.1
2023-01-13 12:16:44 -03:00
Christian Grothoff
f487cf43b3
-make LP delay configurable 2023-01-13 10:52:32 +01:00
Christian Grothoff
caaa90d3d8
-make LP delay configurable 2023-01-13 10:51:45 +01:00
Christian Grothoff
0ac0344d84
exchangedb: remove bogus foreign key constraint 2023-01-13 10:42:34 +01:00
Christian Grothoff
168fd80fbf
-do not include long delays in test mode, ever 2023-01-12 17:46:42 +01:00
Christian Grothoff
832097c144
-add missing library dependencies for clean build 2023-01-12 14:14:32 +01:00
Christian Grothoff
07289fd919
-remove duplicate definitions 2023-01-12 13:46:15 +01:00
MS
c6876bfb4f
tests: adjusting the bank URL for the wallet CLI.
The wallet CLI needs the bank URL to still end with
"/demobanks/default" to find the Access API endpoints,
as opposed to the latest libeufin-cli that builds those
from the "/"-only base URL.
2023-01-11 18:40:52 +01:00
Christian Grothoff
f2e444a6bb
Merge branch 'master' of git+ssh://git.taler.net/exchange 2023-01-11 17:33:01 +01:00
Christian Grothoff
30c6580c4e
-return EC as part of 451 KYC required replies 2023-01-11 17:32:56 +01:00
eafe3435e9
adjust partition and primary keys commitments and reveals in withdraw-age 2023-01-11 17:21:22 +01:00
Christian Grothoff
8992c30631
-typo 2023-01-11 17:06:59 +01:00
Christian Grothoff
af06ddc8e8
-add a few missing indices/foreign key constraints 2023-01-11 16:43:22 +01:00
Christian Grothoff
ce43a23ddd
-fix linker issue 2023-01-11 16:32:02 +01:00
Christian Grothoff
e2e04d8c8e
-purge libeufin DB before launch 2023-01-11 16:20:02 +01:00
Christian Grothoff
5a5e0c3723
remove demobanks/default everywhere in URLs, no longer needed 2023-01-11 16:04:04 +01:00
Christian Grothoff
cf7e0ccce6
-DCE 2023-01-11 15:54:12 +01:00
Christian Grothoff
b6f9f0040b
Merge branch 'master' of git+ssh://git.taler.net/exchange 2023-01-11 15:48:02 +01:00
Christian Grothoff
4dc7775ec4
-remove pybank remenants 2023-01-11 15:47:58 +01:00
e6929fd3ee
choose correct partition pivot and denormalization for withdraw-age related tables 2023-01-11 15:23:57 +01:00
Christian Grothoff
5ea311f9f6
-fix example KYC config options 2023-01-11 13:03:40 +01:00
Christian Grothoff
18515a2374
Merge branch 'master' of git+ssh://git.taler.net/exchange 2023-01-11 12:05:29 +01:00
Christian Grothoff
f85fe853ce
-no drop 2023-01-11 12:05:19 +01:00
Joseph
5de648b0f6
new functions for inserting into link_data ready_deposit refunds 2023-01-11 05:55:14 -05:00
23626c02c7
added schema for withdraw with age restriction 2023-01-10 21:56:56 +01:00
63e222d049
-fix multiple definitions of same variable in Makefile.am 2023-01-10 15:24:01 +01:00
Christian Grothoff
1df72de087
Merge branch 'master' of git+ssh://git.taler.net/exchange 2023-01-10 13:36:02 +01:00
Christian Grothoff
b41ffd1a1a
-more consistent naming of KYC_PERSONA options 2023-01-10 13:35:57 +01:00
Christian Grothoff
0cf46d8e59
-add index on shard 2023-01-09 19:35:16 +01:00
Christian Grothoff
d782dd7f54
wirewatch: ensure wirewatch doesn't busy-loop even if the server errors or ignores long-polling 2023-01-07 13:53:59 +01:00
Christian Grothoff
6cb8b68bd0
support md in TOS 2023-01-06 22:22:21 +01:00
Joseph
28c3ae47de
try batch1 with cursor 2023-01-06 11:15:32 -05:00
Joseph
1a94db3d49
some changes to batchtest 2023-01-06 11:06:02 -05:00
Joseph
37f294b6ad
modifications to batch1 2023-01-06 11:06:02 -05:00
Christian Grothoff
ade221f974
-fix crash in wirewatch if badly configured 2023-01-06 15:26:10 +01:00
Christian Grothoff
62a6142a8d
-remove warning 2023-01-06 13:35:03 +01:00
Christian Grothoff
7ee7790ac4
use different sleep when idle vs. when conflicting in wirewatch 2023-01-06 13:34:01 +01:00
Christian Grothoff
463b3af4ea
-saner logging 2023-01-06 13:30:48 +01:00
Christian Grothoff
cea4e6ba61
add index on end row 2023-01-06 13:21:18 +01:00
Christian Grothoff
63db50b2b1
-log origin of serialization errors 2023-01-06 13:14:31 +01:00
Christian Grothoff
e58b96e203
Merge branch 'master' of git+ssh://git.taler.net/exchange 2023-01-06 13:12:25 +01:00
Christian Grothoff
4d00c34829
-log origin of serialization errors 2023-01-06 13:12:18 +01:00
Joseph
cc07a75424
some corrections applied to batch1 2023-01-06 07:07:14 -05:00
Joseph
865f3aca19
corrections applied to batch 1 2023-01-06 06:16:52 -05:00
Joseph
043c46c59d
modifications applied to batch test... 2023-01-05 09:22:16 -05:00
Joseph
d805c54052
modifications on batch test again 2023-01-05 07:55:07 -05:00
Joseph
7933815ce6
corrections applied to batch test 2023-01-05 06:07:20 -05:00
Joseph
d1491fb421
some modif 2023-01-04 10:14:12 -05:00
Joseph
069708205c
some modifications for batch_test 2023-01-04 09:43:47 -05:00
Joseph
2eb59d9135
some corrections to batch2 2023-01-04 07:44:34 -05:00
Joseph
6457ee56df
corrections applied to batch_test 2023-01-04 07:31:08 -05:00
Joseph
31fefec5dd
import correct header for batch test 2023-01-03 07:16:52 -05:00
Joseph
3ea5b7c52f
remove populate from Makefile 2023-01-03 05:46:36 -05:00
Joseph
b001046a1e
some modifications for batch update 2023-01-03 05:28:54 -05:00
Joseph
1c104ddf28
insert 2023-01-03 05:28:47 -05:00
2a4aa9ebae
-missed a file during last commit 2023-01-02 20:41:55 +01:00
8e6b086753
mark parameter as const; free correct object 2023-01-02 17:47:06 +01:00
Christian Grothoff
4f0d85935f
-crypto for AML decision signatures 2023-01-01 18:36:54 +01:00
Christian Grothoff
c5ad98da98
write KYC attribute encryption logic 2022-12-31 15:10:35 +01:00
Christian Grothoff
509141b600
-finish implementation of new DB functions 2022-12-31 01:15:40 +01:00
Christian Grothoff
b1d9745545
-work on new DB queries 2022-12-30 21:28:19 +01:00
Christian Grothoff
5754adc414
-implement lookup aml staff 2022-12-30 20:34:57 +01:00
Christian Grothoff
c5773ce206
-doxygen fixes 2022-12-30 14:44:24 +01:00
Christian Grothoff
94fbb1c211
-basic insert logic of new DB API 2022-12-30 14:41:16 +01:00
Christian Grothoff
c002f458ce
-C skeletions 2022-12-30 14:24:48 +01:00
Christian Grothoff
b7000379ed
-add prototypes 2022-12-30 13:45:36 +01:00
Christian Grothoff
5169abcdcd
-skeleton for new DB API functions 2022-12-30 13:40:07 +01:00
Christian Grothoff
26aa9d985e
expand DB API with AML functions, fix purse refund calculations in libtalerexchange 2022-12-29 11:48:57 +01:00
Christian Grothoff
fa840f7071
Merge branch 'master' of git+ssh://git.taler.net/exchange 2022-12-29 10:10:25 +01:00
Christian Grothoff
5828eead70
-fix SQL 2022-12-29 10:10:11 +01:00
Christian Grothoff
915d6ddfaa
-debug 2022-12-29 00:35:06 +01:00
Christian Grothoff
5df74558de
misc purse deletion fixes 2022-12-29 00:34:36 +01:00
Christian Grothoff
880c14909b
add notification logic on purse deletion 2022-12-28 23:44:17 +01:00
Christian Grothoff
5533bcbf65
add purse delete testing CMD 2022-12-28 22:55:48 +01:00
Christian Grothoff
f662313f79
add purse delete functions to libtalerexchange 2022-12-28 22:42:09 +01:00
Christian Grothoff
b554501621
integrate DELETE into dispatcher, remove legacy KYC code 2022-12-28 22:16:03 +01:00
Joseph
2f993d3ee3
populate denom-coin-dep 2022-12-28 09:37:47 -05:00
Christian Grothoff
f864d66d93
handle case where purse was already deleted on merge 2022-12-28 12:58:30 +01:00
Christian Grothoff
1e7e0058e8
handle idempotency on purse deletion 2022-12-28 12:41:49 +01:00
Christian Grothoff
7212cd12bc
add missing stored procedure 2022-12-28 12:37:48 +01:00
Joseph
b2fea7a559
Remove pop_table from Makefile 2022-12-28 05:48:37 -05:00
Joseph
a4886dc22d
Update batch insert 1 2022-12-28 05:40:31 -05:00