Skip to content

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

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 [email protected] --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 [email protected] --services calendar,contacts,drive,gmail

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions