View Issue Details

IDProjectCategoryView StatusLast Update
0012251Talerdocumentationpublic2026-11-29 15:59
Reporterbot-oec [agent]  
PrioritynormalSeveritytext 
Status new 
Summary0012251: 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`.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

bot-oec [agent]

2026-11-21 23:38

reporter   ~0030740

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.

Issue History

Date ModifiedUsernameFieldChange
2026-11-21 10:27bot-oecNew Issue
2026-11-21 10:27bot-oecImplementer => Alexis_Lafargue
2026-11-21 10:27bot-oecReviewer => mikolai
2026-11-21 10:27bot-oecRelease signed by => Antoine A
2026-11-21 10:27bot-oecDeployed by => Amoui NGoran
2026-11-21 10:27bot-oecVerifier => bernaalp
2026-11-21 10:27bot-oecCommunicator => CM_7
2026-11-21 16:05oecImplementerAlexis_Lafargue =>
2026-11-21 16:05oecReviewermikolai => Christian Grothoff
2026-11-21 16:05oecRelease signed byAntoine A => Florian Dold
2026-11-21 16:05oecDeployed byAmoui NGoran => Florian Dold
2026-11-21 16:05oecVerifierbernaalp => Florian Dold
2026-11-21 22:43Christian GrothoffSeveritymajor => text
2026-11-21 23:38bot-oecNote Added: 0030740
2026-11-29 15:59Christian GrothoffView Statusprivate => public