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.9.1/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.
40650dd21bb0d645870d6517350e4db3425659fe9518069b9700ad82c9438ea3 salesforcedx-vscode-62.9.1.vsix 014619a627fd65d0db02cc94de81c98eeda836a3b53a2e736b845eae37ce6ec4 salesforcedx-vscode-apex-62.9.1.vsix aa6dcf52ab634c8efec204eb351542ea70f3b44b1cae7ef815a2616f6ad8a11a salesforcedx-vscode-apex-debugger-62.9.1.vsix 1b29d934781775e7b4c2e246909c20994c78a2392c3e850ec345adc74175a140 salesforcedx-vscode-apex-replay-debugger-62.9.1.vsix b55cb5febfe5be023ff02056ca7181c7c88c53904e2da80311a5a35c798a08d7 salesforcedx-vscode-core-62.9.1.vsix eff8e5afd842547cf6b690086fbde2d209c116a02a90c51c209592f74f5765b5 salesforcedx-vscode-expanded-62.9.1.vsix 8268422ebeb3340670651f399943fa38bf39ce4b5eeac76592b32d375aad3746 salesforcedx-vscode-lightning-62.9.1.vsix 7c275998fd98d6e475d96dc90409a8f89e528898d4a6a82017e6c13701d3cf3c salesforcedx-vscode-lwc-62.9.1.vsix a5ce2a1bd0e71b7872ee9a227f63bd4c93cc7987824a309708dfe0e2f724622c salesforcedx-vscode-soql-62.9.1.vsix e11642f021381fba9e84e08821aba64bc8a46931f559ab4a371d59b66e38ae3e salesforcedx-vscode-visualforce-62.9.1.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.