Skip to content

Remote tool approval stage 4: durable approvals via data-protection keychain with team access group #4326

Not planned

Description

@mstomar125

The approval key lives only in daemon memory (core #4325), so every approval ends when the daemon restarts. Make approvals durable without trusting a stored item a same-user process could plant: store the key in the data-protection keychain with a team keychain-access-groups entitlement (needs an App ID and Developer ID provisioning profile, nodespaced wrapped in an app-like bundle with embedded.provisionprofile, an entitlements file, and changes to scripts/build-pkg.sh, release workflow, the LaunchAgent plist and daemon_setup.rs). Dev builds must fail closed. Testable only on a disposable macOS user or VM with a signed, profiled build. Also covers moving secret values and the names index to that keychain (today security can still overwrite credential values). Needs the Apple account holder.

Activity

  1. mstomar125 commented on Nov 25, 2026

    @mstomar125
    ContributorAuthor

    Decision (owner, 2026-11-25): build it with the Apple account on the owner's device. Whatever cannot be verified without a provisioned, signed build on a disposable macOS user or VM is split into a new issue for Michael.

  2. self-assigned this
    on Nov 25, 2026
  3. malibio commented on Nov 28, 2026

    @malibio
    Collaborator

    Moved to NodeSpace: the task "Remote tool approvals survive a daemon restart and rest on a team-keychain item that a same-user process cannot plant" (01d07949-7804-4116-9774-6a6ff0836741) in the NodeSpace workspace. The team's work is tracked there, so this GitHub copy is closed to keep its status in one place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions