Currently, Visual Studio Code extensions are not signed or verified on the Microsoft Visual Studio Code Marketplace. Salesforce provides the Secure Hash Algorithm (SHA) of each extension that we publish. To verify the extensions, make sure that their SHA values match the values in the list below.
-
Instead of installing the Visual Code Extension directly from within Visual Studio Code, download the VS Code extension that you want to check by following the instructions at https://code.visualstudio.com/docs/editor/extension-gallery#_common-questions. For example, download, https://salesforce.gallery.vsassets.io/_apis/public/gallery/publisher/salesforce/extension/salesforcedx-vscode-core/62.0.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage.
-
From a terminal, run:
shasum -a 256 <location_of_the_downloaded_file>
- Confirm that the SHA in your output matches the value in this list of SHAs.
0e49a8250b43a87dd705e8e3dd60df0f52177fb88fcbe6040c7257634f68becd salesforcedx-vscode-62.0.0.vsix ae5cf35b1002570edbc5b8f6203900a8a2203d30619428b30c1ba5dd3696897e salesforcedx-vscode-apex-62.0.0.vsix 347de41b9a78d36a60ac2a95e786bafdfa0ba38a518963e52a547672a5e902cc salesforcedx-vscode-apex-debugger-62.0.0.vsix 7b53c08f9526bee6702f2fabbd3317814e6467a804de24a06d120478c5571389 salesforcedx-vscode-apex-replay-debugger-62.0.0.vsix 7915f24b7f966a6db368b0e3d81e4e9aeeea368b9b75bfc267743a537a9d0cdf salesforcedx-vscode-core-62.0.0.vsix 29fd6de93ff074530b7e6bd803fd40571dd2cfbfe240acf98d4df6f260859e7c salesforcedx-vscode-expanded-62.0.0.vsix b542ce8a4725580f24cc94d438044aa6783439ec05ba0ac9bcc77d48e5d8b13a salesforcedx-vscode-lightning-62.0.0.vsix 4f72abd94610e5501eb3bc1b6a949d422d5b3b298610f7f2f678f993faf948bf salesforcedx-vscode-lwc-62.0.0.vsix 835086e2a383b6df9e47276c2cc7e0b52b1d41621efc2aae755ad9c693b392b3 salesforcedx-vscode-soql-62.0.0.vsix 1b3b14d99267113b6ac9bf5da06addb2158b0939add5260974b3449a2d1ee861 salesforcedx-vscode-visualforce-62.0.0.vsix
-
Change the filename extension for the file that you downloaded from .zip to .vsix.
-
In Visual Studio Code, from the Extensions view, select ... > Install from VSIX.
-
Install the verified VSIX file.