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/59.1.2/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.
020cdf0b5b4c6d9f9504c302b5e5bddde42fb6baa693e927a1604c517762d93e salesforcedx-vscode-59.1.2.vsix ce83321c906d19ff068c7569413a9f4d4eab450be24a63854464dfc627b78bb5 salesforcedx-vscode-apex-59.1.2.vsix d3b480ca0b840a90d725c9192800e35e45208b960eb94aa366f3f93e87638f67 salesforcedx-vscode-apex-debugger-59.1.2.vsix caacfe6fb6742900898862d402b35fc4f4217f5ab1e77f3073b1ace61cbf7cad salesforcedx-vscode-apex-replay-debugger-59.1.2.vsix ad074fe7c84c76192b4e9b353600c3e69bec01f2f3f4f187e7132f2c6322225a salesforcedx-vscode-core-59.1.2.vsix 78b954e42cb2faa6b8ddcb6d515a02a32c4b538d53faba755e7c5d60972d28f2 salesforcedx-vscode-expanded-59.1.2.vsix 5f866bc1161e04c67f6df32fe3f512680a0febddeabb075b6ddd8d4c5f1a559c salesforcedx-vscode-lightning-59.1.2.vsix 954f9bd0999d679ad51b9fd76b39620eda598dd6822905a7cfede532c9ffda4b salesforcedx-vscode-lwc-59.1.2.vsix 92dd93cfb5fd29042e9141dd5708ca50d8113c629890e6794c6bf0db49ce6351 salesforcedx-vscode-soql-59.1.2.vsix 00360b4a451f2baad29d02993ffc2c2e599dba0d8d0d4e9b606cd45b821f4de6 salesforcedx-vscode-visualforce-59.1.2.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.