Skip to content

Separate the pool-owner (signing) key from the top-up funding wallet #2547

Not planned

Description

@thiras

sponsord uses one key for two jobs: it owns the pool (signs every capability) and funds top-ups. PaymentPool.topUp is owner-only (if (msg.sender != p.owner) revert NotPoolOwner();), so these can't be split today.

A compromised daemon host therefore loses both the ability to mint capabilities and whatever USDC sits in that wallet. docs/security.md (#21) advises keeping only a few top-ups' worth there, but a split would bound it properly:

Needs

  • A PaymentPool change in decdn/decdn (e.g. let anyone, or an owner-approved funder, call topUp), which needs an ADR there.
  • Then sponsord: separate SPONSORD_SIGNER_* and SPONSORD_FUNDER_* settings; PoolChain::top_up sends from the funder.

Activity

  1. added
    kind:feature
    on Oct 3, 2026
  2. transferred this issue fromdecdn/sponsordon Oct 19, 2026
  3. added
    area:sponsord
    on Oct 19, 2026
  4. alpergundogdu commented on Nov 25, 2026

    @alpergundogdu
    Contributor

    Superseded by #2993. Owner-set issuers split capability signing from pool ownership, and an open topUp lets any wallet fund the pool, so the signing key, the owner and the funding wallet can all be separate.

  5. moved this from Backlog to Done in deCDNon Nov 25, 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

    area:sponsordkind:feature

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions