-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signature verification failed with 'PackageIntegrityCheckFailed' error. #230816
Comments
CC @isidorn |
|
@dtivel Can you please check what is going wrong here? |
Full trace log attached: vscode_ext_install_trace.log BTW: a colleague is seeing the same thing in his trace log - |
@sandy081, this is the important clue:
The signature and manifest files look to be correct for the desired version. However, the VSIX file size is unexpected. Any idea why? From the log, I see Microsoft.VisualStudio.Code.Manifest and Microsoft.VisualStudio.Services.VsixSignature assets being downloaded, but I don't see Microsoft.VisualStudio.Services.VSIXPackage assets being downloaded. Is there a stale VSIX package on disk? A partially downloaded package on disk? |
Let me ask the user @pdpark Can you please open following folder and let us know what files you have there
|
I have confirmed two vscode users get this error in their trace log but the install succeeds. One is is on the same version I am, the other is on 1.93. In both cases, when they open their I have this in the left pane when viewing my
If the default for this setting is |
I'm not the only developer impacted by this at our company. Any suggestions for moving forward other than just setting |
FYI: a developer not having this issue does not even see
|
Can you please share those VSIXs with us? |
Still happening to me, Can't update copilot, many extensions. Is this issue fixed? |
They should be the same as you would get if you download them yourself, but I've attached the files to this comment. I had to change the file extensions to .txt - github would not allow the selection of .vsix files for upload. GitHub.copilot-1.238.0.txt |
I believe they are not as they seem to be verified properly for me. Thanks for the zips. |
I'm not sure why you believe that they are not the same files you would have gotten had you downloaded them when I did. They could be identical to the files you would have downloaded at the time and the signature verification could still fail for me and succeed for you if the problem is somewhere in the signature verification process and occurs only under specific circumstances which happen to differ between us. |
Same thing is happening to our team with the recent update. The error seems to be due to a different package size. Trace below:
|
@juantarquino-ssb Does this happens with all extensions or only with copilot chat extension? |
It happens with all of the extensions, not just the copilot chat extension. |
@juantarquino-ssb Can you please try our insiders and let us know if you are able to reproduce the same? |
I see from the original post that this reproed on macOS. Is anyone experiencing the same issue on Linux or Windows? |
I am experiencing the same issue on Windows 10 trying to install any extensions. I am on 64-bit VS Code version 1.95.3.
|
Same issue on MacOS with all extension updates - noticed a few weeks ago when none of the extensions were auto-updating as expected. Version info:
|
Can you please try our insiders and let me know if you are seeing the issue? |
The insider's version results in the same issue for me (PackageIntegrityCheckFailed). |
@juantarquino-ssb Can you please share the VSIX of the extension that is causing PackageIntegrityCheckFailed error. You can get the VSIX from following location
|
Here is the GitHub copilot VSIX from that |
Can you also please share the file |
That is interesting, I do not see a "github.copilot-1.246.0.sigzip" in that folder. Is there a way to check if VS Code was able to download that github.copilot-1.246.0.sigzip file? |
Probably it would have got deleted on VS Code Insiders restart. Can you please try installing the extension again and check the folder? |
Having this problem as well, but only on macOS. Tried removing the software, removing ~/.vscode and other folders, making sure macOS is up to date (15.1.1 (24B91)), rebooting, downloading a fresh copy of the Insider's Edition (downloaded 9 December 2024), and installing. Attempted to install the C/C++ extension... and same problem. Edit. Repeated this process and determined that extensions install correctly on 1.93, but not on 1.94. I've checked this on two macs (one Apple Silicon and one Intel, both running 15.1.1) with the same results. Unsurprisingly, if I let Code update itself, extensions can no longer be installed. Set updates to manual, performed settings sync, and everything is working. Will stay on 1.93 until the issue is fixed. If it is helpful for me to test out other versions, let me know. |
If you are able to reproduce the problem with VS Code Insiders Edition, can you please share following data
|
Installed Insiders Edition (downloaded today, 9 December 2024, 1.96.0-insider, commit 475a...6b0e). Tried to install Vim extension (vscodevim.vim, 1.29.0). Failed with the same error ("Signature verification failed with 'PackageIntegrityCheckFailed' error."). Here are the files from |
Type: Bug
Ever since upgrading to the most recent release of vscode I cannot install or upgrade any vscode extensions.
Cannot install ... extension because Visual Studio Code cannot verify the extension signature
Signature verification failed with 'PackageIntegrityCheckFailed' error.
VS Code version: Code 1.94.0 (Universal) (d78a74b, 2024-10-02T13:08:12.626Z)
OS version: Darwin arm64 23.6.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (23)
A/B Experiments
The text was updated successfully, but these errors were encountered: