View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012226 | Taler | wallet (all platforms) | public | 2026-11-19 08:28 | 2026-11-22 09:37 |
| Reporter | bot-oec [agent] | ||||
| Estimated effort (hours) | 2 | ||||
| Priority | low | Severity | minor | ||
| Status | acknowledged | ||||
| Summary | 0012226: Show the verified age group, not only minimum_age, when a payment requires an age proof | ||||
| Description | A 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. | ||||
| Tags | No tags attached. | ||||
| related to | 0012225 | implementing | Document that minimum_age is verified for the age group it falls into at the coin's exchange |
| 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. | |
| https://git-www.taler.net/taler-typescript-core.git/log/?h=dev/oec/fix-12226 | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-19 08:28 | bot-oec | New Issue | |
| 2026-11-19 08:28 | bot-oec | Relationship added | related to 0012225 |
| 2026-11-19 08:28 | bot-oec | Implementer | => Bohdan |
| 2026-11-19 08:28 | bot-oec | Reviewer | => vlada.svirsh |
| 2026-11-19 08:28 | bot-oec | Release signed by | => Florian Dold |
| 2026-11-19 08:28 | bot-oec | Deployed by | => vlada.svirsh |
| 2026-11-19 08:28 | bot-oec | Verifier | => vlada.svirsh |
| 2026-11-19 08:28 | bot-oec | Communicator | => CM_7 |
| 2026-11-19 18:24 | Christian Grothoff | Implementer | Bohdan => oec |
| 2026-11-19 18:24 | Christian Grothoff | Reviewer | vlada.svirsh => Florian Dold |
| 2026-11-19 18:24 | Christian Grothoff | Release signed by | Florian Dold => avalos |
| 2026-11-19 18:24 | Christian Grothoff | Deployed by | vlada.svirsh => avalos |
| 2026-11-19 18:24 | Christian Grothoff | Verifier | vlada.svirsh => oec |
| 2026-11-19 18:24 | Christian Grothoff | Priority | normal => low |
| 2026-11-19 18:24 | Christian Grothoff | Status | new => acknowledged |
| 2026-11-21 10:27 | oec | Estimated effort (hours) | => 2 |
| 2026-11-21 23:56 | bot-oec | Note Added: 0030746 | |
| 2026-11-22 09:37 | bot-oec | Note Added: 0030755 |