1ce9312d02
[age-withdraw] WIP - database transaction during reveal works now
...
The test for age-restriction still fail, but the database transactions,
including passing arrays in/out the PQ-helpers works.
2023-07-26 04:04:02 +02:00
3e29bdfb8b
[age-withdraw] first tests pass
...
age-withdraw successfully tested (no reveal yet):
1. reserve filled with amount large enough to trigger kyc
2. kyc oauth2 test daemon sets birthday to 2015-00-00
3. usual withdraw fails with CONFLICT and AGE_RESTRICTION_REQUIRED
4. age-withdraw with loo large of an maximum age fails
5. age-withdraw with appropriate maximum age succeeds
2023-07-24 20:29:38 +02:00
5bf90c3505
kyc logic with birthdate setting test added
...
1. Added age-requirement check in withdraw-handler (like in batch-withdraw)
2. In test_exchange_api_age_restriction:
- kyc-oauth2 started, with static birthdate in answers
- withdraw triggers kyc
- second withdraw fails due to age restriction requirements
2023-07-23 21:18:32 +02:00
5b39ac9d8f
[kyc] put reserve_pub into legitimization_requirements
2023-07-23 15:57:37 +02:00
d189fccd79
Added reserve_pub to kyc legitimization_processes
...
Where applicable, the reserve_pub will be passed on to the
kcy-legitimization process and persisted along with h_payto.
This allows us to set a birthday on the reserve itself, once a
related kyc-process has provided one.
2023-07-23 12:48:07 +02:00
Christian Grothoff
ec03f262b6
fix taler-aggregator-benchmark
2023-07-16 11:25:22 +02:00
f8536e8c14
-fix parameter in stored procedures
2023-06-27 09:46:31 +02:00
ddd0e0af13
-fixed typos
2023-06-26 15:04:57 +02:00
ee42b70692
add exchange_do_age_withdraw.sql
2023-06-26 11:47:15 +02:00
eeece1c96d
-ruuid not needed
2023-06-26 11:46:13 +02:00
b87d1112ea
Merge branch 'master' into age-withdraw-merge
2023-06-26 00:09:01 +02:00
ddedf03a81
[age-withdraw] age-withdraw commit- and reveal-handlers implemented, 12/n
...
The handlers for the commit- and reveal-phases of the age-withdraw
HTTP-endpoints are implemented, yet not active.
Still missing:
- support for age-withdraw is missing in lib/.
- tests
2023-06-26 00:01:31 +02:00
Christian Grothoff
e2f44ea7b3
fix test
2023-06-25 00:08:49 +02:00
Christian Grothoff
fcd3948f3b
-fix typo
2023-06-25 00:06:35 +02:00
Christian Grothoff
d25dc8b0ad
fix #7870
2023-06-23 11:41:52 +02:00
98b51edf49
Merge branch 'master' into age-withdraw
2023-06-05 09:18:35 +02:00
Christian Grothoff
809300158c
code cleanup, fixing misc. memory leaks in the process
2023-06-04 13:26:00 +02:00
Christian Grothoff
8f2c2766a4
-logging
2023-06-03 13:01:12 +02:00
Christian Grothoff
f8fd492e9e
add DB idempotency test
2023-06-03 12:53:45 +02:00
80a1b8f524
Merge branch 'master' into age-withdraw
2023-06-03 10:45:31 +02:00
2ea3ae1008
make CREATE TYPE usage idempotent
...
PostgresSQL doesn't have a CREATE TYPE OR REPLACE, so we have to work
around this with exception handling.
2023-06-02 11:46:48 +02:00
Christian Grothoff
d36f1b3b6a
-fix SQL
2023-05-21 19:20:09 +02:00
Christian Grothoff
aa8d44aab3
-typo
2023-05-21 18:47:39 +02:00
Christian Grothoff
bac7123763
array-based do_reserves_in_insert
2023-05-18 14:45:28 +02:00
Christian Grothoff
6cc3846f4d
use external helper for conversion also for KYCAID
2023-05-18 08:31:08 +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
755955de28
towards KYC AML triggers
2023-05-16 22:26:39 +02:00
4a31a180a4
[æge-withdraw] WiP: towards new API
2023-05-14 13:11:36 +02:00
9f1f069cea
Merge branch 'age-withdraw' of ssh://git.kesim.org/taler/exchange into age-withdraw
2023-05-12 15:10:59 +02:00
a04425df34
[age-withdraw] WIP: change schema to use new support for array types, 11/n
2023-05-12 15:10:23 +02:00
Christian Grothoff
c014acf3c4
always use GNUNET_memcpy
2023-05-10 01:01:37 +02:00
Christian Grothoff
1e88796045
finish implementation for #7808
2023-05-04 17:36:43 +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
08b420dd52
-fix typos for doxygen
2023-04-23 11:55:17 +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
89a9224c3b
Merge branch 'master' of ssh://git.taler.net/exchange
2023-04-22 15:39:14 +02:00
12681dfa1a
WiP: age-withdraw, adjust schema and DB-handlers, cleanup FIXME's, 8/n
2023-04-22 15:39:02 +02:00
37dd5bed20
-added FIXME
2023-04-22 15:06:44 +02:00
Christian Grothoff
acbee86745
simplify batch insert: no cursor where not required, replace out_reserve_found with ruuid being allowed to remain NULL
2023-04-22 15:02:47 +02:00
Christian Grothoff
76b934b219
-misc fixes
2023-04-22 02:54:55 +02:00
Christian Grothoff
be1d8afaec
-misc fixes
2023-04-22 02:33:18 +02:00
Christian Grothoff
0236caf354
-misc fixes
2023-04-22 02:30:02 +02:00
Christian Grothoff
9e61579c8b
-misc fixes
2023-04-22 02:26:44 +02:00
Christian Grothoff
89c5a3eca9
-misc bugs
2023-04-22 01:53:41 +02:00
Christian Grothoff
53157062cb
-misc bugs
2023-04-22 01:40:53 +02:00
Christian Grothoff
2dab1fac1c
misc bugfixes in reserves_in batch logic
2023-04-22 01:20:41 +02:00
Christian Grothoff
5290453e36
clean up reserve_get logic
2023-04-21 22:30:37 +02:00
Christian Grothoff
ee6ec1f55d
-fix bug in sync
2023-04-21 10:50:35 +02:00