docs/keychain-prompts.md
CodexBar can trigger macOS Keychain prompts when an enabled provider imports browser cookies, reads a provider-owned OAuth item, or uses a CodexBar-owned cache entry. Chromium browser cookie import commonly asks for the browser's Safe Storage item, such as "Chrome Safe Storage", "Brave Safe Storage", or "Microsoft Edge Safe Storage".
CodexBar does not need your browser password. macOS owns the prompt, and the prompt should identify the app or binary that is requesting access. For support reports, include that requesting app/path when possible and do not paste passwords, cookie headers, OAuth tokens, API keys, or Keychain item values.
Deleting CodexBar.app prevents a new process from launching from that bundle, but it does not terminate a process
that is already running from it. That process can continue to request Keychain access until it quits. If macOS still
shows a prompt such as "CodexBar wants to use your confidential information stored in 'Chrome Safe Storage'", the
usual causes are:
CodexBar.app exists elsewhere on the machine.Safe checks:
pgrep -fl 'CodexBar|CodexBarCLI'
ls -ld /Applications/CodexBar.app
brew info --cask codexbar
mdfind 'kMDItemCFBundleIdentifier == "com.steipete.codexbar"'
Also check:
CodexBar and CodexBarCLI.If you find a still-running process, quit CodexBar from the menu if possible, or quit it from Activity Monitor. If you find another installed copy, confirm whether that copy is the one macOS names in the prompt before changing anything else.
If CodexBar is still installed and you want it to stop all Keychain access:
This disables Keychain reads and writes from CodexBar. Browser-cookie-based providers will be skipped because CodexBar can no longer decrypt browser cookies. Manual cookie headers, API keys, and CLI/OAuth flows that do not rely on Keychain can still work where the provider supports them.
For normal browser-cookie import prompts, either allow CodexBar in the Keychain item's Access Control list or disable Keychain access:
login keychain.Chrome Safe Storage.CodexBar.app under "Always allow access by these applications".Avoid "Allow all applications" unless you intentionally want every app to access that item. Do not paste or share the item's secret value when asking for help.
pgrep still shows CodexBar./Applications/CodexBar.app, Homebrew cask metadata, or Spotlight finds another copy.