View Issue Details

IDProjectCategoryView StatusLast Update
0007278Talerexchangepublic2025-05-10 02:13
Reporteroec Assigned Tooec Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Target Version1.0Fixed in Version1.0 
Summary0007278: Common handling of age restriction verification for withdraw and reward needed
DescriptionBoth protocols, withdraw and tipping, will need support for age restriction. In particular, a customer might be required to proof to be in a specific age group: For example, if children can have bank accounts and the exchange can identify those accounts during a transfer to a reserve, it can - and should - ask for a proof of the _maximum_ age of the holder of the corresponding wallet that performs the withdraw.

Similarly, a merchant might ask for a minimum age during a tipping protocol. This might be done by an additional age proof provided by the wallet to the exchange, or (maybe) communicated by the merchant to the exchange when setting up the reserve for the tipping and then the minimum age requirement is verified by the exchange.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

child of 0008073 implementingoec Age restriction support in GNU Taler 

Activities

oec

2023-12-23 22:43

developer   ~0020803

To address the first point: With commit d20804124025c259af1bc3e00ceed653c734b468 and previous, there is now an endpoint for age-withdraw, see https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction

oec

2024-02-02 14:27

developer   ~0021126

The /age-withdraw endpoint now exists since commit 571d43cef3732ed6f491d91a9e767a80008edeb1, handling withdraws from reserves with a birthday set. If the birthday is not far away in the past, the wallet has to proof that it has set appropriate age restrictions on the coins, using a cut&choose protocol.

To fix this issue 7278, I suggest to either
   a) implement DD 45, so that a merchant can attest another reserve with a given one, and set an appropriate and lower birthday (and therefore age) on the target reserve that way
and/or
  b) extend /reserves/$RESERVE_PUB/open so that the merchant can provide a maximum_age_group parameter to the particular reserve.

The wallet then has to perform the /age-withdraw operation.

Note that setting a birthday and setting a max_age_group have slightly different semantics: If the reserve has a birthday set, the maximum_age_group associated will grow over time.

Christian Grothoff

2025-05-08 20:56

manager   ~0024855

We removed rewards, and I think endpoints were quite unified. @oec: what is left here?

oec

2025-05-09 05:30

developer   ~0024859

As Christian correctly pointed out, rewards/tipping is removed, and withdraw already supports proof-of-age if required by the birthday set on a reserve.

Issue History

Date ModifiedUsernameFieldChange
2022-07-05 17:14oecNew Issue
2022-07-05 17:14oecStatusnew => assigned
2022-07-05 17:14oecAssigned To => oec
2023-04-04 14:19Florian DoldTarget Version => post-1.0
2023-12-23 22:43oecNote Added: 0020803
2024-01-12 13:10oecRelationship addedchild of 0008073
2024-02-02 14:27oecSummaryCommon handling of age restriction verification for withdraw and tipping needed => Common handling of age restriction verification for withdraw and reward needed
2024-02-02 14:27oecNote Added: 0021126
2025-05-08 20:56Christian GrothoffNote Added: 0024855
2025-05-09 05:30oecStatusassigned => informing
2025-05-09 05:30oecResolutionopen => fixed
2025-05-09 05:30oecNote Added: 0024859
2025-05-10 02:12Christian GrothoffFixed in Version => 1.0
2025-05-10 02:13Christian GrothoffTarget Versionpost-1.0 => 1.0
2025-05-10 02:13Christian GrothoffStatusinforming => closed