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.5.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.
25bf6505be33ed3318ea525cdfb4c35e9374577f262330c9a387c403b78706c2 salesforcedx-vscode-60.5.1.vsix 9c52f507904588ed6e0f652a3f183fd5303399c97a8fc1cd1cf749e59c7d4faa salesforcedx-vscode-apex-60.5.1.vsix a54a48624c79a5d1f3be2eab081fef8e2906d21afe49f2efef21e16b1c34fc24 salesforcedx-vscode-apex-debugger-60.5.1.vsix 4535c794317e6e4c1997bf1a45aad5e65552c5c85bb5b7e8295d283edbb8ce88 salesforcedx-vscode-apex-replay-debugger-60.5.1.vsix 5e18308e1b4c09017252101c232b9c5c3cf69e07979bf0945b17cb9c470b5b72 salesforcedx-vscode-core-60.5.1.vsix 52f06af9db494fd441a6729931008373b1c2339bfb22f60ce677d0b36949d470 salesforcedx-vscode-expanded-60.5.1.vsix 0de3020d96ef42c8306ce7722a8643c0c9844d03f5964e84317b988edcf36a31 salesforcedx-vscode-lightning-60.5.1.vsix 34a86227b5528f5fa7f73c9d6ca6d3d846fc0e47743cf34152acf450a79e7059 salesforcedx-vscode-lwc-60.5.1.vsix 9a69cc14be53922bf21af925dcfe3bdf4ffab2e442d42f2c9fabd577a2bd3489 salesforcedx-vscode-soql-60.5.1.vsix e8ed904ceac23b57a265b5e1581fd594b4bb425b95971147ebab011bcab5d7c1 salesforcedx-vscode-visualforce-60.5.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.