Skip to content

Dream Mode: make audit-bundle signing attestable (persisted key) #935

Closed

Description

@AmitoVrito

Follow-up to #933 (#749).

DreamMode defaults its SigningPolicy to SigningPolicy.ed25519() with no key, which generates a fresh ephemeral keypair per instance. The nightly audit bundle is self-signed with a key that is never persisted or attestable, so verify() returns UNVERIFIABLE (a test asserts this). The signature therefore only proves internal integrity — which the hash chain already guarantees — and can't tie one night's bundle to a known identity.

Proposal: accept a caller-supplied signing key / key path (the constructor already takes signing_policy), persist a per-install key by default, and surface in the morning briefing when the bundle is non-attestable. Additive, no breaking change.

Activity

  1. added
    enhancement
    on Aug 16, 2026
  2. added a commit that references this issue on Aug 18, 2026
    a50e1fb
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions