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.15.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.
7a22155426ce3080244a06b5def972b0af302aef6ff4f8bb766ef2b040a8c466 salesforcedx-vscode-60.15.0.vsix 5d93e21f10d82cad2e2154c17732b8b19e78c149cc06cdf2118cabdd999ab568 salesforcedx-vscode-apex-60.15.0.vsix 0f909624055da892f3be8153516b4238c9af4fc04864307a57a4e3463aa162ff salesforcedx-vscode-apex-debugger-60.15.0.vsix febb6b816b958a7d357fa047d4a899ab7aa3eb484e5c6f2a96380e816f2a520c salesforcedx-vscode-apex-replay-debugger-60.15.0.vsix aef27cadd6997591fe115da55b18e3521b191b319db5710350842ed579f5903e salesforcedx-vscode-core-60.15.0.vsix 09cf4d429601a16783cf8997ec5568c7b90c1bc50c59698ab994e89b382ad6e4 salesforcedx-vscode-expanded-60.15.0.vsix 08980a4d898a0c32b994ca9e412752ac9210bbcf8c59d33c3a3af054f7c7f132 salesforcedx-vscode-lightning-60.15.0.vsix da7ec3c831113161ab58840f087a85f0764694272157b89d5ade85925b31bd4f salesforcedx-vscode-lwc-60.15.0.vsix 9ed59c728eaa97d790a5c72a86139ede2ad89b5ba2ef6495abdc39cf75692aaa salesforcedx-vscode-soql-60.15.0.vsix 2d1cce355a7c484bb012d7c66f99f2fbd8882ff4fdc5dfb0f1f0ffc6c5ddb018 salesforcedx-vscode-visualforce-60.15.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.