Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyring/Safe storage issue: Encrpytion is not available. #1563

Closed
lukakostic opened this issue Jul 9, 2023 · 1 comment
Closed

Keyring/Safe storage issue: Encrpytion is not available. #1563

lukakostic opened this issue Jul 9, 2023 · 1 comment

Comments

@lukakostic
Copy link

lukakostic commented Jul 9, 2023

Type: Bug

[main 2023-07-09T00:27:55.412Z] [EncryptionMainService] Encrypting value.
[main 2023-07-09T00:27:55.413Z] Error: Error while decrypting the ciphertext provided to safeStorage.decryptString. Encryption is not available.
at e.EncryptionMainService.encrypt (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:42:13702)
at Object.call (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:25:5848)
at D.onPromise (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:23:5765)
at D.onRawMessage (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:23:5153)
at o.value (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:23:4441)
at b._deliver (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:18:2469)
at b._deliverQueue (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:18:2560)
at b.fire (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:18:2895)
at o.value (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:16:41469)
at b._deliver (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:18:2469)
at b.fire (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:18:2788)
at o.value (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:16:41663)
at b._deliver (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:18:2469)
at b.fire (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:18:2788)
at re (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:16:43913)
at IpcMainImpl.h (/opt/vscodium-bin/resources/app/out/vs/code/electron-main/main.js:19:100078)
at IpcMainImpl.emit (node:events:513:28)
at EventEmitter. (node:electron/js2c/browser_init:2:81053)
at EventEmitter.emit (node:events:513:28)

I have included "password-store":"basic" in argv.json as well as thru starting arguments yet it still says encrpytion not available?
No i dont have gnome or kde keyrings, and i dont want to have to download an older vscode version without this safe storage mess which breaks all extensions trying to store anything such as API keys, making them unusable.

Im trying to set API key in code-gpt extension but the new safe storage system doesnt work for me it seems

Only keyring i have is pacman-key which is for signing packages.

VSCodium version: VSCodium 1.80.0 (9d3b0fa210fb4535589e8296483a5b43fe5e660a, 2023-07-07T18:21:29.357Z)
OS version: Linux x64 6.3.5-2-MANJARO
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 3100)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 1, 1, 1
Memory (System) 31.22GB (7.17GB free)
Process Argv --ms-enable-electron-run-as-node --password-store=kde --no-sandbox --unity-launch
Screen Reader no
VM 0%
DESKTOP_SESSION undefined
XDG_CURRENT_DESKTOP undefined
XDG_SESSION_DESKTOP undefined
XDG_SESSION_TYPE tty
Extensions (21)
Extension Author (truncated) Version
aws-toolkit-vscode ama 1.80.0
region-marker aww 0.3.0
indented-block-highlighting byi 1.0.7
dscodegpt Dan 2.1.14
vscode-npm-script eg2 0.3.29
RunOnSave eme 0.2.0
smalise Loy 0.0.12
csharp ms- 1.26.0
cmake-tools ms- 1.14.34
cpptools ms- 1.16.3
makefile-tools ms- 0.7.0
vscode-typescript-next ms- 5.2.20230708
awesome-vhdl puo 0.0.1
show-offset ram 0.0.4
create-file-folder rit 0.0.5
santacodes-region-viewer San 1.1.1
apklab Sur 1.6.1
cython tcw 0.1.0
unity-tools Tob 1.2.12
cmake twx 0.0.17
unity-debug Uni 3.0.2
@paulcarroty
Copy link
Collaborator

#1561

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants