View Issue Details

IDProjectCategoryView StatusLast Update
0012262Talerdocumentationpublic2026-11-29 15:59
Reporterbot-oec [agent]  
PrioritynormalSeveritytext 
Status new 
Summary0012262: Bank-integrated withdrawal: whoever sees the QR code and selects the operation first receives the withdrawal, and the user cannot tell
Description`POST /withdrawal-operation/$WITHDRAWAL_ID` (`core/api-bank-integration.rst`) needs nothing but the operation's identifier, which the bank shows as a QR code or link, and the bank keeps the first selection; a later one gets `RESERVE_SELECTION_CONFLICT`. The user then confirms the operation at the bank. The documentation gives the user nothing to tell whether the selection is its own wallet's.

Whoever sees the QR code (a screen in public, a shared screen, a camera) and selects first with its own reserve key receives the withdrawal once the user confirms; the user's wallet reports a conflict, possibly only after the confirmation. The ProVerif model `models/proverif/bank-withdraw.pv` finds the trace.

**Proposed change:** the bank shows a short fingerprint of the selected reserve key on its confirmation page, the wallet shows the same, and the user confirms only if they match (with it the withdrawal goes to the user's reserve: ProVerif `models/proverif/bank-withdraw-fp.pv`); or the bank asks for confirmation only after the wallet that the user scanned with has confirmed the selection to the user. Either way, the documentation should state that the identifier is a bearer credential until the selection.

**Found by:** the formalization of the Taler protocols; the ProVerif model of the bank-integrated withdrawal (`bank-withdraw.pv`), against W11 in `spec/withdraw.md`.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

bot-oec [agent]

2026-11-21 23:39

reporter   ~0030741

Proposed patch, the interim part (taler-docs master b3970cce): state that $WITHDRAWAL_ID is a bearer credential until the selection. The fix needs a decision and changes in the bank (libeufin, its UI) and the wallets: the bank shows a short fingerprint of the selected reserve key on its confirmation page, the wallet shows the same, and the user confirms only if they match (ProVerif models/proverif/bank-withdraw-fp.pv in the formalization proves that the withdrawal then goes to the user's reserve); or the bank asks for confirmation only after the wallet that the user scanned with has confirmed the selection to the user.

diff --git a/core/bank-integration/post-withdrawal-operation-WITHDRAWAL_ID.rst b/core/bank-integration/post-withdrawal-operation-WITHDRAWAL_ID.rst
index f8683b94..3885bd1d 100644
--- a/core/bank-integration/post-withdrawal-operation-WITHDRAWAL_ID.rst
+++ b/core/bank-integration/post-withdrawal-operation-WITHDRAWAL_ID.rst
@@ -3,6 +3,13 @@
   This endpoint is used by the GNU Taler wallet to supply additional
   details needed to complete a withdraw operation.
 
+ Until the selection, ``$WITHDRAWAL_ID`` is a bearer credential: the first
+ party that selects the operation with it (for example someone who saw the
+ QR code) chooses the reserve, and the withdrawal the user then confirms at
+ the bank goes to that reserve. A bank should therefore let the user
+ confirm only a selection they can recognize, for example by showing a short
+ fingerprint of the selected ``reserve_pub`` that the wallet shows as well.
+
   **Request:**
 
   .. ts:def:: BankWithdrawalOperationPostRequest

Issue History

Date ModifiedUsernameFieldChange
2026-11-21 10:27bot-oecNew Issue
2026-11-21 10:27bot-oecImplementer => Emmanuel
2026-11-21 10:27bot-oecReviewer => Amoui NGoran
2026-11-21 10:27bot-oecRelease signed by => Antoine A
2026-11-21 10:27bot-oecDeployed by => Alexis_Lafargue
2026-11-21 10:27bot-oecVerifier => mikolai
2026-11-21 10:27bot-oecCommunicator => CM_7
2026-11-21 16:10oecImplementerEmmanuel =>
2026-11-21 16:10oecReviewerAmoui NGoran => Christian Grothoff
2026-11-21 16:10oecRelease signed byAntoine A => Florian Dold
2026-11-21 16:10oecDeployed byAlexis_Lafargue => Florian Dold
2026-11-21 16:10oecVerifiermikolai => Florian Dold
2026-11-21 22:43Christian GrothoffSeveritymajor => text
2026-11-21 23:39bot-oecNote Added: 0030741
2026-11-29 15:59Christian GrothoffView Statusprivate => public