Skip to content

docs(adr): close operator-key-rotation §6 deferred hot-signing alternatives - #557

Merged
alpergundogdu merged 1 commit into
mainfrom
adr-545-key-rotation-deferred-items
May 14, 2026
Merged

alpergundogdu merged 1 commit into
mainfrom
adr-545-key-rotation-deferred-items

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

Closes #545.

The two "deferred design decisions" at Appendix: Operator Key Rotation § 6 are both obsoleted by ADR 024 §3 smartsessions:

  • Hardware-wallet / HSM hot signing. Confirmed infeasible per ADR 012 § Consequences — physical confirmation latencies of 2–5 seconds per signature cannot match the per-MB voucher cadence. Not a real production option.
  • Delegated voucher-signer contract path (previously #190). Superseded — smartsessions provides the same in-memory hot-signing capability with the same revocation guarantees, without requiring a bespoke contract.

Replaces the Deferred design decisions: bullet with an explicit "out-of-scope production hot-signing alternatives" paragraph stating that ADR 024 §3 erc7579/smartsessions is the only supported production hot-signing path.

Follow-up: #190 can be closed now that this PR formally supersedes it.

…atives

The two "deferred design decisions" in appendix-operator-key-rotation
§6 are both obsoleted by ADR 024 §3 smartsessions:

- Hardware-wallet / HSM hot signing is confirmed infeasible per
  ADR 012 § Consequences — 2-5s physical confirmation latencies cannot
  match per-MB voucher cadence.

- Delegated voucher-signer contract path (#190) is similarly
  superseded — smartsessions provides the same hot-signing capability
  without a bespoke contract.

Replaces the "Deferred design decisions:" bullet with an explicit
"out-of-scope production hot-signing alternatives" paragraph stating
that smartsessions is the only supported production hot-signing path.

Closes #545. #190 can be closed as a follow-up.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the 'appendix-operator-key-rotation.md' ADR to clarify that hardware-wallet and HSM-backed voucher signing are infeasible due to latency, designating ERC-7579 smart sessions as the exclusive production path. The reviewer suggests removing historical context and references to dropped features, such as issue #190, to keep the documentation canonical and focused on the current design.

- **Deferred design decisions:**
- Hardware-wallet-based hot signing for production EOA operators ([ADR 012 §HW-wallet pattern](012-client.md)). The runbook assumes software keystores; HSM/HW-wallet flows are a deployment concern.
- Delegated voucher-signer support for clients without smart-account migration (tracked as the unresolved item in [#190](https://github.com/decdn/decdn/issues/190)).
- **Out-of-scope production hot-signing alternatives.** Hardware-wallet and HSM-backed voucher signing are confirmed infeasible per [ADR 012 § Consequences](012-client.md#consequences) — physical confirmation latencies of 2–5 seconds per signature cannot keep up with the per-MB voucher cadence. A separate delegated-voucher-signer contract path (previously tracked as the unresolved item in [#190](https://github.com/decdn/decdn/issues/190)) is similarly superseded. The production hot-signing path is [ADR 024 §3 `erc7579/smartsessions`](024-account-abstraction.md#3-session-keys--deferred-to-production-via-erc-7579-smartsessions) exclusively; no other production hot-signing pattern is supported.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The inclusion of historical narratives and references to dropped features (such as the 'delegated-voucher-signer contract path' and the reference to issue #190) violates the general rule for maintaining canonical documentation. ADRs and their appendices should focus on the current design and its constraints rather than the history of how those decisions were reached. This context is better suited for the pull request description or issue discussions.

Suggested change
- **Out-of-scope production hot-signing alternatives.** Hardware-wallet and HSM-backed voucher signing are confirmed infeasible per [ADR 012 § Consequences](012-client.md#consequences) — physical confirmation latencies of 2–5 seconds per signature cannot keep up with the per-MB voucher cadence. A separate delegated-voucher-signer contract path (previously tracked as the unresolved item in [#190](https://github.com/decdn/decdn/issues/190)) is similarly superseded. The production hot-signing path is [ADR 024 §3 `erc7579/smartsessions`](024-account-abstraction.md#3-session-keys--deferred-to-production-via-erc-7579-smartsessions) exclusively; no other production hot-signing pattern is supported.
- **Out-of-scope production hot-signing alternatives.** Hardware-wallet and HSM-backed voucher signing are confirmed infeasible per [ADR 012 § Consequences](012-client.md#consequences) — physical confirmation latencies of 2–5 seconds per signature cannot keep up with the per-MB voucher cadence. The production hot-signing path is [ADR 024 §3 erc7579/smartsessions](024-account-abstraction.md#3-session-keys--deferred-to-production-via-erc-7579-smartsessions) exclusively; no other production hot-signing pattern is supported.
References
  1. Avoid including historical narratives, iteration details, or information about dropped features in canonical documentation (e.g., ADRs). Such context should reside in issue discussions or merge commit messages to maintain a clean record of the current design.

@alpergundogdu
alpergundogdu merged commit a059bef into main May 14, 2026
11 checks passed
@alpergundogdu
alpergundogdu deleted the adr-545-key-rotation-deferred-items branch May 14, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Appendix: operator-key-rotation §6 — close or specify HW-wallet hot signing and delegated voucher-signer deferrals

1 participant