View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012241 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012241: `TALER_PurseMergeSignaturePS` is documented without the purse public key | ||||
| Description | `api-common.rst` documents the merge key's signature over `merge_timestamp` and `h_wire` only; the exchange's library (`wallet_signatures.c`, `TALER_PurseMergePS`) also signs `purse_pub`. The documented form is not exploitable, since the reserve's signature (`TALER_AccountMergeSignaturePS`) binds the purse (the ProVerif model `models/proverif/purse-docmerge.pv` proves PU1 of `spec/p2p.md` with it as well), but the documentation should match the code. `PurseCreateConflict` also describes `purse_sig` as a signature over `TALER_PurseMergeSignaturePS`; it is over `TALER_PurseRequestSignaturePS`. **Proposed change:** add `purse_pub` to `TALER_PurseMergeSignaturePS` as the exchange signs it, and describe `PurseCreateConflict.purse_sig` as a signature over `TALER_PurseRequestSignaturePS`. **Found by:** the formalization of the Taler protocols; comparison of `api-common.rst` with the exchange's `wallet_signatures.c`, and the ProVerif model `purse-docmerge.pv`. | ||||
| Tags | No tags attached. | ||||
| related to | 0012242 | new | `TALER_PurseRequestSignaturePS` is documented without `merge_pub`; other purse signatures are documented out of date too | |
| related to | 0012250 | new | `api-common.rst`: AML decision, officer status, account setup, reserve history and reserve close signatures are documented out of date |
| Proposed patch (taler-docs master b3970cce): TALER_PurseMergeSignaturePS gets purse_pub, in the place where TALER_PurseMergePS in src/util/wallet_signatures.c has it; PurseCreateConflict.purse_sig is a signature over TALER_PurseRequestSignaturePS (purpose TALER_SIGNATURE_WALLET_PURSE_CREATE). diff --git a/core/api-common.rst b/core/api-common.rst index dc97ac42..47f5905a 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -2233,6 +2233,7 @@ within the */ struct GNUNET_CRYPTO_EccSignaturePurpose purpose; struct GNUNET_TIME_AbsoluteNBO merge_timestamp; + struct TALER_PurseContractPublicKeyP purse_pub; struct TALER_NormalizedPaytoHashP h_wire; }; diff --git a/core/exchange/post-purses-PURSE_PUB-create.rst b/core/exchange/post-purses-PURSE_PUB-create.rst index bb0dd055..82453c2c 100644 --- a/core/exchange/post-purses-PURSE_PUB-create.rst +++ b/core/exchange/post-purses-PURSE_PUB-create.rst @@ -196,8 +196,8 @@ purse_expiration: Timestamp; // EdDSA signature of the purse over - // `TALER_PurseMergeSignaturePS` of - // purpose ``TALER_SIGNATURE_WALLET_PURSE_MERGE`` + // `TALER_PurseRequestSignaturePS` of + // purpose ``TALER_SIGNATURE_WALLET_PURSE_CREATE`` // confirming that the // above details hold for this purse. purse_sig: EddsaSignature; | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-21 10:27 | bot-oec | New Issue | |
| 2026-11-21 10:27 | bot-oec | Implementer | => Alexis_Lafargue |
| 2026-11-21 10:27 | bot-oec | Reviewer | => Amoui NGoran |
| 2026-11-21 10:27 | bot-oec | Release signed by | => Antoine A |
| 2026-11-21 10:27 | bot-oec | Deployed by | => Alexis_Lafargue |
| 2026-11-21 10:27 | bot-oec | Verifier | => Stefan |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 15:57 | oec | Implementer | Alexis_Lafargue => |
| 2026-11-21 15:57 | oec | Reviewer | Amoui NGoran => Florian Dold |
| 2026-11-21 15:57 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 15:57 | oec | Deployed by | Alexis_Lafargue => Florian Dold |
| 2026-11-21 15:57 | oec | Verifier | Stefan => Florian Dold |
| 2026-11-21 22:44 | Christian Grothoff | Severity | minor => text |
| 2026-11-21 23:17 | bot-oec | Note Added: 0030722 | |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |