Skip to content

chore: release versions#46

Merged
jpoehnelt merged 1 commit intomainfrom
changeset-release/main
Mar 4, 2026
Merged

chore: release versions#46
jpoehnelt merged 1 commit intomainfrom
changeset-release/main

Conversation

@googleworkspace-bot
Copy link
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@googleworkspace/cli@0.2.1

Patch Changes

  • 6ae7427: fix(auth): stabilize encrypted credential key fallback across sessions

    When the OS keyring returned NoEntry, the previous code could generate
    a fresh random key on each process invocation instead of reusing one.
    This caused credentials.enc written by gws auth login to be
    unreadable by subsequent commands.

    Changes:

    • Always prefer an existing .encryption_key file before generating a new key
    • When generating a new key, persist it to .encryption_key as a stable fallback
    • Best-effort write new keys into the keyring as well
    • Fix OnceLock race: return the already-cached key if set loses a race

    Fixes auth login reports success but subsequent commands fail with 'No credentials provided' / credentials decrypt error #27

@gemini-code-assist
Copy link
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@jpoehnelt jpoehnelt merged commit 7e73fda into main Mar 4, 2026
21 checks passed
@jpoehnelt jpoehnelt deleted the changeset-release/main branch March 4, 2026 07:43
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.

auth login reports success but subsequent commands fail with 'No credentials provided' / credentials decrypt error

2 participants