Skip to content

Sovereign: build node-sharing controls and wallet connection instructions #2539

Open

Description

@VijitSingh97

What's the problem

An owner has no way to let a wallet use the Monero node Pithead already runs, and no page that gives the wallet exactly what it needs or reviews the step that exposes the node to the internet. #2538 builds the restricted, revocable sharing contract on the host; this issue is the UI that consumes it. The original body specified two standalone screens (mockups 27 and 28) from the 36-screen Sovereign scope. The lean UI (#3566) has four pages and one Advanced drawer, does not map this issue, and forbids work on the current dashboard, so those screens are not built as drawn. The need is kept and re-scoped to a Node sharing group inside Settings > Advanced > Node and network (#2530), reached from the Advanced drawer.

What it impacts

Owners who want a wallet to use their node, on the appliance and on DIY with a login. DIY without a login has the settings editor off, so the group is read-only there (#3566 section J). It adds no page and no counted control, so the ten-control budget (#3566 A2) is unchanged. Owners who do not share are unaffected: sharing is off in every privacy profile and choosing a profile never changes it.

How I found it

From the previous body of this issue, the 2026-09-23 investigation brief (no sharing or wallet-connection code in the dashboard), the developer's 2026-10-21 check of develop (only the existing monero.rpc_lan_access setting and generic Monero fields, no sharing contract) and a PR search on 2026-10-27 (none owns this issue; #2782, which mentioned it, is closed unmerged). The lean roadmap lists #2538 and #2539 as P4, later, only on demand, and says node sharing is its own feature, off in every profile. The owner ruled on 2026-10-27 that deferred work may be picked up and that old-UI stories are adapted to the new UI or closed. #2514 (shared review flow) is closed and folded into #2530. #3566 sections A, F, G and J set the page rules but do not name this issue, so placing the group under Advanced > Node and network is this rewrite's reading, not an owner decision. Nothing was run for this rewrite.

How important is it

Low and deferred: lean roadmap P4, later, only on demand. Node sharing is a new security-sensitive feature that is not on the path to the lean cutover. It cannot start until #2538 (open; backend contract with independent security review) lands, and it cannot integrate until the Advanced drawer sections of #2530 land (#2530 waits on the shell #2513 and the configuration model #3557). It is kept so it can be picked up when capacity allows.

Acceptance criteria

The sharing contract (modes, listeners, firewall, authentication, resource bounds, revocation) is #2538 and is used as is. This issue is the UI; wording and connection examples come from the host/API contract at implementation time, not from the 2026-09 mockups.

  • State: the group shows sharing intent, applied state and externally measured reachability as three separate values. It offers only the LAN, Tor and public choices the backend reports as supported and shows the backend's reason for each unavailable one. Mode names come from Sovereign: add a restricted, revocable Monero wallet-node sharing contract #2538 and never reuse Performance, Balance or Privacy.
  • Connection details: for the applied mode it shows network, host or onion address, port, TLS state, username and proxy setting, with wallet setup instructions built from those values. No port or scheme is a hardcoded default; a fixture with non-default values proves the page and the copy string follow the contract.
  • Secrets: host and onion address are masked in summaries and shown on deliberate reveal. The password is shown only after an authorized reveal, and the default copy string, logs, audit diffs and telemetry never contain it; a test searches all of them for the fixture password. No field asks for a seed or spend key.
  • Service separation: the instructions name the restricted wallet-node RPC as the only endpoint a wallet client uses, say that P2P, admin RPC, ZMQ, dashboard access and wallet RPC are not shared, and say that opening P2P alone does not configure a wallet.
  • Public exposure: before a public mode can be applied, the review step says in plain sentences that the public address becomes visible, names the bandwidth and abuse risks and the required authentication and restricted RPC, and lists manual router, firewall, IPv6 and CGNAT checks. The stack never forwards ports, and advertising the node is a separate opt-in that is off by default.
  • Reachability: local health never shows as external reachability. The group shows externally measured evidence (reachable, unreachable or not tested, with its time), and the unreachable and CGNAT fixtures show the manual checks instead of an error.
  • Transport and trust: the instructions explain TLS versus trusted-LAN HTTP and which wallet setups can use a Tor proxy. Encrypted transport alone never marks the node trusted or tells the wallet to trust it.
  • Review and revoke: every exposure change goes through the shared preview-and-confirm dialog with the exact change in plain sentences and the host's typed confirmations unchanged; the host stays the authority. Turning sharing off shows revoked only after the host verifies the listener and credential are gone, and the mining fixture is unaffected. Failed apply and failed revoke show the failure, not success.
  • Missing backend capability is stated in the UI; nothing is shown as fabricated live data.
  • Placement: only in Settings > Advanced > Node and network (Sovereign: organize mining and advanced settings without losing fields #2530), reached from the Advanced drawer, with no page and no counted control outside Advanced. The v2.1.0 lean UI spec: four pages, one profile control, an Advanced drawer #3566 control-budget fixture test passes on appliance, DIY with login and DIY without login. With the editor off the group is read-only, shows the single notice naming the CLI route, and reveals no secret.
  • Accessibility: keyboard-only operation with visible focus, WCAG AA contrast in light and dark, state shown in words as well as colour, and no horizontal scroll at 375 px. Sanitized screenshots at 375 px and desktop are attached to the PR.
  • Tests walk LAN, Tor, public, unreachable/CGNAT, failed apply and revoke against fake endpoints, and the PR records a security review of the wording and connection examples.
  • The PR updates the matching section of docs/dashboard.md, adds no explanatory code comments, does not touch the current dashboard UI, and deploys nothing and changes no real miner or node.

Possible solutions

Earlier scope, kept as evidence only (superseded 2026-10-27; do not implement from it)

What's the problem

Parent: #2478 · Milestone: Sovereign UI — post-2.0 · After 2.0.0 GA; not a GA release blocker.

Deliverable

Give users the requested sharing switch plus the exact information a wallet needs, with a review step for internet exposure.

  • Work type: New UI consuming restricted sharing contract.
  • Design references: 27 Node sharing; 28 public node review (existing Sovereign mockups attached below; sample data, not runtime evidence).
  • Inventory coverage: New wallet-client setup flow.

Existing Sovereign mockups

Existing concept images with sample data. The acceptance criteria and validated host/API contracts take precedence over illustrative labels or values.

27 · Node sharing

Sovereign — Node sharing

28 · Public node review

Sovereign — Public node review

Complete 36-image gallery · Parent: #2478

what it impacts

Dependencies and boundaries

Build on #2538, #2514.

Use the current host/API/schema contract when implementation starts; the design inventory is a baseline, not proof that develop has not changed. Preserve the parent accessibility, privacy, offline and authority rules. Any missing backend capability must be explicit, never represented by fabricated live data.

How I found it

Verification

Walk through LAN, Tor, public, unreachable/CGNAT, failed apply and revoke scenarios using fake endpoints; security-review the copy and connection examples. Follow #2478's required checks and attach sanitized visual evidence to the implementing PR. This issue does not authorize a live deployment or changes to miners/nodes.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Acceptance criteria

  • Display off/private/public intent and actual applied state separately; show supported LAN/Tor/public choices and unavailable reasons from the backend.
  • Provide network, host/onion, port, TLS, username and proxy details, authorized secret reveal/copy and wallet instructions. Do not hardcode illustrative 18089/443 ports as universal defaults.
  • Distinguish Monero P2P (commonly 18080) from wallet-node RPC, admin RPC, ZMQ and wallet RPC; opening P2P alone does not configure a wallet client.
  • Explain public IP exposure, bandwidth/abuse risks, authentication and restricted RPC before applying public mode; guide manual router/firewall/IPv6/CGNAT checks and show actual external reachability evidence.
  • Explain TLS versus trusted-LAN HTTP and wallet Tor/proxy compatibility. Do not automatically mark a node trusted merely because transport is encrypted.
  • Review exact exposure changes, keep advertising opt-in, support revoke/off with verified result, and never request seed/spend keys or put passwords in default copy strings/logs.

possible solutions

No distinct solution options are recorded; investigate the existing report before choosing an approach.

Activity

  1. added
    enhancement
    dashboard
    monero
    security
    on Sep 22, 2026
  2. pithead-developer commented on Sep 24, 2026

    @pithead-developer
    Contributor

    Investigation brief (verified 2026-09-23, pithead-ro develop@a5af51a)

    Triage recommendation: MOVE-sovereign-ui — correctly milestoned already, explicitly non-GA-blocking per the issue author, and blocked on two open prerequisite issues (#2538, #2514) with no security/Tari-fork/data-loss reason to pull it into 2.0.0. No corrections to the original brief's substance were needed; this pass re-verified every file:line and GitHub state claim directly (grep against current develop head, gh issue view on #2538/#2514/#2478/#2539, gh pr list for stray implementation PRs) rather than trusting the prior investigator's citations.

  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2538: the restricted, revocable wallet-node sharing contract must land before this UI can consume its profiles, applied state, connection details, exposure preview and verified revocation. #2538 and the shared review-flow prerequisite #2514 are both still open.

    Checked current origin/develop at a10dbf0. Existing monero.rpc_lan_access rendering and the generic Monero configuration fields provide LAN controls, but do not supply the sharing contract required by this issue. No existing PR owns #2539; no source edits or tests were performed.

    Resume after #2538 supplies the implemented and reviewed host/API/schema contract and #2514 supplies the shared review flow. Implementation must also follow the latest parent #2478 direction to build on the v2.1.0 configuration model rather than extending the current dashboard UI.

  4. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Blocked on #2538. Blocked on #2538: this UI requires its implemented and reviewed sharing contract; #2514 remains an additional prerequisite. Verified current develop and posted the blocking explanation on #2539. No source changes or tests were performed; resume when those prerequisites land, following the parent’s updated UI scope.

    The runner resumes this issue when that one closes.

  5. added
    blocked
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockeddashboardenhancementmonerosecurity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions