Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9b688d7

Browse files
committedJun 6, 2024··
Disable extension signature verification
This works around an issue where the Open VSX is not returning the expected zip. I think verification does not work anyway because @vscode/vsce-sign is missing in the OSS version.
1 parent 2a5e601 commit 9b688d7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
 

‎patches/marketplace.diff

+15
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,18 @@ Index: code-server/lib/vscode/src/vs/platform/extensionResourceLoader/common/ext
8282
}
8383

8484
}
85+
Index: code-server/lib/vscode/src/vs/platform/extensionManagement/node/extensionDownloader.ts
86+
===================================================================
87+
--- code-server.orig/lib/vscode/src/vs/platform/extensionManagement/node/extensionDownloader.ts
88+
+++ code-server/lib/vscode/src/vs/platform/extensionManagement/node/extensionDownloader.ts
89+
@@ -114,7 +114,10 @@ export class ExtensionsDownloader extend
90+
return false;
91+
}
92+
93+
+ return false
94+
+ // @ts-expect-error
95+
const value = this.configurationService.getValue('extensions.verifySignature');
96+
+ // @ts-expect-error
97+
return isBoolean(value) ? value : true;
98+
}
99+

0 commit comments

Comments
 (0)
Please sign in to comment.