View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012251 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012251: KYC attestations copied into a payment request make the payer pay someone else under the attested identity | ||||
| Description | `post-reserves-RESERVE_PUB-attest.rst` proposes attestations "to include a proof of their identity in invoices". An attestation (`TALER_ExchangeAttestPS`) binds the attributes to `reserve_pub` only. The payer of a payment request learns the purse and the contract (`GET /contracts`), the purse status and the deposit confirmation; none names the reserve the purse is merged into. So anyone can copy someone's attestation into a payment request of their own and be paid under that identity. The ProVerif model `models/proverif/attest.pv` finds the trace. If the exchange states the purse's merge reserve, signed, and the payer accepts the attributes only for that reserve (`models/proverif/attest-bound.pv`), the payer of an honest owner's attributes pays into that owner's reserve. **Proposed change:** add the merge reserve to the signed purse status or to the contract response; or give the payer the payee's account-merge signature (`reserve_sig`, which covers the purse and the contract hash), to be verified with the attested `reserve_pub`. Both are proven in ProVerif (`models/proverif/attest-bound.pv`, `models/proverif/attest-mergesig.pv`). **Found by:** the formalization of the Taler protocols; the ProVerif model of attestations (`attest.pv`), against KY7 in `spec/kyc.md`. | ||||
| Tags | No tags attached. | ||||
| Proposed patch, the interim part (taler-docs master b3970cce): state what an attestation proves in a payment request. The protocol fix needs a decision: either the exchange states the purse's merge reserve, signed, in the purse status or the contract response, and the payer accepts attributes only for that reserve; or the payer gets the payee's account merge signature (reserve_sig, covering the purse and the contract hash) to verify with the attested reserve_pub. Both are proven in ProVerif in the formalization (models/proverif/attest-bound.pv, attest-mergesig.pv); the second needs no new exchange signature, only a field in the contract response or the payment request. diff --git a/core/exchange/post-reserves-RESERVE_PUB-attest.rst b/core/exchange/post-reserves-RESERVE_PUB-attest.rst index 5143eff1..29739ef5 100644 --- a/core/exchange/post-reserves-RESERVE_PUB-attest.rst +++ b/core/exchange/post-reserves-RESERVE_PUB-attest.rst @@ -4,6 +4,16 @@ This can be used by a reserve owner to include a proof of their identity in invoices. + The attestation binds the attributes to ``$RESERVE_PUB`` only. The payer + of a payment request does not learn which reserve the purse is merged into + (neither the contract, the purse status nor the deposit confirmation name + it), so an attestation in a payment request does not show that its payee is + the attested person: anyone can copy an attestation into a request of their + own. It identifies the payee only together with a binding of the purse to + the attested reserve, such as the reserve's account merge signature + (``reserve_sig`` over `TALER_AccountMergeSignaturePS`, which covers the + purse and the contract), verified with the attested ``$RESERVE_PUB``. + **Request:** The request body must be a `ReserveAttestRequest` object. | |
| 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 | => mikolai |
| 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 | => bernaalp |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 16:05 | oec | Implementer | Alexis_Lafargue => |
| 2026-11-21 16:05 | oec | Reviewer | mikolai => Christian Grothoff |
| 2026-11-21 16:05 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 16:05 | oec | Deployed by | Amoui NGoran => Florian Dold |
| 2026-11-21 16:05 | oec | Verifier | bernaalp => Florian Dold |
| 2026-11-21 22:43 | Christian Grothoff | Severity | major => text |
| 2026-11-21 23:38 | bot-oec | Note Added: 0030740 | |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |