-
-
Notifications
You must be signed in to change notification settings - Fork 477
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
Hash mismatch in Pester 5.6.* and 6.0.0-alpha1 #2596
Comments
@nohwnd Thoughts on what might have changed? 5.6.*, 6.0.0-alpha1 - 6.0.0-alpha3 used the same certificate, but 6.0.0-alpha2 and 3 are valid. Was a different system used to sign so we maybe hit something like https://learn.microsoft.com/en-us/troubleshoot/windows-client/system-management-components/signed-powershell-script-fails-hash-mismatch ? |
I heard about this from David Sass as well, but yeah, I don't see it :/
|
Releasing 5.7.0 hopefully that will report valid signature |
Sounds good. Should be as it worked in never alphas. 🙂 I wonder which character is causing this though, so we can test and avoid it. Could also be inconsistent line breaks, especially if we don't have BOM. It's a PITA to troubleshoot. |
5.7.0 looks good. Valid on your system?
|
I heard about emojis causing this, but it was consistently breaking stuff. It is also weird that I don't see it on the signing system, the sign script validates that we signed all the files and that they are valid. closing for now, I cannot do anything about the previous versions. |
Yeah, it's likely a locale thing similar to the link I mentioned (though I couldn't find any äöü chars on first look). Valid now, so hopefully good. |
let's hope. Thanks for your help :) |
Discussed in #2595
Originally posted by santhoshmprabhu December 26, 2024
Hi, I am new to Pester, and also dev on Windows in general. I am trying to use Pester to run tests on a different repo that I am working on, I seem to get the following error each time:
I am using Windows Powershell. I have tried installing Pester from the PSGallery as well as from chocolatey, I get the same error. I also tried 5.6.0 from chocolatey to no avail. Could someone kindly provide any pointers? More info about my Shell:
EDIT: I subsequently tried Powershell, and can now invoke Pester. That does unblock me, but still can't get Pester to work on Windows Powershell.
Looks like we have a hash mismatch in both 5.6.0 and 5.6.1. It breaks on Windows PowerShell using AllSigned execution policy, but PowerShell 7 also confirms the hash mismatch (see below).
The text was updated successfully, but these errors were encountered: