Commit Graph

1694 Commits

Author SHA1 Message Date
Christian Grothoff
999dae7c5d
-more exchange API atomization 2023-06-22 20:42:10 +02:00
Christian Grothoff
d4a65faad4
-more exchange API atomization 2023-06-22 20:37:15 +02:00
Christian Grothoff
7bb9547599
more API cleanup 2023-06-22 20:26:34 +02:00
Christian Grothoff
f5ce22ddf6
-more clean up of auditor api: atomization complete 2023-06-21 09:00:58 +02:00
Christian Grothoff
af77a2a178
-more auditor API atomization 2023-06-21 08:15:06 +02:00
Christian Grothoff
a37a8d34d5
-towards API atomization 2023-06-21 08:02:36 +02:00
Christian Grothoff
17789253e9
ensure forward-compatibility for auditor C API 2023-06-21 07:53:17 +02:00
Christian Grothoff
d6838ed841
-doxygen fixes 2023-06-20 21:57:13 +02:00
Christian Grothoff
a2dde02b64
major libtalertesting API refactoring, including no longer having taler-specific logic in the test engine core 2023-06-07 23:11:05 +02:00
Christian Grothoff
015b08b048
new command to use taler-benchmark-setup.sh 2023-06-05 17:01:23 +02:00
Christian Grothoff
9e7d3f9065
address FIXMEs in bank service API 2023-06-04 14:29:15 +02:00
Christian Grothoff
0ad3de938e
address API stability FIXMEs in taler_exchange_service 2023-06-04 14:10:54 +02:00
Christian Grothoff
809300158c
code cleanup, fixing misc. memory leaks in the process 2023-06-04 13:26:00 +02:00
Christian Grothoff
be40886515
fix FTBFS 2023-05-26 17:16:48 +02:00
Christian Grothoff
f7dc35e59e
implement logic to conditionally trigger AML review based on KYC attributes 2023-05-17 00:28:41 +02:00
Christian Grothoff
89e21002d6
return tipping_allowed from /keys 2023-05-13 20:31:47 +02:00
Christian Grothoff
0dd0fff17d
-typo 2023-05-10 22:13:18 +02:00
Christian Grothoff
b15713f42e
add helper logic for JSON2JSON conversion 2023-05-10 22:09:47 +02:00
Christian Grothoff
1cf58e8ff8
-fix warning 2023-05-10 00:02:52 +02:00
dc5b0fb0d3
Fix age mask parsing from config
- initialize age mask to zero
- drop default bitstring for age mask, use string instead

-remove default age mask bits, use string instead

-strdup
2023-05-09 21:45:59 +02:00
Christian Grothoff
d1379e492d
-fix include 2023-05-09 14:11:21 +02:00
Christian Grothoff
1639cefa61
-doxygen 2023-05-06 21:29:43 +02:00
Christian Grothoff
404b2b78f1
add convenience function TALER_TEMPLATING_reply_error 2023-05-06 20:55:40 +02:00
Christian Grothoff
1f9427e1d9
add convenience function for content-length limiation 2023-05-06 19:43:17 +02:00
Christian Grothoff
737b3338ed
-doxygen 2023-05-04 21:32:36 +02:00
Christian Grothoff
1e88796045
finish implementation for #7808 2023-05-04 17:36:43 +02:00
Christian Grothoff
7c0de44a2b
towards LP support for GET /deposits (#7808) 2023-05-04 17:14:54 +02:00
Christian Grothoff
4c1a2c0307
more shared logic for argument/header parsing 2023-05-04 14:42:06 +02:00
Christian Grothoff
faca037018
expose TALER_EXCHANGE_parse_accounts() in external API 2023-05-01 22:34:35 +02:00
Christian Grothoff
75f75c4a51
breaking protocol changes towards fixing #7810 (incomplete, taler-exchange-offline still unfinished) 2023-05-01 22:34:35 +02:00
84bde679a7
-typos 2023-05-01 20:19:51 +02:00
1a63275d98
WiP: age-withdraw, finished reveal-request, 10/n
- /age-withdraw/$ACH/reveal handler now fully implemented
- for consistency with api: rename of tables from withdraw_age_... to
  age_withdraw
2023-05-01 14:05:58 +02:00
Christian Grothoff
487f23502f
add nexus-fetch-transactions 2023-04-25 23:06:58 +02:00
6f492b2a97
WiP: age-withdraw, continue with finalize_age_withdraw_and_sign, 9/n
Also:

- added duplicate planchet check for age-withdraw_reveal
- added stubs for (get|insert)_age_withdraw_reveal
2023-04-22 17:18:59 +02:00
12681dfa1a
WiP: age-withdraw, adjust schema and DB-handlers, cleanup FIXME's, 8/n 2023-04-22 15:39:02 +02:00
Christian Grothoff
136d2b2e70
implement more of lookup_records_by_table 2023-04-15 23:43:20 +02:00
Christian Grothoff
376de032b5
create warnings on missing table syncs 2023-04-15 23:11:36 +02:00
Christian Grothoff
4e9c43954e
-fix SQL query 2023-04-10 23:28:40 +02:00
Christian Grothoff
090c532b3a
return AML status together with KYC status 2023-04-10 10:48:32 +02:00
Christian Grothoff
a30827fcef
-fix missing comments 2023-03-31 14:03:12 +02:00
Christian Grothoff
6eed8917c3
fix exchangedb build errors 2023-03-31 13:50:32 +02:00
Joseph
9cce35d270
New sql code for batch ensure coin known 2023-03-29 11:18:20 -04:00
Joseph
d83c2539bc
some changes for known coins 2023-03-27 09:54:59 -04:00
Joseph
fb70814d46
some changes for ensure known coin 2023-03-27 09:54:59 -04:00
838f6b7f1d
-fix comments for doxygen 2023-03-13 09:17:44 +01:00
837c53552e
-typo 2023-03-13 09:10:52 +01:00
6a3da22546
-typos 2023-03-13 09:01:29 +01:00
a2c70ff0c8
-typos 2023-03-13 08:53:16 +01:00
187ae6f8a2
WIP: age-withdraw, continue verify_commitment_and_max_age, 7/n
- coin, blinding, nonce and age restriction now derived from
  TALER_PlanchetMasterSecretP
- use max_age instead than max_age_group as argument
- Also, docs updated in other repo.
2023-03-13 00:31:49 +01:00
9c66f27034
WiP: age-withdraw, added TALER_age_restriction_commit_from_base, 6/n
Added TALER_age_restriction_commit_from_base in util/age_restriction.c,
to create a age commitment and proof from a coin's private key as
defined in
https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction
2023-03-12 17:21:33 +01:00
5608a73c00
-simplify zero-check for age-commitment hash 2023-03-07 11:15:24 +01:00
priscilla
b46c03b2c9
totp algorithm 2023-03-02 09:55:24 -05:00
b4128c2c2a
WiP: age-withdraw implementation, part 1/n
Commit phase of the age-withdraw protocol implemented, according to
https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction
2023-03-01 11:11:46 +01:00
Christian Grothoff
7f518fff1a
-typo 2023-02-21 17:18:28 +01:00
Christian Grothoff
f767a9d12c
fix dist rule 2023-02-21 16:44:36 +01:00
Christian Grothoff
95bd24916e
skeleton logic for POS confirmation 2023-02-21 12:57:33 +01:00
Christian Grothoff
95e3087984
expose now returned purse_expiration in exchange API 2023-02-19 18:32:38 +01:00
Christian Grothoff
b414183283
-doxygen fixes 2023-02-19 11:22:53 +01:00
Christian Grothoff
06e2e8022c
return KYC requirement row when AML imposed KYC requirements on withdraw; return KYC choices in new /config endpoint 2023-02-19 10:21:29 +01:00
Christian Grothoff
aa5e7d2ad5
more towards actually allowing AML decisions to trigger KYC 2023-02-17 18:24:20 +01:00
Christian Grothoff
86e0f2c70d
fix memory leak and transaction error handling related to KYC 2023-02-17 16:57:29 +01:00
Christian Grothoff
87a78c6f8c
add code to sanity-check KYC configuration and KYC decisions 2023-02-16 16:38:20 +01:00
Christian Grothoff
afe3f70d33
begin API change to allow AML officers to trigger KYC process 2023-02-14 14:26:00 +01:00
Christian Grothoff
dc40f6c679
work on AML notification logic 2023-02-13 16:00:37 +01:00
Christian Grothoff
923ff3126e
-work on AML trigger logic 2023-02-12 14:39:54 +01:00
Christian Grothoff
ab03ba16e9
exchangedb: use partial index instead of materialized tables deposits_by_ready and deposits_by_matching; remove now broken code; rename benchmarks to use perf_-prefix and correspond to function they benchmark 2023-02-05 19:11:47 +01:00
Christian Grothoff
5a18e955eb
-fix AML decision update logic and history fetch logic 2023-02-04 21:54:47 +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
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
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
Christian Grothoff
ff202ef296
KYC: misc. fixes to attribute attestation logic 2023-01-29 13:58:56 +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
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
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
d131951fbe
add new endpoints to main dispatcher 2023-01-21 23:08:29 +01:00
Christian Grothoff
5b26bd3b83
-new testing APIs 2023-01-20 19:11:36 +01:00
Christian Grothoff
999209518d
new AML APIs (libtalerexchange) 2023-01-18 14:26:15 +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
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
c5773ce206
-doxygen fixes 2022-12-30 14:44:24 +01:00
Christian Grothoff
b7000379ed
-add prototypes 2022-12-30 13:45:36 +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
880c14909b
add notification logic on purse deletion 2022-12-28 23:44:17 +01:00