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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honor --disable-keytar and fix event handling in the browser #189514

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

TylerLeonhardt
Copy link
Member

We have always had a way to disable reading from the keyring and use an in-memory secrets storage: --disable-keytar.

This honors that flag in the new SecretStorage world... in a follow up PR we will migrate that flag to --disable-secret-storage.

Additionally, I found a bug where we weren't firing events that we successfully set/deleted secrets in the browser version of secretStorageService and this fixes that by firing those events.

This also reverts #189489 so that BaseSecretStorageService.type reads correctly early on... plus there's more discussion to be had in #189481

Oh, and tests 馃殌

Fixes #188432

We have always had a way to disable reading from the keyring and use an in-memory secrets storage: `--disable-keytar`.

This honors that flag in the new SecretStorage world... in a follow up PR we will migrate that flag to `--disable-secret-storage`.

Additionally, I found a bug where we weren't firing events that we successfully set/deleted secrets in the browser version of secretStorageService and this fixes that by firing those events.

This also reverts #189489 so that `BaseSecretStorageService.type` reads correctly early on... plus there's more discussion to be had in #189481

Fixes #188432
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) August 2, 2023 23:03
@TylerLeonhardt TylerLeonhardt self-assigned this Aug 2, 2023
@VSCodeTriageBot VSCodeTriageBot added this to the August 2023 milestone Aug 3, 2023
@TylerLeonhardt TylerLeonhardt merged commit 55fc1d2 into main Aug 3, 2023
7 checks passed
@TylerLeonhardt TylerLeonhardt deleted the tyler/burning-catshark branch August 3, 2023 01:20
@github-actions github-actions bot locked and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support a --password-store=inmemory or similar
3 participants