Open wesm opened 7 months ago
This is the same as #1688
I think we have confirmed this only occurs for dev builds (does not impact users) and haven't been able to really consistently reproduce this.
@wesm do you have a pretty reliable set of actions that causes you to see this?
Yeah, if I close Positron, and then relaunch it from VSCode, I get it every time
This pop up is originating from this file:
the exact line that causes the pop-up to show up is
isEncryptionAvailable(): Promise<boolean> {
return Promise.resolve(safeStorage.isEncryptionAvailable());
}
See https://www.electronjs.org/docs/latest/api/safe-storage
On my computer, I have a bunch of Electron apps that seem to use this API:
If this quirk seems to only apply to running Positron in development mode, maybe we can just fix the "code-oss-dev" piece (somehow?) to say "Positron" instead and recommend that people authorize the keychain access?
See also https://github.com/microsoft/vscode-discussions/discussions/748
This comes up frequently when launching Positron from within VSCode