vscode icon indicating copy to clipboard operation
vscode copied to clipboard

gnome-keyring lost at random

Open irm-codebase opened this issue 9 months ago • 3 comments

Type: Bug

VSCode randomly loses access to git / github keys, prompting you to re-enter the password.

This occurs at random: re-starting the machien will fix this behaviour for a while. I've tried re-generating my keys, and the issue does not go away.

Image

VS Code version: Code 1.97.2 (e54c774e0add60467559eb0d1e229c6452cf8447, 2025-02-12T23:20:35.343Z) OS version: Linux x64 6.13.5-200.fc41.x86_64 Modes:

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13700H (20 x 3700)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 1, 1, 1
Memory (System) 15.25GB (7.17GB free)
Process Argv
Screen Reader no
VM 0%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE wayland
Extensions (22)
Extension Author (truncated) Version
markdown-mermaid bie 1.27.0
catppuccin-vsc Cat 3.16.1
catppuccin-vsc-icons Cat 1.18.0
ruff cha 2025.14.0
vscode-markdownlint Dav 0.59.0
EditorConfig Edi 0.17.1
vscode-drawio hed 1.9.0
mypy mat 0.4.1
rainbow-csv mec 3.17.0
git-graph mhu 1.30.0
debugpy ms- 2025.4.0
python ms- 2025.2.0
vscode-pylance ms- 2025.3.1
jupyter ms- 2025.1.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.1.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
autodocstring njp 0.6.1
vscode-yaml red 1.17.0
snakemake-lang sna 0.1.8
even-better-toml tam 0.21.2

irm-codebase avatar Mar 06 '25 17:03 irm-codebase

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.98.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

cc/ @TylerLeonhardt, not sure if this is more auth related or tied to the git extension with lad.

Yoyokrazy avatar Mar 07 '25 21:03 Yoyokrazy

@irm-codebase your machine needs to be configured to unlock the keyring when you log in.

Or, something on your machine is locking the keyring at some point and VS Code needs it unlocked in order to read/write keys and such.

What OS is this?

TylerLeonhardt avatar Mar 08 '25 01:03 TylerLeonhardt

@TylerLeonhardt Fedora 41. I do not think I've configured something that would do this...

irm-codebase avatar Mar 08 '25 11:03 irm-codebase

@TylerLeonhardt I've updated both the OS and VSCode. For now the issue seems to have gone away. No idea of the cause, but I'll close this issue. If it pops up again, I'll re-open.

irm-codebase avatar Mar 09 '25 18:03 irm-codebase