Skip to content

You're running in a KDE environment but the OS keyring is not available for encryption. Ensure you have kwallet running. #189672

Closed
@irfanhakim-as

Description

@irfanhakim-as

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.81.0-1690980880 (Flatpak, latest currently available)
  • OS Version: EndeavourOS Linux x86_64, 6.4.7-arch1-3, KDE Plasma 5.27.7

Steps to Reproduce:

  1. Launch VS Code
  2. Gets prompt to "Sign in to use GitHub Copilot" (instead of having access to it from the get-go as before)
  3. Click the option to "Sign in to GitHub"
  4. Gets prompt from VS Code saying "The extension 'GitHub Copilot' wants to sign in using GitHub."
  5. Click "Allow"
  6. Primary browser with GitHub logged in gets launched with a new tab posting a request to "https://github.com/login/oauth/authorize"
  7. Automatically redirected back to VS Code with access to Copilot/Settings Sync
  8. Gets an error prompt stating the error message (as per title)

As requested by @TylerLeonhardt in #187842, I've ran flatpak run com.visualstudio.code --verbose --vmodule="*/components/os_crypt/*=1" and logged the output. The most notable snippet to me from the log, being:

[23:0805/013706.938928:VERBOSE1:key_storage_util_linux.cc(54)] Password storage detected desktop environment: KDE5
[23:0805/013706.938942:VERBOSE1:key_storage_linux.cc(122)] Selected backend for OSCrypt: KWALLET5
[23:0805/013706.940420:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[23:0805/013706.940428:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[23:0805/013706.940509:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[23:0805/013706.940513:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[23:0805/013706.940516:WARNING:key_storage_linux.cc(208)] OSCrypt tried KWallet but couldn't initialise.
[23:0805/013706.940582:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[23:0805/013706.940586:ERROR:kwallet_dbus.cc(418)] Error contacting kwalletd5 (close)
[23:0805/013706.940661:VERBOSE1:key_storage_linux.cc(142)] OSCrypt did not initialize a backend.

Please let me know if there's anything else I should include in this issue - such as the full output of the log. Thanks!

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions