Skip to content

Warn user when a deprecated arkd signer key is detected in use after cutoff #923

Description

@arkana-ai-bot

Problem

When arkd rotates its signer key and sets a cutoff date, addresses derived from the old key become invalid after that date. Funds sent there get stuck: cooperative boarding is rejected by the server, and unilateral recovery only unlocks after boardingExitDelay (currently 90 days on mainnet).

Real case: a user had a pool auto-paying to their old boarding address. After the June 22 rotation (cutoff July 4), 3 UTXOs accumulated on the deprecated address with no UI warning. The user had no way to know anything was wrong.

Requested behaviour

After cutoff, whenever the wallet detects an address (Ark offchain address or boarding/onchain address) derived from a deprecated signer key:

  • Show a persistent warning on the receive screen
  • Explain that the address is no longer valid for new deposits
  • Show the correct current address (new signer key)
  • Optionally: detect UTXOs already received at the deprecated address and surface a recovery prompt

Context

  • Deprecated keys + cutoff dates are exposed via GetInfo → deprecated_signer_pub_keys
  • arkd rejects boarding inputs post-cutoff with "is a deprecated key since [date]" (internal/core/application/utils.go → validateVtxoScriptForSigners())
  • Boarding script: DefaultVtxoScript(userKey, serverSignerKey, boardingExitDelay) — unilateral exit via timelock becomes available after boardingExitDelay

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions