-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Signature verification failed with 'PackageIntegrityCheckFailed' error. #230816
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
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? |
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 |
Facing the same issue with 1.98.0-insider on Manjaro. |
Decided to try 1.98.0-insider on Arch. Every extension exhibits this bug on new install and/or on any update. If I press "Install anyway (Don't verify signature)", then each extension seems to install and run fine. I've run the regular release (currently 1.97.2) on my machine for ages and it has no issues installing and/or updating extensions. |
@NirmalManoj and @bulletmark Can you please share to which Marketplace you are connecting to? You can see that by doing following
|
@sandy081 earlier today I reinstalled vscode insiders and the problem went away. |
@sandy081 I'm having trouble easily locating the marketplace URL. Could you please elaborate on the steps (perhaps with screenshots)? |
@sandy081
Is this the URL you're looking for? Please let me know if you need any further details! |
@NirmalManoj Thanks for sharing the information. If you are still able to reproduce the issue, please share following logs
Also your System information Thanks |
@sandy081 Still able to reproduce the issue.
Help --> About info:
Linux distro is Manjaro KDE 25.0.0. |
You are on old insider and which is not logging some necessary information. Can you please update to latest insiders and retry? |
Got a log from MacOS to help with this issue: Machine Information: VSCode Information: Log level set to trace:
Note: Reproducing inside VSCode insider with default settings produces the same log on log level set to trace. Here's that log:
|
@sandy081 Thanks, I tried after updating to 1.99.0. The issue got resolved automatically.
|
@HearseDev You seems to have a different issue - |
I'm having a similar issue; Logs after clicking "Update": log.ts:460 ERR lock() request could not be registered.: InvalidStateError: lock() request could not be registered.
error @ log.ts:460
error @ log.ts:565
error @ logService.ts:51
mc @ workbench.ts:116
(anonymous) @ workbench.ts:97
onUnexpectedError @ errors.ts:65
mt @ errors.ts:110
(anonymous) @ workbench.ts:90
log.ts:460 ERR SignatureVerificationInternal: Signature verification failed with 'ENOENT' error.
at yh.xb (file:///gnu/store/9rhs4wjaz1vxxgbds6znbf81hljn2hvm-vscode-1.100.2/opt/vscode/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:64415)
at async yh.wb (file:///gnu/store/9rhs4wjaz1vxxgbds6znbf81hljn2hvm-vscode-1.100.2/opt/vscode/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:62886)
error @ log.ts:460
error @ log.ts:565
error @ logService.ts:51
run @ extensionsActions.ts:106
run @ extensionsActions.ts:1043
await in run
u @ actions.ts:194
run @ actions.ts:185
onClick @ actionViewItems.ts:173
(anonymous) @ actionViewItems.ts:153
log.ts:460 ERR Signature verification failed with 'ENOENT' error.: SignatureVerificationInternal: Signature verification failed with 'ENOENT' error.
at yh.xb (file:///gnu/store/9rhs4wjaz1vxxgbds6znbf81hljn2hvm-vscode-1.100.2/opt/vscode/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:64415)
at async yh.wb (file:///gnu/store/9rhs4wjaz1vxxgbds6znbf81hljn2hvm-vscode-1.100.2/opt/vscode/resources/app/out/vs/code/electron-utility/sharedProcess/sharedProcessMain.js:74:62886)
error @ log.ts:460
error @ log.ts:565
error @ logService.ts:51
mc @ workbench.ts:116
(anonymous) @ workbench.ts:97
onUnexpectedError @ errors.ts:65
mt @ errors.ts:110
(anonymous) @ workbench.ts:90 Release
|
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: