Even though I installed code-features, I still get the error:
Remote - SSH is only supported in Microsoft versions of VS Code
| Git Clone URL: | https://aur.archlinux.org/code-marketplace.git (read-only, click to copy) |
|---|---|
| Package Base: | code-marketplace |
| Description: | Enable vscode marketplace in Code OSS |
| Upstream URL: | https://marketplace.visualstudio.com/vscode |
| Licenses: | unknown |
| Submitter: | sainnhe |
| Maintainer: | sainnhe |
| Last Packager: | sainnhe |
| Votes: | 135 |
| Popularity: | 2.53 |
| First Submitted: | 2020-10-28 13:56 (UTC) |
| Last Updated: | 2026-05-16 09:22 (UTC) |
Even though I installed code-features, I still get the error:
Remote - SSH is only supported in Microsoft versions of VS Code
With code version 1.116.0-1 I can no longer install package from the command line with code --install-extension $extension
E.g.
$ code --install-extension ms-python.pylint
Installing extension 'ms-python.pylint'...
Downloading file from https://open-vsx.org/api/-/public-key/14ccb407-4e79-41ed-be5a-6d608325c45a to /tmp/ovsx-XHgtUo/public.pem
Error while installing extension ms-python.pylint: Signature verification failed with 'UnknownError' error.
Failed Installing Extensions: ms-python.pylint
For some reason it tries to download from open-vsx.org here. But if I do the install manually from the GUI it works no problem.
Note: Github Copilot/AI requires the package code-features, as mentioned in the pinned comment.
@sainnhe yes it's fixed, thank you and sorry for answering late
@sainnhe Latest package with the fix is working for me. Thanks!
@ali.molaei Thank you so much for this patch. I've applied it in commit https://aur.archlinux.org/cgit/aur.git/commit/?h=code-marketplace&id=f5684dcb380ee5ed68a9d31fe09df58d23a5c7af . Could you try this revision?
@dack Thanks for your info. Could you try the latest revision of this package?
Just confirming - signature verification fix from @ali.molaei works for me.
@medaminezghal this patch is applied on the source typescript code before compiling into js code, so it cannot be undone easily, but looking at the patch, it's simply chaning a runtime import and changes the error handling, calling the verify function is still the same, so if we just replace the import, it should work fine (and is for me), so I think this should do the trick:
sudo sed -i 's|node-ovsx-sign|@vscode/vsce-sign|g' /usr/lib/code/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js
@sainnhe I don't know how you want to apply this, it can be done in your python script or in the post install hook, decision with you :)
@medaminezghal Patch is welcome. I'm too busy recently.
@sainnhe Could you find a solution to revert this patch used by code to fix verifying extensions signature of OpenVSX?
After using this patch, code cannot verify extensions signature of Microsoft marketplace.
Pinned Comments
sainnhe commented on 2021-04-05 08:00 (UTC) (edited on 2025-04-18 09:02 (UTC) by sainnhe)
This package basically installs a hook that will patch
/usr/lib/code/product.jsonto use vscode marketplace every timeextra/codeis updated.There are some extensions in vscode marketplace that don't work with Code OSS (e.g. pylance and remote-ssh), you can install
code-features(thanks to @Lightsword) orcode-features-insiders(thanks to @coxackie_) to unblock them.Btw, you may also be interested in code-icons by @coxackie which will replace the icon of Code OSS with VSCode's.