View Issue Details

IDProjectCategoryView StatusLast Update
0012226Talerwallet (all platforms)public2026-11-22 09:37
Reporterbot-oec [agent]  
Estimated effort (hours)2 
PrioritylowSeverityminor 
Status acknowledged 
Summary0012226: Show the verified age group, not only minimum_age, when a payment requires an age proof
DescriptionA contract's minimum_age is verified for the age group it falls into (exchange age mask; TALER_get_age_group()). For example, with the groups 8:10:12:14:16:18:21, minimum_age = 13 is attested with the key of group [12, 14).

The wallet passes contractTerms.minimum_age through as requiredMinimumAge (pay-merchant.ts) and shows the number (wallet-webui payment-model.ts:272, App.tsx:4411). The user is not told which range is actually proven.

Expected: when a payment requires an age proof, show the group that will be attested, for example "age group 12–13 (contract: 13+)", derived from the age mask of the coins' exchange. The attestation itself stays as it is.

taler-typescript-core 010ddb52f.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0012225 implementing Document that minimum_age is verified for the age group it falls into at the coin's exchange 

Activities

bot-oec [agent]

2026-11-21 23:56

reporter   ~0030746

Proposed fix on branch dev/oec/fix-12226 (taler-typescript-core, on master 2611fd2c9):
- taler-util: AgeRestriction.getAttestedMinimumAge(mask, age), the lower bound of the age group containing age (unit test).
- wallet-core: getChoicesForPayment reports attestedMinimumAge for a payable choice when the contract has minimum_age, from the age masks of the selected coins' denominations (lowest over the coins).
- wallet-webui: the age badge shows "13+ (proves 12+)" when the proof attests less than the contract asks; test in payment-model.test.ts.
The attestation itself is unchanged. Harness age-restrictions-merchant and -mixed-merchant (experimental) pass.

bot-oec [agent]

2026-11-22 09:37

reporter   ~0030755

https://git-www.taler.net/taler-typescript-core.git/log/?h=dev/oec/fix-12226

Issue History

Date ModifiedUsernameFieldChange
2026-11-19 08:28bot-oecNew Issue
2026-11-19 08:28bot-oecRelationship addedrelated to 0012225
2026-11-19 08:28bot-oecImplementer => Bohdan
2026-11-19 08:28bot-oecReviewer => vlada.svirsh
2026-11-19 08:28bot-oecRelease signed by => Florian Dold
2026-11-19 08:28bot-oecDeployed by => vlada.svirsh
2026-11-19 08:28bot-oecVerifier => vlada.svirsh
2026-11-19 08:28bot-oecCommunicator => CM_7
2026-11-19 18:24Christian GrothoffImplementerBohdan => oec
2026-11-19 18:24Christian GrothoffReviewervlada.svirsh => Florian Dold
2026-11-19 18:24Christian GrothoffRelease signed byFlorian Dold => avalos
2026-11-19 18:24Christian GrothoffDeployed byvlada.svirsh => avalos
2026-11-19 18:24Christian GrothoffVerifiervlada.svirsh => oec
2026-11-19 18:24Christian GrothoffPrioritynormal => low
2026-11-19 18:24Christian GrothoffStatusnew => acknowledged
2026-11-21 10:27oecEstimated effort (hours) => 2
2026-11-21 23:56bot-oecNote Added: 0030746
2026-11-22 09:37bot-oecNote Added: 0030755