Skip to content

fix(keychain): show "gogcli" in security prompty instead of "" empty string#106

Closed
maxceem wants to merge 1 commit intoopenclaw:mainfrom
maxceem:fix/empty-string-security-dialog
Closed

fix(keychain): show "gogcli" in security prompty instead of "" empty string#106
maxceem wants to merge 1 commit intoopenclaw:mainfrom
maxceem:fix/empty-string-security-dialog

Conversation

@maxceem
Copy link
Copy Markdown
Contributor

@maxceem maxceem commented Jan 24, 2026

Problem

macOS keychain prompts showed an empty item label ("") when gog accessed stored tokens, which looked suspicious for me as a user:

Screenshot 2026-01-24 at 15 26 51

Solution

Set the keychain item label to "gogcli" (config.appName) for all keyring writes so the prompt is clear and looks safe.

Screenshot 2026-01-24 at 16 53 42

Test

Tested locally.

NOTE: the fix would only work for newly created records in Keychain.

  • Remove some account by gog auth remove <email>
  • Add it again gog auth add <email>
  • Run list command to trigger keychain access confirmation gog auth list
  • Observe that title says gog wants to use your confidential information stored in "gogcli" in your keychain. with "gogcli" instead of "".

 macOS keychain dialogs showed an empty item label on access.
 Set the keychain item label to "gogcli" so the prompt is clear.
@coccoinomane
Copy link
Copy Markdown

I am experiencing the same issue, it is not a big problem, but for first-time users of gog/Open Claw it is very sus to see an empty string in an authorization alert. Might scare them off like it nearly did for me 😅

@steipete
Copy link
Copy Markdown
Collaborator

Landed on main via 67874b9 and bad3c01. Added regression coverage for keyring labels + CHANGELOG thanks. Thanks @maxceem.

@steipete steipete closed this Feb 13, 2026
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.

3 participants