-
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. |
Oh wait really? The readme suggests it is an alternative to the proprietary package: https://github.com/filiptronicek/node-ovsx-sign
Oh yup you are right; I meant the status quo before installations started failing 😆 |
I think the person who created the "open source clone" was equally confused: eclipse/openvsx#543 (comment) Btw,
|
I did read eclipse/openvsx#543 (comment), but it does not make any mention of As for
What makes you say
True that Microsoft builds of VS Code bundle and use the proprietary But...that is just for OSS builds like code-server. I guess this means it is impossible to support Open VSX or any other marketplace on the official Microsoft build of VS Code unless users disable signature verification... Very interesting announcement here about private marketplaces though: microsoft/vscode#21839 (comment) |
@code-asher, the switch to the "new" NPM module happened here: https://github.com/microsoft/vscode/pull/205511/files. It might just be a rename 🤷. My whole point was that two years have passed since eclipse/openvsx#543 (comment), including the recent comments, and the information is likely stale according to my prior point that now the module has even a different name/source. The private marketplace announcement is interesting. All tech obstacles aside, MSFT's licensing on the marketplace and extensions distributed through it are a legal blocker. Maybe this announcement will move the needle on that front. |
Yeah, that makes sense, I think they have been moving all their modules under the My point is the opposite, that as far as I can tell, the closed-source module still works the same despite the rename, so I see no blockers to dropping in the open-source Not sure how many users care about signatures though...part of me wonders if this is just a move by Microsoft to ensure 3rd party builds are not using the marketplace. 😛
Exactly my hopes! |
I'm with you. I do want you to be correct. 👍 In the short term, I'm looking forward to getting extension installs unblocked on non-Linux platforms. |
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: