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.12.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.
86935b95dc6c3bc504777b673af46c47286a6aa3eb21485b21bb6f7e157b515b salesforcedx-vscode-60.12.0.vsix 4d895f0fec16b7843f7ea14f09c2de4c149a076e3ad6bbea733ecda04ed70f60 salesforcedx-vscode-apex-60.12.0.vsix c77f04afc4464b73b9e339b37e9f5faf503c3879044700234031bca9b8aedb99 salesforcedx-vscode-apex-debugger-60.12.0.vsix bbcd279f079e65d357dadb862b77276f1f8ad6007de8ac44944814c6a6d4a1b7 salesforcedx-vscode-apex-replay-debugger-60.12.0.vsix f4d1e0f6e0799b4f8de1f8c2ff165dd711a8372ef1f7e627be22fd01b25c34ad salesforcedx-vscode-core-60.12.0.vsix 60a596c210e7ea7e6fd44d451a66d862671f1946b86e411d6090fcba433b3c6e salesforcedx-vscode-expanded-60.12.0.vsix 4f761a6a84d326e9b251600299d65543d4993991b2a6edde036c1f75510bb1b5 salesforcedx-vscode-lightning-60.12.0.vsix 710f350378918e1c8bfaeb35672a21759441d22e9bcbe58690f537835be70f6e salesforcedx-vscode-lwc-60.12.0.vsix c1bcec624b10fd90fcbde70f89f956af7b603e30cdb75ba139102f94711e6c22 salesforcedx-vscode-soql-60.12.0.vsix 97a61486d31404e6468677d9edf8028c17295d2a44e9db27dbd9be176b9187cb salesforcedx-vscode-visualforce-60.12.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.