aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_exchange_api_age_restriction.c
AgeCommit message (Collapse)Author
2023-11-28fix spelling issuesChristian Grothoff
2023-09-09adapt to latest change in GNUnetChristian Grothoff
2023-07-26[age-withdraw] reveal works, tested.Özgür Kesim
Tests for age-withdraw and the reveal now work for both, RSA and CS.
2023-07-26[age-withdraw] WIP - database transaction during reveal works nowÖzgür Kesim
The test for age-restriction still fail, but the database transactions, including passing arrays in/out the PQ-helpers works.
2023-07-24[age-withdraw] fixed h_commitment calculation in handlerv0.9.3-dev.5Özgür Kesim
2023-07-24[age-withdraw] first tests passÖzgür Kesim
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-23kyc logic with birthdate setting test addedÖzgür Kesim
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-23Added reserve_pub to kyc legitimization_processesÖzgür Kesim
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-21[age-withdraw] started to work on tests in testingÖzgür Kesim