Skip to content

docs: follow EthLib's open report to keymanager-APIs #3508

Not planned

Description

@tcoratger

EthLib's Keymanager API work found one open question in keymanager-APIs and asked it upstream; this issue follows it until EthLib has reacted to the answer.
Size: S

The problem

When a validator imports keystores with a slashing-protection file, the file may also hold records of keys that are not imported.
The source does not say whether those records are loaded.
EthLib chose to load only the records of the imported keys (closed #2136), and recorded the choice in SOUNDNESS.md § Keymanager API.

The idea

  • keymanager-APIs#98: are slashing-protection records loaded for keys that are not imported?
    • Answered "only imported keys": drop the open point from SOUNDNESS.md.
    • Answered "all keys": change the import rule and its theorem, which then needs a statement audit.
    • Closed with no answer: keep the reading, and say so in SOUNDNESS.md.

Two other reports to this repository merged on 2026-11-20 (#95 and the 404 rule); the pin move that follows them has its own issue.

Example

A file holds records for keys A and B; the request imports only A.
If the client loads B's records too, a later import of B starts with B's history; if not, B starts empty.
The two readings lead to different answers when B's keystore is imported later.

Done when

  • The box is ticked with the EthLib PR or SOUNDNESS.md entry that reacted.

Activity

  1. added
    consensus
    type: docs
    on Nov 20, 2026
  2. tcoratger commented on Nov 21, 2026

    @tcoratger
    CollaboratorAuthor

    New report: ethereum/keymanager-APIs#99 drops the 0x prefix from the pubkey of the keystore example, as the ERC-2335 test vectors write it. EthLib reads a keystore pubkey as bare hex, so it refuses the current example; nothing changes here when the PR merges.

  3. tcoratger commented on Nov 25, 2026

    @tcoratger
    CollaboratorAuthor

    Status on 2026-11-25: keymanager-APIs#99 merged on 2026-11-25; EthLib already reads a keystore pubkey as bare hex, so nothing changes beyond the next pin move. #98 is open with no answer.

  4. tcoratger commented on Nov 26, 2026

    @tcoratger
    CollaboratorAuthor

    Folded into #3632, which now tracks every open upstream report in one checklist, with EthLib's action for each outcome.

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

    consensustype: docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions