sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.72k stars 298 forks source link

Logon to Cody is not saved #5397

Open TomTurtle opened 2 months ago

TomTurtle commented 2 months ago

Type: Bug

I want to use vscodium on my Linux Mint, but it asks me to logon to souregraph Cody each time I start vscodium. Why doesn't it remember my logon? In VS Code this works fine.

Extension version: 1.32.6 VSCodium version: VSCodium 1.92.2 (21b1e2955ddda36eeba3a94e643128e465285b93, 2024-08-15T18:27:27.910Z) OS version: Linux x64 6.8.0-41-generic Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 5600X 6-Core Processor (12 x 3718)| |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)|0, 0, 0| |Memory (System)|15.54GB (6.06GB free)| |Process Argv|--extensions-dir /home/tom/.var/app/com.vscodium.codium/data/codium/extensions --ozone-platform=x11| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|cinnamon| |XDG_CURRENT_DESKTOP|X-Cinnamon| |XDG_SESSION_DESKTOP|cinnamon| |XDG_SESSION_TYPE|x11|
abeatrix commented 2 months ago

I suspect this is an issue caused by your local secret storage. The VS Code docs has some troubleshooting steps that might help: https://code.visualstudio.com/docs/editor/settings-sync#_linux

TomTurtle commented 2 months ago

I don't understand... your answer refers to problems in VS Code but VS Code works fine and remembers the logon. The problem only is in VSCodium.

carlHandy commented 1 month ago

Same problem using VSCodium on Fedora.

@TomTurtle VSCodium is a fork of VSCode so the same settings apply since it's an almost 1:1 match.

Ctrl+Shift+P and running the Preferences: Configure Runtime Arguments command. This will open the argv.json file where you can add the setting "password-store":"basic".

TomTurtle commented 1 month ago

Same problem using VSCodium on Fedora.

@TomTurtle VSCodium is a fork of VSCode so the same settings apply since it's an almost 1:1 match.

Ctrl+Shift+P and running the Preferences: Configure Runtime Arguments command. This will open the argv.json file where you can add the setting "password-store":"basic".

Thank you very much for your answer! But changing this setting would mean the password will be stored less secure I assume. My question would be... what do I have to do to make the keyring store simply work as it does in VSCode?

carlHandy commented 1 month ago

Same problem using VSCodium on Fedora.

@TomTurtle VSCodium is a fork of VSCode so the same settings apply since it's an almost 1:1 match.

Ctrl+Shift+P and running the Preferences: Configure Runtime Arguments command. This will open the argv.json file where you can add the setting "password-store":"basic".

Thank you very much for your answer! But changing this setting would mean the password will be stored less secure I assume. My question would be... what do I have to do to make the keyring store simply work as it does in VSCode?

I'm not sure can work in the same way as VSCode. Also, yes it is less secure but I presume it's stored somewhere on your local machine so the threat level is extremely low.