-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
.NET 8 Runtime Bad Signature / Certificate for MacOS arm64 #100413
Comments
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov |
FYI, that error is from someone installing via homebrew, not directly via the install scripts. So there may be some homebrew stuff going on in between |
One install is via homebrew (8 0 1), the other (8 0 3) is via the install script. Presumably they hit the error on both given their messages, but they never actually 100% confirmed that. |
I can hit this installing nightlies, too, since those are not signed. |
Runtime either signs during the build, like in 7+ or post build during staging. If signatures are missing or incorrect then it's likely an infra issue, or someone didn't add a file to a list to be signed. Either way, I'd start with engineering. We're supposed to be validating the signatures. Has anyone diff'd the file in the tar.gz and .pkg to see if it's the same file? |
I just downloaded the 8.0.3 tar.gz and the files all seem to pass the signing scan with correct signatures. |
The binaries from Homebrew are ad-hoc signed, not signed by Microsoft. You can reproduce this issue by
The DevKit process is signed with Team ID: UBF8T346G9
A process that is signed with one Apple Code Signing Identity cannot load libraries that are signed by a different team, or in this case, no team (ad-hoc). |
Note that nightlies from |
I think the only solution here would be for Dev Kit to not consider installations of the Framework / Runtime / SDK that are unsigned. |
Closing as a dev kit issue |
Over on the DevKit side, we have a number of users on MacOS reporting this error:
microsoft/vscode-dotnettools#1002
This appears to be an issue with the runtime signatures for the local .zip runtimes shipped out and installed via the install scripts. Surprisingly, it is not just a problem with the 8.0.1 arm64 runtime but also the 8.0.3 arm64 runtime, at minimum. I imagine the same can be said for the 8.0.2 one as users would have temporarily been relieved of this issue via an automatic update.
cc @jeffschwMSFT
The text was updated successfully, but these errors were encountered: