code-oss: disable extension signature verification (#24753)

This commit is contained in:
termux-pacman-bot
2025-05-18 02:38:47 +00:00
parent 6fcf3a238f
commit eddcfb23aa
3 changed files with 14 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
https://github.com/termux/termux-packages/issues/24739#issuecomment-2888679949
--- a/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
+++ b/src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts
@@ -265,7 +265,7 @@
[VerifyExtensionSignatureConfigKey]: {
type: 'boolean',
description: localize('extensions.verifySignature', "When enabled, extensions are verified to be signed before getting installed."),
- default: true,
+ default: false,
scope: ConfigurationScope.APPLICATION,
included: isNative
},

View File

@@ -1,11 +0,0 @@
--- a/package.json
+++ b/package.json
@@ -83,6 +83,8 @@
"@vscode/sudo-prompt": "9.3.1",
"@vscode/tree-sitter-wasm": "^0.1.4",
"@vscode/vscode-languagedetection": "1.0.21",
+ "@vscode/vsce-sign": "^2.0.5",
+ "@vscode/vsce-sign-linux-x64": "^2.0.2",
"@vscode/windows-mutex": "^0.5.0",
"@vscode/windows-process-tree": "^0.6.0",
"@vscode/windows-registry": "^1.1.0",

View File

@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Visual Studio Code - OSS"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux-user-repository"
TERMUX_PKG_VERSION="1.100.2"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=git+https://github.com/microsoft/vscode
TERMUX_PKG_GIT_BRANCH="$TERMUX_PKG_VERSION"
TERMUX_PKG_DEPENDS="electron-for-code-oss, libx11, libxkbfile, libsecret, ripgrep"