Skip to content

fix: abort with descriptive error when keyring access fails - #8

Open
jearthliu wants to merge 3 commits into
condoraltidoi32:mainfrom
jearthliu:fix/keyring-failure-descriptive-error
Open

fix: abort with descriptive error when keyring access fails#8
jearthliu wants to merge 3 commits into
condoraltidoi32:mainfrom
jearthliu:fix/keyring-failure-descriptive-error

Conversation

@jearthliu

Copy link
Copy Markdown

resolveToken distinguishes a genuine no-token-stored (ErrTokenNotFound, safe to proceed unauthenticated) from an operational keyring failure (locked keychain, missing D-Bus, OS permission). Keyring failures now abort with a descriptive error and guidance instead of silently sending an unauthenticated API request. Closes #1.

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.

🎯 Fail with descriptive error instead of silently sending unauthenticated API requests when keyring access fails

1 participant