-
Notifications
You must be signed in to change notification settings - Fork 761
Closed
Description
Description
gws auth login completes successfully and reports encrypted credentials saved, but all subsequent commands fail with:
Authentication failed: Failed to decrypt credentials: Decryption failed. Credentials may have been created on a different machine.
This happens consistently, including when running gws auth login and subsequent commands from the same terminal session.
Environment
- macOS Sequoia (Darwin 25.3.0)
- gws 0.9.1
- Apple Silicon (M-series)
- zsh shell
Steps to Reproduce
gws auth setup(or manually configure OAuth client)gws auth login→ completes successfully, browser OAuth flow worksgws drive files list --params '{"pageSize": 3}'→ fails with decryption errorgws auth export→ also fails with same error
Investigation
- No keychain entries found for
gwsviasecurity find-generic-passwordorsecurity dump-keychain - The Rust keyring crate appears to not be writing to macOS Keychain
- Created
.encryption_keyfile in~/.config/gws/as mentioned in the status output ("OS Keyring or local.encryption_key") — still fails GWS_STORAGE=plainenv var has no effectgws auth statusconfirmsencryption_valid: false
Expected Behavior
Either:
- OS Keyring integration should work on macOS, or
- The
.encryption_keyfallback should be functional, or - A
--no-encrypt/ plain storage option should be available
Workaround
None found. The tool is currently unusable on macOS.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels