You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remote Monero node over RPC-SSL with certificate pinning (--rpc-ssl, --rpc-ssl-fingerprint) #2489
TLS to the Monero node with certificate pinning. Upstream (since v4.4): --rpc-ssl Enable SSL on RPC connections to the Monero node and --rpc-ssl-fingerprint base64-encoded fingerprint of the Monero node's certificate (optional, use it for certificate pinning) (docs/COMMAND_LINE.MD, RPC-SSL).
Today
monero.mode: remote dials --host HOST --rpc-port PORT in the clear (docker-compose.yml:410-413). For a LAN node that is fine. For a node reached over the internet, RPC (the block template, the submitted block) travels unauthenticated and unencrypted, and #1897 already records that the remote node cannot even carry credentials. Under Tor the socat bridge (build/p2pool/entrypoint.sh:55-80) forwards the raw TCP stream, so TLS would pass through it unchanged.
what it impacts
Impact is not separately established in the existing report; confirm the affected users or behavior.
How I found it
Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.
how important is it
Importance has not been assessed explicitly; triage must state the priority and its reason.
acceptance criteria
Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.
possible solutions
Proposed shape
monero.remote.rpc_ssl: false → --rpc-ssl; monero.remote.rpc_ssl_fingerprint: "" → --rpc-ssl-fingerprint (base64 SHA-256 SPKI, validated as base64 of 32 bytes).
The wizard's remote-node probe (lib/pithead/10-node-probe.sh) learns to probe over TLS and to print the node's fingerprint so the operator can pin it, with the same "only trust this if you are not being MITM'd" caveat upstream prints.
doctor checks the pin still matches on every run and turns the node card red on mismatch rather than letting P2Pool retry forever.
Also covers the payout-confirmation wallet's RPC to the same node when it moves to a remote node (today it is local-only).
Pairs with #1897 (remote RPC credentials); land the two under one monero.remote schema change.
Still valid.monero.mode: remote dials monerod RPC in the clear — docker-compose.yml:410-416 renders only --host/--rpc-port/--rpc-login/--zmq-port. config.reference.json:33-37's monero.remote block has no rpc_ssl/rpc_ssl_fingerprint keys, and no code anywhere in the repo renders --rpc-ssl or --rpc-ssl-fingerprint. P2Pool is pinned at v4.18.1 (build/p2pool/Dockerfile:4-5), which upstream confirms carries both flags since v4.4 — the gap is that Pithead never wired them, not a version mismatch. Under Tor the socat bridge (build/p2pool/entrypoint.sh:65-66) is a plain TCP forward, so TLS would ride through it unchanged once added.
Root cause. Pure omission — never implemented, not broken or superseded by a merged PR (none found referencing rpc_ssl/rpc-ssl; PR search against pithead confirms no hits).
Fix shape (corrected — two render sites, not one). The p2pool command line is rendered in two independent places: docker-compose.yml (Docker Compose path) and lib/pithead/36-quadlet-units.sh:246 (the Podman Quadlet appliance runtime, its own documented "second render target beside docker-compose"). Both need monero.remote.rpc_ssl (bool, default false) and monero.remote.rpc_ssl_fingerprint (string, base64 SHA-256 SPKI, validated as base64 of 32 bytes) added to the config schema and rendered as --rpc-ssl/--rpc-ssl-fingerprint conditionally, same pattern as the existing --rpc-login conditional already proven in both files. The Quadlet path also requires updating the tier-1 byte-for-byte fixtures at os/quadlet/p2pool.container, os/quadlet/local/p2pool.container and os/quadlet/payout/p2pool.container. That's still usable as a minimal land — an operator can pin a fingerprint obtained by hand. Wizard-probe TLS support and doctor's pin-mismatch check are real but separable UX, not required for a minimal land.
Evidence tier. file:line, direct read of develop head (a5af51a). No CHANGELOG entry, no open or merged PR touches this.
Tier requirement (corrected). Under tier-follows-the-path: the minimal land touches both a compose render (docker-compose.yml) and an os/ render (36-quadlet-units.sh + os/quadlet/ fixtures), so it needs both a tier4-e2e leg (compose path) and a tier4-kvm leg (os/Quadlet path) on the PR head — not deferred to the probe/doctor fast-follow. The fast-follow (wizard probe + doctor pin-mismatch) needs its own separate tier4-e2e leg as originally stated.
Wizard/doctor UX same PR or fast-follow? Default: fast-follow — schema+render (both sites) is already useful alone.
Duplicates/blockers. None blocking. Sibling to #1897 (same schema area). Child of tracker #2481; confirmed by GitHub milestone field (not just tracker text) that #2489 itself carries milestone "v2.x - post-GA", which per the ground rules is frozen until GA.
Triage recommendation: MOVE-2.0.x (advisory only — v2.x - post-GA is frozen until GA, so this is a recommendation for the owner to action post-freeze, not an executable move). Real security gap for anyone already running a remote node, but the parent tracker and the issue's own milestone field both scope this as non-blocking for the 2.0.0 cut; land it in the first post-GA weeks rather than deferring to 2.1.
Verify against the code before relying on this; it was written by an investigator, not the implementer.
If implementation should proceed, may fingerprint discovery and doctor's pin-mismatch UI be deferred while this PR delivers validated TLS settings, both Compose and Quadlet rendering, and the TLS-aware preflight needed to accept remote nodes? Default: use that scope because it delivers usable TLS without expanding into diagnostics UI?
Ruling: Honor the owner’s 2026-10-16 decision on #2481: this remains deferred, with any later return through the hidden Advanced options work in #2482. Keep #2489 open in v2.x - post-GA and preserve the investigation. Do not start the proposed TLS subset or settle the fingerprint-discovery and doctor UI split now; implementation scope is considered when the owner reactivates that work.
Activity
pithead-developer commentedon Sep 24, 2026
Investigation brief (operator pre-read, 2026-09-23, corrected)
Still valid.
monero.mode: remotedials monerod RPC in the clear — docker-compose.yml:410-416 renders only--host/--rpc-port/--rpc-login/--zmq-port.config.reference.json:33-37'smonero.remoteblock has norpc_ssl/rpc_ssl_fingerprintkeys, and no code anywhere in the repo renders--rpc-sslor--rpc-ssl-fingerprint. P2Pool is pinned at v4.18.1 (build/p2pool/Dockerfile:4-5), which upstream confirms carries both flags since v4.4 — the gap is that Pithead never wired them, not a version mismatch. Under Tor the socat bridge (build/p2pool/entrypoint.sh:65-66) is a plain TCP forward, so TLS would ride through it unchanged once added.Root cause. Pure omission — never implemented, not broken or superseded by a merged PR (none found referencing rpc_ssl/rpc-ssl; PR search against pithead confirms no hits).
Fix shape (corrected — two render sites, not one). The p2pool command line is rendered in two independent places: docker-compose.yml (Docker Compose path) and
lib/pithead/36-quadlet-units.sh:246(the Podman Quadlet appliance runtime, its own documented "second render target beside docker-compose"). Both needmonero.remote.rpc_ssl(bool, default false) andmonero.remote.rpc_ssl_fingerprint(string, base64 SHA-256 SPKI, validated as base64 of 32 bytes) added to the config schema and rendered as--rpc-ssl/--rpc-ssl-fingerprintconditionally, same pattern as the existing--rpc-loginconditional already proven in both files. The Quadlet path also requires updating the tier-1 byte-for-byte fixtures atos/quadlet/p2pool.container,os/quadlet/local/p2pool.containerandos/quadlet/payout/p2pool.container. That's still usable as a minimal land — an operator can pin a fingerprint obtained by hand. Wizard-probe TLS support and doctor's pin-mismatch check are real but separable UX, not required for a minimal land.Evidence tier. file:line, direct read of develop head (a5af51a). No CHANGELOG entry, no open or merged PR touches this.
Tier requirement (corrected). Under tier-follows-the-path: the minimal land touches both a
composerender (docker-compose.yml) and anos/render (36-quadlet-units.sh + os/quadlet/ fixtures), so it needs both a tier4-e2e leg (compose path) and a tier4-kvm leg (os/Quadlet path) on the PR head — not deferred to the probe/doctor fast-follow. The fast-follow (wizard probe + doctor pin-mismatch) needs its own separate tier4-e2e leg as originally stated.Rulings needed.
Duplicates/blockers. None blocking. Sibling to #1897 (same schema area). Child of tracker #2481; confirmed by GitHub milestone field (not just tracker text) that #2489 itself carries milestone "v2.x - post-GA", which per the ground rules is frozen until GA.
Triage recommendation: MOVE-2.0.x (advisory only — v2.x - post-GA is frozen until GA, so this is a recommendation for the owner to action post-freeze, not an executable move). Real security gap for anyone already running a remote node, but the parent tracker and the issue's own milestone field both scope this as non-blocking for the 2.0.0 cut; land it in the first post-GA weeks rather than deferring to 2.1.
Verify against the code before relying on this; it was written by an investigator, not the implementer.
pithead-developer commentedon Oct 27, 2026
Questions before work continues (answer here, then remove the
questionlabel):pithead-architect commentedon Oct 27, 2026
Ruling: Honor the owner’s 2026-10-16 decision on #2481: this remains deferred, with any later return through the hidden Advanced options work in #2482. Keep #2489 open in
v2.x - post-GAand preserve the investigation. Do not start the proposed TLS subset or settle the fingerprint-discovery and doctor UI split now; implementation scope is considered when the owner reactivates that work.