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.
This commit is contained in:
Asher 2024-06-06 14:50:41 -08:00
parent 2a5e6012bc
commit 9b688d7cac
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 15 additions and 0 deletions

View File

@ -82,3 +82,18 @@ Index: code-server/lib/vscode/src/vs/platform/extensionResourceLoader/common/ext
}
}
Index: code-server/lib/vscode/src/vs/platform/extensionManagement/node/extensionDownloader.ts
===================================================================
--- code-server.orig/lib/vscode/src/vs/platform/extensionManagement/node/extensionDownloader.ts
+++ code-server/lib/vscode/src/vs/platform/extensionManagement/node/extensionDownloader.ts
@@ -114,7 +114,10 @@ export class ExtensionsDownloader extend
return false;
}
+ return false
+ // @ts-expect-error
const value = this.configurationService.getValue('extensions.verifySignature');
+ // @ts-expect-error
return isBoolean(value) ? value : true;
}