View Issue Details

IDProjectCategoryView StatusLast Update
0012225Talerdocumentationpublic2026-11-21 23:23
Reporterbot-oec [agent]  
Implementeroec  
Estimated effort (hours)0.5 
Fast-trackYes — The control, the release and the deployment are skipped: whoever implemented this change verifies and closes it themselves.
PrioritynormalSeveritytext 
Status implementing 
Summary0012225: Document that minimum_age is verified for the age group it falls into at the coin's exchange
DescriptionThe age groups are the unit of age verification. A contract's minimum_age (an age in years) is verified for its group: the wallet attests with the key of group(minimum_age), and the merchant checks against the same key. With the groups 8:10:12:14:16:18:21, minimum_age = 13 is verified as the group [12, 14).

The documentation does not say this:
- design-documents/024-age-restriction.rst ("Claiming the order") says minimum_age "can be any integer greater than 0".
- api-merchant.rst (ContractBaseTerms.minimum_age, TemplateContractCommon.minimum_age) and the product endpoints (post-private-products.rst and others) describe it as a plain age.

Expected: state in these places that minimum_age stays an age and is verified, per coin, for the age group it falls into at that coin's exchange. The effective minimum age is therefore the start of that group in the exchange's age mask. If a merchant accepts exchanges with different age groups, the same minimum_age can correspond to different groups. Point to where an exchange publishes its age groups (/keys, age restriction extension).

taler-docs ceeae498.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0012226 acknowledged Show the verified age group, not only minimum_age, when a payment requires an age proof 

Activities

bot-oec [agent]

2026-11-21 23:23

reporter   ~0030731

Proposed patch (taler-docs master b3970cce): design document 024 ("Claiming the order") and the two minimum_age fields of api-merchant.rst state that minimum_age is verified, per coin, for the age group it falls into at the coin's exchange.

diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 7cc08655..eff327b6 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1487,6 +1487,9 @@ open or deferred.
     max_pickup_duration?: RelativeTime;
 
     // Minimum age buyer must have (in years). Default is 0.
+ // Verified, per coin, for the age group it falls into in the
+ // age mask of the coin's exchange (age restriction extension
+ // in ``/keys``), so the effective minimum is that group's start.
     minimum_age?: Integer;
 
     // Inventory-cart: request a tip during instantiation.
@@ -1798,6 +1801,9 @@ and basically present (or optional) all the time.
     // mimimum age requirements of the products in this contract.
     // It might also be set independent of any product, due to
     // legal requirements.
+ // Verified, per coin, for the age group it falls into in the
+ // age mask of the coin's exchange (age restriction extension
+ // in ``/keys``), so the effective minimum is that group's start.
     minimum_age?: Integer;
 
     // Default money pot to use for this order, applies to the
diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst
index b4ec86d8..cc1bf4b5 100644
--- a/design-documents/024-age-restriction.rst
+++ b/design-documents/024-age-restriction.rst
@@ -614,6 +614,13 @@ minimum age in response to order claim by the wallet, that is, a POST to
 The object ``ContractTerms`` is extended by an optional field
 ``minimum_age`` that can be any integer greater than 0. In reality
 this value will not be smaller than, say, 8, and not larger than, say, 21.
+It stays an age, but it is verified, per coin, for the age group it falls
+into at that coin's exchange: the wallet attests with the key of that group,
+and the merchant checks against it. The effective minimum age is therefore
+the start of that group in the exchange's age mask (with the groups
+8:10:12:14:16:18:21, a ``minimum_age`` of 13 is verified as the group
+[12, 14)); exchanges with different age groups verify the same
+``minimum_age`` for different groups.
 
 .. ts:def:: DD24ContractTerms

Issue History

Date ModifiedUsernameFieldChange
2026-11-19 08:28bot-oecNew Issue
2026-11-19 08:28bot-oecImplementer => Alexis_Lafargue
2026-11-19 08:28bot-oecReviewer => Amoui NGoran
2026-11-19 08:28bot-oecRelease signed by => Antoine A
2026-11-19 08:28bot-oecDeployed by => Alexis_Lafargue
2026-11-19 08:28bot-oecVerifier => Alexis_Lafargue
2026-11-19 08:28bot-oecCommunicator => CM_7
2026-11-19 18:22Christian GrothoffImplementerAlexis_Lafargue => oec
2026-11-19 18:22Christian GrothoffReviewerAmoui NGoran => Christian Grothoff
2026-11-19 18:22Christian GrothoffRelease signed byAntoine A => oec
2026-11-19 18:22Christian GrothoffDeployed byAlexis_Lafargue =>
2026-11-19 18:22Christian GrothoffVerifierAlexis_Lafargue =>
2026-11-19 18:22Christian GrothoffCommunicatorCM_7 =>
2026-11-19 18:22Christian GrothoffSeverityminor => text
2026-11-19 18:22Christian GrothoffFast-track0 => 1
2026-11-19 18:22Christian GrothoffLocked by => Christian Grothoff
2026-11-19 18:22Christian GrothoffStatusnew => planning
2026-11-19 18:22Christian GrothoffLocked byChristian Grothoff =>
2026-11-19 18:22Christian GrothoffStatusplanning => implementing
2026-11-21 10:27oecEstimated effort (hours) => 0.5
2026-11-21 23:23bot-oecNote Added: 0030731