Skip to content

Stratum-over-TLS: encrypt the miner↔stack stratum link (follow-on to stratum auth #208) #261

Description

@VijitSingh97

Why

Stratum auth (#152 / #207 / #208) gates miner access to the stack's :3333 with a LAN password — but the stratum link itself is cleartext. Fine on a trusted LAN; the follow-on that both #208 and p2pool-starter-stack/rigforge#113 explicitly call out is to encrypt it with TLS, so the miner↔stack connection is confidential (not just access-controlled) even on a shared/untrusted network.

This issue tracks the stack (Pithead) side: offering/terminating stratum-over-TLS. The worker side is the companion p2pool-starter-stack/rigforge#115.

Scope (stack side)

Acceptance criteria

  • Stack can serve stratum over TLS behind a config knob (default off), with a documented cert/trust model.
  • A RigForge worker with pools[].tls: true connects over the encrypted link.
  • Cleartext stratum still works when the knob is off (no regression).

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestp2poolP2Pool sidechainsecuritySecurity-sensitive issue or hardening

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions