-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Installing Extension via OpenVSX fails on MacOS with "Signature verification was not executed." #7213
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
Comments
Okay, so I built Linux is explicitly excluded from signature verification, which is why the issue won't occur on Linux: [...]
if (
verificationStatus !== ExtensionSignatureVerificationCode.Success
&& !(verificationStatus === ExtensionSignatureVerificationCode.NotSigned && !shouldRequireSignature)
&& verifySignature
&& this.environmentService.isBuilt
&& !(isLinux && this.productService.quality === 'stable')
) {
[...] Meanwhile, in |
I remember seeing that Open VSX implemented some kind of signature verification, but it was never clear to me how that actually worked. I wonder if it needs to be updated? In any case, maybe we will have to disable signature verification in the next release. I think VSCodium does that. |
Disabling it for extensions downloaded from OpenVSX does make sense. It's been effectively disabled for Linux all along. Seems like Signature Verification stalled because MSFT is keeping their tool closed off: eclipse/openvsx#543 If there is no Signer in OpenVSX and it's not just a checksum, disabling it is a loop and won't negatively affect any security properties. I favor turning it off if it makes MacOS extension installs work again for |
Ahhhhh so it might work if we make code-server use their But yeah, disabling maintains the status quo and is easier so we can do that for now. |
Not quite. The OSS is just a wrapper around a proprietary package/binary: eclipse/openvsx#543 (comment). The convo is> 2 years old, so I'd take that with a grain of salt.
Disabling would improve the situation because installations on non-Linux fail signature verifications. But yeah, for what's working now there will be no difference. |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 1.97.2, e54c774e0add60467559eb0d1e229c6452cf8447, arm64Steps to Reproduce
Run
code-server --install-extension redhat.vscode-yaml --force
Expected
Successfully installs extension via OpenVSX. This works on
Linux
but notMacOS
.Actual
Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
No, this works as expected in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
The only workaround is to run
code-server
and install the extension from within theExtensions
panel explicitly ignoring "Signature Verification".The text was updated successfully, but these errors were encountered: