onionwire/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sirius DevOps a28a3ceb75
All checks were successful
ci / test (pull_request) Successful in 3m1s
wallet: no-spend mode + view-only detection over RPC
/tip needs monero-wallet-rpc `transfer`, which a view-only wallet cannot do.
With ONIONWIRE_WALLET_NO_SPEND=1 (`1`/`true`/`yes`/`on`) `Wallet::transfer`
refuses locally, before any RPC dial, and /pay + receipt verification are
unchanged.

When a transfer does fail, ask the documented signal before surfacing the raw
wallet error: `query_key` key_type=spend_key answers
WALLET_RPC_ERROR_CODE_WATCH_ONLY (-29) on a view-only wallet
(wallet_rpc_server.cpp on_query_key). Both paths return one sentence —
"wallet is in view-only/no-spend mode — /tip is disabled; /pay and receipt
verification still work". Fail closed: if the probe cannot answer, the wallet's
own error stands; no fabricated detection.

New docs/WALLET.md: --generate-from-view-key / generate_from_keys watch-only
setup, --rpc-login Digest, why loopback still needs auth, the local
spend-authority warning, and the detection trade-off (a spend-capable wallet
answers the probe with its spend key, which is discarded). Linked from
docs/THREAT_MODEL.md.
2026-09-12 12:59:49 -04:00
..
app_sig.rs fix(protocol): domain-separate loc/prf/inv/rcp signatures 2026-09-11 23:42:41 -04:00
backup.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
dispatch.rs feat: drop unknown typed frames instead of storing as chat 2026-09-10 14:18:06 -04:00
file.rs Merge branch 'main' into wt/t_fc02d8b6 2026-09-12 04:11:00 +00:00
hs.rs [verified] fix(hs): redact onion in publish logs; cache 0700 2026-09-10 20:30:18 -04:00
pay.rs fix(pay): checksum Monero addresses (base58 + keccak) 2026-09-10 20:01:45 -04:00
profile.rs fix(pay): checksum Monero addresses (base58 + keccak) 2026-09-10 20:01:45 -04:00
protocol.rs Add Noise IK encrypted stream over Arti. 2026-09-10 02:07:40 -04:00
qr.rs [verified] fix(qr): bind invite sig fields; cap decode 2026-09-10 19:52:44 -04:00
ratelimit.rs feat: incoming rate limit, identity backup, v0.2.0 2026-09-10 14:50:01 -04:00
rotate.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
rotate_hs.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
sanitize.rs [verified] sanitize peer chat/control/bidi before store and TUI render 2026-09-11 23:42:48 -04:00
send.rs fix(tui): do not freeze the UI on chat send 2026-09-11 22:33:55 -04:00
store.rs fix(cli): hide store passphrase like a password prompt 2026-09-10 21:10:50 -04:00
tor_hs.rs [verified] fix(hs): redact onion in publish logs; cache 0700 2026-09-10 20:30:18 -04:00
tui_chrome.rs [verified] feat(tui): fail-closed /file transfer (1 MiB) 2026-09-10 23:32:06 -04:00
tui_frames.rs test(tui): keep send-failed visible in crowded status_footer 2026-09-12 00:22:04 -04:00
tui_spec.rs feat(tui): keep fail-closed footer, flatten main chrome 2026-09-12 00:15:19 -04:00
two_node.rs feat(store): encrypt chat bodies at rest; Ctrl-Q CLEAR/QUIT 2026-09-10 17:19:50 -04:00
wallet.rs wallet: no-spend mode + view-only detection over RPC 2026-09-12 12:59:49 -04:00
wipe.rs fix(store): drop payments on /wipe; document non-forensic 2026-09-10 20:22:31 -04:00