| Filename | Latest commit message | Latest commit date |
|---|---|---|
monero-wallet-rpc (epee) keeps its Digest nonce per TCP connection: the `http_server_auth` lives inside `http_custom_handler`, which is created per connection, so its nonce starts empty and any request without a valid `Authorization` field mints a fresh one. The client opened a *second* connection for the authenticated retry, presenting a nonce that socket never issued — so a real wallet RPC answered 401 forever, however correct the login was. That is the `wallet RPC HTTP HTTP/1.1 401 Unauthorized` the TUI and Android showed; the canned mocks replayed the challenge on any socket, so they stayed green. - `post_digest`/`http_digest`: one `TcpStream` for the challenge and the retry, no `Connection: close` on the challenge (epee closes the socket with the 401 when the request asks for it), `read_one_response` honouring `Content-Length` (a keep-alive response never ends in EOF; with no length the body ends at EOF, which is what keeps the 1 MiB cap meaningful for an open RPC). - A 401 after our *own* challenge now reads: the login does not match the child's `--rpc-login`. - Mocks in `tests/wallet.rs` and `src/node.rs` model the per-connection nonce: `serve_one_conn`/`serve_rpc_conns`. Two tests pin it — one RPC call uses one connection, and a nonce presented on another connection is refused. - `docs/WALLET.md`: what a 401 means and why it is not the flow. Verified end-to-end against `monero-wallet-rpc` v0.18.5.1 (`--rpc-login`, `--offline`, real wallet open): unfixed tree → `wallet RPC HTTP HTTP/1.1 401 Unauthorized`; fixed tree → `connected: true` with the wallet's real address. |
||
| .. | ||
| arti-socks-feasibility.md | ||
| ARTI_UPGRADE.md | ||
| cuprate-android-spike.md | ||
| cuprate-launch-spike.md | ||
| option-a-recommendation.md | ||
| payment-integration-plan.md | ||
| PROTOCOL.md | ||
| README.md | ||
| RELEASING.md | ||
| SECURITY_AUDIT.md | ||
| THREAT_MODEL.md | ||
| TUI.md | ||
| WALLET.md | ||
OnionWire docs
Read these in order if you are evaluating the protocol without the Rust:
- PROTOCOL.md — wire format, handshake, invite, frames. This is the document a second implementation would use.
- THREAT_MODEL.md — what v1 claims, and what it refuses to claim.
- SECURITY_AUDIT.md — in-house review notes and which findings are still open. Not a public third-party audit.
Operator / product docs:
- ../README.md — install, run, real flags, F-key map, wallet/chain source, releases.
- TUI.md — screens and keybindings as the TUI actually handles them.
- WALLET.md — loopback wallet RPC, chain source, spend-authority warning, receipt verification.
- RELEASING.md — manual, batched releases (not one per merge).
- ARTI_UPGRADE.md — how to bump the in-process Tor crates.
Android build notes: android/README.md. SDK: crates/onionwire-sdk/README.md.
Decision records and spike reports (history — not living operator docs):