Description
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.
- Answered "only imported keys": drop the open point from
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.mdentry that reacted.
Activity
tcoratger commentedon Nov 21, 2026
New report: ethereum/keymanager-APIs#99 drops the
0xprefix from thepubkeyof the keystore example, as the ERC-2335 test vectors write it. EthLib reads a keystorepubkeyas bare hex, so it refuses the current example; nothing changes here when the PR merges.tcoratger commentedon Nov 25, 2026
Status on 2026-11-25: keymanager-APIs#99 merged on 2026-11-25; EthLib already reads a keystore
pubkeyas bare hex, so nothing changes beyond the next pin move. #98 is open with no answer.tcoratger commentedon Nov 26, 2026
Folded into #3632, which now tracks every open upstream report in one checklist, with EthLib's action for each outcome.