You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libsecret is needed because keytar is a dependency of vscode - and it's used to store secrets.
HOWEVER, there's a fallback if it can't store creds in the OS store (what libsecret is used for) - that uses memory. It shows a log message in the console, but code-server (and vscode) are fully functional without it, thanks to that fallback built-in into vscode.
Why do you want this feature?
Right now, following the guide from https://coder.com/docs/code-server/latest/npm, it doesn't specify that
libsecret
needs to be installed - which can cause confusions and issues as seen in #5533libsecret
is needed becausekeytar
is a dependency ofvscode
- and it's used to store secrets.HOWEVER, there's a fallback if it can't store creds in the OS store (what
libsecret
is used for) - that uses memory. It shows a log message in the console, butcode-server
(andvscode
) are fully functional without it, thanks to that fallback built-in intovscode
.See https://github.com/microsoft/vscode/blob/1fb94816f2d40bdc77536eac44eada91a9a9e8ac/src/vs/platform/credentials/node/credentialsMainService.ts#L44-L48 for that
catch
that means there's a fallback.What is your suggestion?
Need to figure out/agree what is the state of the need for
libsecret
when runningcode-server
. Some ideas:vscode
to addkeytar
as anoptionalDependency
, as that's what it effectively isoptionalDependency
on our sidelibsecret
part of the packages installed - https://coder.com/docs/code-server/latest/npmAre you interested in submitting a PR for this?
Yes
The text was updated successfully, but these errors were encountered: