View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012249 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012249: KYC: the `Account-Owner-Signature` of `/kyc-check` is the same for every request and account, and can be replayed forever | ||||
| Description | `Account-Owner-Signature` is a signature over the purpose `TALER_SIGNATURE_KYC_AUTH` alone (exchange `kyc_signatures.c`, `TALER_KycQueryPS`): the same value for every request, every account bound to the key, and all time. Whoever observes it once (a proxy that terminates TLS, a log, a support dump) obtains the access token of every account bound to that key, including accounts bound later, and with it uploads KYC forms and starts KYC processes in the holder's name. The documentation calls the signature "merely a simple authentication mechanism"; the consequence, a permanent bearer credential, is not stated. The ProVerif model `models/proverif/kyc-auth.pv` finds the replay trace for an account bound after the observation. If the signature names the account (`models/proverif/kyc-auth-bound.pv`), such accounts are safe; if it covers the account and a fresh challenge of the exchange (`models/proverif/kyc-auth-fresh.pv`), all accounts are. **Proposed change:** sign over `h_payto` and a timestamp, and accept only recent timestamps; a replay then works only within the accepted window, and an exchange challenge closes it at the cost of a round trip. At least sign over `h_payto`. Until then, state the consequence in the documentation. **Found by:** the formalization of the Taler protocols; the ProVerif model of KYC authentication (`kyc-auth.pv`), against KY4 in `spec/kyc.md`. | ||||
| Tags | No tags attached. | ||||
| related to | 0012253 | new | KYC: whether a bank account has one KYC key or several is not stated |
| Proposed patch, the interim part (taler-docs master b3970cce): state the consequence of Account-Owner-Signature covering the purpose only. The protocol fix needs a decision: sign over h_payto and a timestamp and accept only recent timestamps (replays then work only within the window; an exchange challenge would close it at the cost of a round trip), or at least sign over h_payto. That changes TALER_KycQueryPS and every client (wallet, merchant backend), so it needs a protocol version. diff --git a/core/exchange/get-kyc-check-H_NORMALIZED_PAYTO.rst b/core/exchange/get-kyc-check-H_NORMALIZED_PAYTO.rst index a7fc7250..4a7d5f24 100644 --- a/core/exchange/get-kyc-check-H_NORMALIZED_PAYTO.rst +++ b/core/exchange/get-kyc-check-H_NORMALIZED_PAYTO.rst @@ -29,6 +29,12 @@ request are not protected by the signature. The ``$ACCOUNT_PRIV`` is either the (wallet long-term) reserve private key or the merchant instance private key. + The signature covers the purpose ``TALER_SIGNATURE_KYC_AUTH`` only, so it + is the same for every request, every account bound to the key and all + time: whoever observes it once (for example a proxy terminating TLS, or a + log) obtains the access token of every account bound to that key, also of + accounts bound later, and can upload KYC data and start KYC processes for + them. Clients must therefore keep it as confidential as the access token. *Account-Owner-Pub*: The client must provide the Base-32 encoded EdDSA public key of | |
| 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 | => bernaalp |
| 2026-11-21 10:27 | bot-oec | Release signed by | => Antoine A |
| 2026-11-21 10:27 | bot-oec | Deployed by | => vlada.svirsh |
| 2026-11-21 10:27 | bot-oec | Verifier | => Amoui NGoran |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 16:03 | oec | Implementer | Emmanuel => |
| 2026-11-21 16:03 | oec | Reviewer | bernaalp => Christian Grothoff |
| 2026-11-21 16:03 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 16:03 | oec | Deployed by | vlada.svirsh => Florian Dold |
| 2026-11-21 16:03 | oec | Verifier | Amoui NGoran => Florian Dold |
| 2026-11-21 22:43 | Christian Grothoff | Severity | major => text |
| 2026-11-21 23:38 | bot-oec | Note Added: 0030738 | |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |