Skip to content

M1: Harden SessionSealer and remove the WriteQueue PIK fallback #71

Done

Description

@h45sh

Context

src/ether/common/session_sealer.py has a two-phase journal and Ed25519 signing, but key-rotation metadata is not persisted and require_trusted_key is off by default. Exported surfaces are not uniformly redacted. src/ether/graph/write_queue.py still falls back to a PIK lookup when a batch offset is missing, which can attach edges to the wrong node.

Acceptance criteria

  • Require an external trusted public key in strict mode.
  • Persist and verify CryptoEngine key-rotation metadata.
  • Redact secrets from every exported surface, including event_log.
  • Remove the WriteQueue PIK fallback; fail on a missing batch offset.
  • Add a crash test between the two sealing phases.

Out of scope

Changing the receipt schema version.

Part of #24

Activity

  1. added this to the M1 Truth milestone on Nov 29, 2026
  2. added
    type:security
    area:graph
    priority:P1
    on Nov 29, 2026
  3. added a commit that references this issue on Dec 1, 2026
    b36148c
  4. h45sh commented on Dec 1, 2026

    @h45sh
    OwnerAuthor
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:graphpriority:P1type:security

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions