View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012262 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012262: 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`. | ||||
| Tags | No tags attached. | ||||
| 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 | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-21 10:27 | bot-oec | New Issue | |
| 2026-11-21 10:27 | bot-oec | Implementer | => Emmanuel |
| 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 | => mikolai |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 16:10 | oec | Implementer | Emmanuel => |
| 2026-11-21 16:10 | oec | Reviewer | Amoui NGoran => Christian Grothoff |
| 2026-11-21 16:10 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 16:10 | oec | Deployed by | Alexis_Lafargue => Florian Dold |
| 2026-11-21 16:10 | oec | Verifier | mikolai => Florian Dold |
| 2026-11-21 22:43 | Christian Grothoff | Severity | major => text |
| 2026-11-21 23:39 | bot-oec | Note Added: 0030741 | |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |