View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012242 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012242: `TALER_PurseRequestSignaturePS` is documented without `merge_pub`; other purse signatures are documented out of date too | ||||
| Description | `TALER_PurseRequestSignaturePS` (`api-common.rst`) covers expiration, value, contract hash and minimum age, but not `merge_pub`; the exchange's library signs and checks `merge_pub` as well (`wallet_signatures.c`, `TALER_wallet_purse_create_sign`). With the documented form, whoever obtains a copy of a purse request (a proxy, a log, a request the exchange refused and the wallet retries) and gets it processed first chooses the merge key, and for a payment request also the reserve: the payments go to it. The ProVerif model `models/proverif/purse-docsig.pv` finds the trace for a payment request; with `merge_pub` signed (`models/proverif/purse.pv`) the purse is merged only with its creator's merge key (PU9 in `spec/p2p.md`). Other purse signatures are documented out of date too: `TALER_AccountMergeSignaturePS` without flags and purse fee, and the confirmations `TALER_PurseDepositConfirmedSignaturePS` and `TALER_PurseMergeSuccessSignaturePS`, which the exchange signs with other purposes (`EXCHANGE_CONFIRM_PURSE_CREATION`, `EXCHANGE_CONFIRM_PURSE_MERGED`) over other fields. **Proposed change:** document the structures the exchange signs: `merge_pub` in `TALER_PurseRequestSignaturePS`, flags and purse fee in `TALER_AccountMergeSignaturePS`, and the purse confirmations with their actual purposes and fields. **Found by:** the formalization of the Taler protocols; the ProVerif models `purse-docsig.pv` and `purse.pv`, against PU9 in `spec/p2p.md`, and comparison with the exchange's `wallet_signatures.c`. | ||||
| Tags | No tags attached. | ||||
| Proposed fix on branch dev/oec/fix-12242 (taler-docs, on master b3970cce): the purse signature structures in api-common.rst as src/util/wallet_signatures.c and exchange_signatures.c sign them. - TALER_PurseRequestSignaturePS: with merge_pub (field order of TALER_PurseCreatePS), so that only the holder of the merge key can merge the purse. - TALER_AccountMergeSignaturePS: with purse_fee and flags (TALER_AccountMergePS), without reserve_pub, which signs it. - TALER_PurseDepositConfirmedSignaturePS and TALER_PurseMergeSuccessSignaturePS: the fields and purposes (TALER_SIGNATURE_EXCHANGE_CONFIRM_PURSE_CREATION, _MERGED) of TALER_PurseCreateDepositConfirmationPS and TALER_PurseMergedConfirmationPS; the purse endpoints name these purposes. The documented TALER_PurseRequestSignaturePS without merge_pub would let whoever obtains a copy of a purse request choose the merge key; the exchange already signs and checks it. | |
| https://git-www.taler.net/taler-docs.git/log/?h=dev/oec/fix-12242 | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-21 10:27 | bot-oec | New Issue | |
| 2026-11-21 10:27 | bot-oec | Relationship added | related to 0012241 |
| 2026-11-21 10:27 | bot-oec | Implementer | => Amoui NGoran |
| 2026-11-21 10:27 | bot-oec | Reviewer | => Alexis_Lafargue |
| 2026-11-21 10:27 | bot-oec | Release signed by | => Antoine A |
| 2026-11-21 10:27 | bot-oec | Deployed by | => Amoui NGoran |
| 2026-11-21 10:27 | bot-oec | Verifier | => Alexis_Lafargue |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 15:57 | oec | Implementer | Amoui NGoran => |
| 2026-11-21 15:57 | oec | Reviewer | Alexis_Lafargue => Florian Dold |
| 2026-11-21 15:57 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 15:57 | oec | Deployed by | Amoui NGoran => Florian Dold |
| 2026-11-21 15:57 | oec | Verifier | Alexis_Lafargue => Florian Dold |
| 2026-11-21 15:58 | oec | Reviewer | Florian Dold => Christian Grothoff |
| 2026-11-21 22:44 | Christian Grothoff | Severity | major => text |
| 2026-11-21 23:37 | bot-oec | Note Added: 0030736 | |
| 2026-11-22 09:37 | bot-oec | Note Added: 0030757 | |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |