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/60.8.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.
820c8edc98484363ee3ee0dfebaa1310563df5194b3fa4395607d2d9158579c6 salesforcedx-vscode-60.8.0.vsix ade368803b72b7ce7e5259799d8f6461bd3b91d98132492b4e82770775b0a973 salesforcedx-vscode-apex-60.8.0.vsix f205d83c760b6c858e2dfec3b6faae2c2d0d730a5f6d3ff469d66cf9eeffaeb1 salesforcedx-vscode-apex-debugger-60.8.0.vsix 0315f8206c4551509ac44a02b8e5940ab6e7fe3ce22e20bc0fba7d092d5152a7 salesforcedx-vscode-apex-replay-debugger-60.8.0.vsix d9b6a7321b5902ae0c6deaec4dcc36da6ee2788df866d0d3c9a32f42e0389125 salesforcedx-vscode-core-60.8.0.vsix ebb113e7a86576651ef463fc5e8e5ac22efc8c46c7ed1ddd99fe648d659d8349 salesforcedx-vscode-expanded-60.8.0.vsix 9e006507bbda131c0c8389133e7b8e6f6d811dad009764fe6d38370fd20b8905 salesforcedx-vscode-lightning-60.8.0.vsix f2545d442e3b6acd8acacde161da8715f932c9bca60af75f293ee98d0c540f8c salesforcedx-vscode-lwc-60.8.0.vsix ec4067c70d8aee08a930b052a18ae0c72169893d31d30c2496e88bbb7b404950 salesforcedx-vscode-soql-60.8.0.vsix 0c236a31a8d689a807525a0eb643ed15e4c4ab98a4dcea638d67b0fa27304e32 salesforcedx-vscode-visualforce-60.8.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.