onionwire/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
sirius 5f19a56be3
Some checks failed
ci / test (pull_request) Successful in 5m59s
ci / sdk (pull_request) Successful in 1m35s
android-ci / android (pull_request) Successful in 12m42s
ci / fuzz (pull_request) Has been cancelled
sdk: expose the wallet catalogue, the open wallet's keys, and the self profile
The Android wallet/profile screens had nothing to call: the core could list
wallets, switch the child onto one, read its keys and read/write the self
profile, but none of it crossed UniFFI.

Core:
- Wallet::keys() -> WalletKeys { view_key, spend_key: Option<String> }: two
  query_key calls against the file the RPC has open. A view-only wallet's -29
  is spend_key: None, not an error. WalletKeys' Debug redacts both halves.
- Node::wallet_keys() mirrors wallet_create/wallet_seed; refuses locally when
  no wallet is configured.
- Node::active_wallet_filename() -> Option<String>: the file the child is
  pointed at, None until wallet-child settings exist, so a client can mark the
  open row.

SDK (UniFFI):
- records WalletRow / WalletKeys / SelfProfile, and Wire::{wallets,
  open_wallet, active_wallet_filename, wallet_keys, self_profile,
  set_self_profile, push_self_profile}.
- The rule the clients must express is in the docs: the seed and the private
  keys come from the OPEN wallet, so there is deliberately no accessor that
  reads another saved wallet's secrets without opening it.

docs/WALLET.md (catalogue + 'secrets belong to the open wallet'),
docs/THREAT_MODEL.md (the new on-demand-display exposure surface) and the SDK
README are updated in the same commit.
2026-09-22 00:25:33 -04:00
..
backup.rs feat(core): zeroize in-memory secret material (Noise/Ed25519/X25519/store key) 2026-09-12 13:55:07 -04:00
cuprate.rs fix(cuprate): seed XDG so Android parse does not poison LazyLock 2026-09-19 17:54:44 -04:00
dispatch.rs chat: send and receive as ratchet frames through the outbox payload 2026-09-16 19:02:52 -04:00
file.rs Merge branch 'main' into wt/t_fc02d8b6 2026-09-12 04:11:00 +00:00
frame.rs Add Noise IK encrypted stream over Arti. 2026-09-10 02:07:40 -04:00
hs.rs feat(core,sdk): explicit Tor lifecycle — stop, flush, observable state 2026-09-12 15:10:29 -04:00
lib.rs store: a wallet catalogue in the encrypted db 2026-09-21 10:21:48 -04:00
loc.rs feat(core): zeroize the profile/loc signing copy and the TUI passphrase buffer 2026-09-12 15:41:54 -04:00
main.rs fix(cli): hide store passphrase like a password prompt 2026-09-10 21:10:50 -04:00
node.rs sdk: expose the wallet catalogue, the open wallet's keys, and the self profile 2026-09-22 00:25:33 -04:00
outbox.rs chat: send and receive as ratchet frames through the outbox payload 2026-09-16 19:02:52 -04:00
pay.rs feat: tip frame (sign/verify/encode/decode), wallet balance + receive address, F6 wallet screen with QR, dispatch Kind::Tip 2026-09-12 23:13:22 -04:00
profile.rs feat(core): zeroize the profile/loc signing copy and the TUI passphrase buffer 2026-09-12 15:41:54 -04:00
qr.rs feat(core): zeroize in-memory secret material (Noise/Ed25519/X25519/store key) 2026-09-12 13:55:07 -04:00
ratchet.rs ratchet: reject frames under MIN_FRAME_LEN before indexing the version byte 2026-09-16 19:50:36 -04:00
ratelimit.rs feat: incoming rate limit, identity backup, v0.2.0 2026-09-10 14:50:01 -04:00
sanitize.rs [verified] sanitize peer chat/control/bidi before store and TUI render 2026-09-11 23:42:48 -04:00
session.rs Merge branch 'main' into feat/zeroize-secrets 2026-09-12 19:06:50 +00:00
store.rs store: a wallet catalogue in the encrypted db 2026-09-21 10:21:48 -04:00
tui.rs Merge PR #143: node -- remember a created wallet in the store catalogue 2026-09-21 12:11:19 -04:00
wallet.rs sdk: expose the wallet catalogue, the open wallet's keys, and the self profile 2026-09-22 00:25:33 -04:00
wallet_child.rs wallet: show the chain daemon's sync height and target on the child status 2026-09-19 19:38:52 -04:00