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/51.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.
4565542913b9b06fffec4a1b4b77b7c5315b3c060ce7ebabf6934bcb3a6483da salesforcedx-vscode-apex-debugger-51.8.0.vsix 0ae63f7a654f0883952beae3d6cc16f8ce7cca81e3c2eb3eb02ac4fcd7854eda salesforcedx-vscode-apex-replay-debugger-51.8.0.vsix d2879e259626defb827dba649c1ddec385c1002936fa93f42d3d724325056a48 salesforcedx-vscode-apex-51.8.0.vsix 498d72d540a9811a8e81b66dac513972b9a4e6b0111348eae45113a3651b6b16 salesforcedx-vscode-core-51.8.0.vsix e49ec19b4527d575da3f4e6d9deeb529a8a8866da41b918a9e256d1997c0f0ca salesforcedx-vscode-expanded-51.8.0.vsix 2d41ad13363b6c52a19353f5a644d7e779c7700f20d6674ea3397c1d7f5c5a59 salesforcedx-vscode-lightning-51.8.0.vsix 6bb03c41770d0fd162b227f12fc71ce074fbc0c80f8f1eacdd66331b67b4e0fa salesforcedx-vscode-lwc-51.8.0.vsix daee634a3c7c54a4ffe1f8137ce0766d74db45d5cc1b0729d37578e9c7e1f440 salesforcedx-vscode-soql-51.8.0.vsix 911208ecfc7d0431725687d0275da6c80835d986d16734fbf957e890c7ab367f salesforcedx-vscode-visualforce-51.8.0.vsix ef1174d2ff7f3030649bb605b908df0a8dbd20e1e708c5def86d24544d0aa06b salesforcedx-vscode-51.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.