Skip to content

Document macOS keychain prompts and update the AGENTS.md auth command list - #61

Merged
sionsmith merged 2 commits into
osodevops:mainfrom
aberoham:docs/macos-keychain-and-agents-refresh
Aug 19, 2026
Merged

Document macOS keychain prompts and update the AGENTS.md auth command list#61
sionsmith merged 2 commits into
osodevops:mainfrom
aberoham:docs/macos-keychain-and-agents-refresh

Conversation

@aberoham

Copy link
Copy Markdown
Contributor

Documentation only. No code changes.

docs/troubleshooting.md gains a "macOS keychain prompts" section next to the existing Windows and Linux keyring sections. It explains the cause: macOS binds keychain access grants to the exact code signature of the binary, the released binaries are ad-hoc signed, so every upgrade or source build counts as a different application and prompts again, and "Always Allow" does not carry over. It shows how to inspect the stored items with security find-generic-password -s teams-cli, and documents a workaround: re-sign the binary with a stable self-signed code-signing certificate after each upgrade or build.

AGENTS.md gets two small updates. The auth command inventory adds refresh, consent-url, and doctor, which shipped in earlier releases but were missing from the list. The development gotchas note that each local build triggers a fresh keychain prompt on macOS for the same signature reason, with a pointer to the new troubleshooting section and to TEAMS_CLI_DISABLE_KEYRING=1 for tests.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NXWLJ9g87M3GtLSACr2gmi

aberoham and others added 2 commits August 15, 2026 12:34
docs/troubleshooting.md gains a macOS keychain section alongside the
existing Windows and Linux keyring sections: why grants bind to the
binary signature, why upgrades and source builds re-prompt, and the
local re-signing workaround. AGENTS.md's auth command list catches up
with refresh, consent-url, and doctor, and the development gotchas note
the per-binary keychain grant behavior for contributors testing against
the real keychain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NXWLJ9g87M3GtLSACr2gmi
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sionsmith
sionsmith merged commit 7b38f1a into osodevops:main Aug 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants