8000 T132 — Name each software key in `min auth status` · Issue #3328 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T132 — Name each software key in min auth status #3328

Closed

Description

@norrietaylor

Task

slice size difficulty model who estimated lines
Linux hosts hold the proxy's keys M routine standard an agent 370 (170 code, 200 tests)

On a Linux desktop with no TPM, min auth status names each proxy key held in Secret Service as a software key that a program running as the user can copy.

Covers:

  • BEP-090

Layers:

  • keys:
    • crates/bep/src/keys.rs: HeldKey gains store(&self) -> Option<&'static str>, the name of the store that holds the key, with a default that returns None, and the macOS KeychainKey returns keychain
    • crates/bep/src/tpm.rs: TpmKey returns tpm from HeldKey::store
    • crates/bep/src/secret_service.rs: SecretServiceKey returns secret-service from HeldKey::store
    • crates/bep/src/linux_store.rs: LinuxKey returns the store of the key it holds from HeldKey::store, as its inherent store() names it
    • cargo nextest run -p bep each_held_key_names_its_store
  • publish:
    • crates/bep/src/publish.rs: PublishedKey carries the store that holds the key (keychain, tpm or secret-service), read through HeldKey::store, and an identity file an older bep wrote reads with no store
    • cargo nextest run -p bep the_published_identity_names_each_key_store
  • status:
    • crates/minimal/src/cmd/auth.rs: write_status reads the published identity at ~/.minimal/bep/identity.json and prints the line above for each key in Secret Service
    • cargo nextest run -p minimal auth_status_reports_software_key_custody

Waits on:

Plan block
### T132 — Name each software key in `min auth status`
  slice: S18
  kind: task
  covers: BEP-090
  size: M
  est: 170 code, 200 tests
  executor: agent
  difficulty: routine
  model: standard
  diagnostics: `min auth status` prints, after the sign-in line, one line for each proxy key in Secret Service: "The proxy's <role> key is a software key in Secret Service. A program running as your user can copy it.", pinned by auth_status_reports_software_key_custody; it prints nothing for a key in the TPM or the keychain
  observability: none: `min auth status` reads a published file and logs nothing, and `bep` logs the store of each key at start (T131)
  layers:
    - keys:
      - crates/bep/src/keys.rs: `HeldKey` gains `store(&self) -> Option<&'static str>`, the name of the store that holds the key, with a default that returns `None`, and the macOS `KeychainKey` returns `keychain`
      - crates/bep/src/tpm.rs: `TpmKey` returns `tpm` from `HeldKey::store`
      - crates/bep/src/secret_service.rs: `SecretServiceKey` returns `secret-service` from `HeldKey::store`
      - crates/bep/src/linux_store.rs: `LinuxKey` returns the store of the key it holds from `HeldKey::store`, as its inherent `store()` names it
      test: cargo nextest run -p bep each_held_key_names_its_store
    - publish:
      - crates/bep/src/publish.rs: `PublishedKey` carries the store that holds the key (`keychain`, `tpm` or `secret-service`), read through `HeldKey::store`, and an identity file an older `bep` wrote reads with no store
      test: cargo nextest run -p bep the_published_identity_names_each_key_store
    - status:
      - crates/minimal/src/cmd/auth.rs: `write_status` reads the published identity at `~/.minimal/bep/identity.json` and prints the line above for each key in Secret Service
      test: cargo nextest run -p minimal auth_status_reports_software_key_custody
  produces: none
  consumes:
    - crates/bep/src/linux_store.rs
  proof: On a Linux desktop with no TPM, `min auth status` names each proxy key held in Secret Service as a software key that a program running as the user can copy.
  depends on:
    - blocked by #3327

Activity

  1. minimal-foundry commented on Nov 14, 2026

    @minimal-foundry
    Contributor

    Done. #3466 merged.

    branch agent/3328-name-each-software-key-in-min-auth-status · epic #1501 · PR #3466

    round outcome job
    1 changed nothing: Revise round 1: the directive lists a failed 'tests' job and its aggregator 'ci-linux-native-success'. The log excerpt does not name a failing test. Its only error line is from the install-action step 44349951
    2 pushed 25701379
    3 pushed f4a4685b

    Updated 2026-11-16T22:52:24.568Z.

  2. added
    needs-humanAn agent handed off; a human must act, then clear this label. Set by defer and handoffs.
    on Nov 14, 2026
  3. removed
    needs-humanAn agent handed off; a human must act, then clear this label. Set by defer and handoffs.
    on Nov 16, 2026
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

    kind:taskA task the plan skill rendered; the body carries ## Taskmodel:standardA standard model: work that needs care, or routine work that is largesize:M200 to 500 net lines; one PR

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0