Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle "Could not access secret storage" error gracefully #8471

Open
wants to merge 1 commit into
base: dev-mail
Choose a base branch
from

Conversation

hrb-hub
Copy link
Contributor

@hrb-hub hrb-hub commented Feb 5, 2025

Keys can get corrupted and become unusable, causing users to get stuck with a broken installation.

Currently we can't distinguish temporary errors from persistent breakage. The easiest solution for now is just to give the user a choice when the error occurs.

Restart -> in case of a temporary error caused by user's setup.
Continue -> on the off-chance deviceKey is broken and user can log in.
Clear local data -> deletes config and invalidates keychain to allow user to enter credentials again.

Close #8380

@hrb-hub hrb-hub linked an issue Feb 5, 2025 that may be closed by this pull request
Keys can get corrupted and become unusable, causing users to get stuck
with a broken installation.

Currently we can't distinguish temporary errors from persistent breakage.
The easiest solution for now is just to give the user a choice when
the error occurs.

Restart -> in case of a temporary error caused by user's setup.
Continue -> on the off-chance deviceKey is broken and user can log in.
Clear local data -> deletes config and invalidates keychain to allow
user to enter credentials again.

Close #8380

Co-authored-by: ivk <[email protected]>
@hrb-hub hrb-hub force-pushed the 8380-corrupted-secret-storage branch from 018678c to 63acfa7 Compare February 5, 2025 15:59
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.

Handle "Could not access secret storage" error gracefully
2 participants