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/50.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.
77201790e7963e8743693cbc6e8524012fb413b4c4c45a15716666f02598490b salesforcedx-vscode-apex-debugger-50.8.0.vsix e2635b7193d7ad24759d37fdf2a54d6b93ec44d3e5c7914e2ac30c4ac53175a7 salesforcedx-vscode-apex-replay-debugger-50.8.0.vsix 63972dbb7bcb0423a15e3fb4d8084ca3e01568943cf2bfe604aed79c54a0c72e salesforcedx-vscode-apex-50.8.0.vsix 8d71af0a54a5ffb301704264fb0e4c85dc602216fcbc0a84f42d71eb940949d6 salesforcedx-vscode-core-50.8.0.vsix cfe31c2b599e8492457ccc89f4061b55e194d7f755f535bf215f64b9d5870b18 salesforcedx-vscode-expanded-50.8.0.vsix d9e3b1cbc2625fe021cc26f3009196100df9ba05b0f86576807d3e45086b7ace salesforcedx-vscode-lightning-50.8.0.vsix 0872f24082d1fd32936d47dcaf70adba7a8257b6f8ed181061240c3d0d76c977 salesforcedx-vscode-lwc-50.8.0.vsix 02e0046d1bedf7d37429a635c20419141e1e4f2c2389cb570cccae5483835be1 salesforcedx-vscode-visualforce-50.8.0.vsix bd60d60f9301856b36153e07f7dfb54bf7f15a8084a08bd720a027e328b7e981 salesforcedx-vscode-50.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.