Skip to content

OAuth tokens not persisted across upgrades (keyring empty after brew upgrade) #86

@alsoft-alex

Description

@alsoft-alex

Description:

After upgrading gogcli via brew upgrade, the OAuth tokens are lost and require re-authentication (I use clawdbot).

Steps to reproduce:
Authenticate with gog auth add user@gmail.com --services calendar,gmail
Verify auth works: gog auth list shows the account
Run brew upgrade steipete/tap/gogcli
Run gog auth list — hangs or shows no accounts

Observed behavior:
~/Library/Application Support/gogcli/keyring/ directory is empty after upgrade
gog auth list hangs indefinitely after upgrade (requires re-auth)

Expected behavior:
OAuth tokens should persist across version upgrades

Environment:
macOS 14.x (Sonoma)
gogcli 0.7.0 → 0.8.0 (also happened on earlier upgrades)
Installed via Homebrew

Workaround:
Re-authenticate after each upgrade:
gog auth add user@gmail.com --services calendar,contacts,drive,gmail

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions