Could not verify that LibreWolf-WinUpdater.exe was correctly signed #71
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Cloudyne Systems (Scheibling Consulting AB)toOSSign (Scheibling Consulting AB)since the previous release of LibreWolf and WinUpdater (see Reddit).As such, only if you're still running WinUpdater 1.14.0 - 1.14.3, you may have to click "Yes" once if you see the following (i.e. when WinUpdater is trying to update itself):
After that, everything will continue as normal.
All in all, one might say WinUpdater "failed successfully": the certificate check did its job as supposed to, only the valid certificate unexpectedly had its name changed 😅
I didn't see this warning, so manually installed a new LibreWolf via installer. Now I have a whole new error problem with WinUpdater. I'll post a new issue about it.
I can confirm this behavior. It appears to be due to new rules for Windows PowerShell.
Hangs indefinitely.
Works perfectly, and PowerShell remembers the previous answer “A”.
Edit:
I tried it again for a bit, and the error message pops up pretty quickly, so that’s probably not the issue.
If you give me the PowerShell command, I’ll give it a try.
I clicked "no" and Librewolf portable still updated (from 1.14.3 to
1.50.0-1150.0-1) and launched. I guess everything's fine?Edit: typo
Get-AuthenticodeSignature "C:\Portable\librewolf\LibreWolf-WinUpdater.exe"
Get-AuthenticodeSignature "C:\Portable\librewolf\LibreWolf-Portable.exe"
Both actually look fine, so why the error?
I downloaded the latest version of LibreWolf. Same error. I decided to answer “Yes.” I think LibreWolf-WinUpdater.exe updated itself and reported that there was no new version (LibreWolf.exe) available.
It seems you have to answer “Yes” at least once. Scary, but… Now it works. Waiting for the next update.
Thank you very much for your work.
Edit:
Maybe the reason.
LibreWolf-WinUpdater.exe
BEFORE update
After update
@theofaron wrote in https://codeberg.org/librewolf/winupdater/issues/71#issuecomment-14037152:
What behavior are you confirming exactly? What do you see in the WinUpdater window at that time and what interactions did you do with it?
WinUpdater doesn't use
Invoke-WebRequest.It's more likely you've just had bad luck with Codeberg when WinUpdater seemed stuck: Codeberg's servers are known to be quite unresponsive at times lately, so when WinUpdater tries to check for/download an update, it seems like it's stuck, then eventually times out with an error.
Yes, both certificates can be trusted. The error message is shown because the certificate name (or "subject" in PowerShell) had changed unexpectedly. WinUpdater checks the name as well, because otherwise you can't be sure it hasn't been tampered with, then signed using a different certificate.
This seems fine. The latest LibreWolf setup file contains the version of WinUpdater which was still checking for the old certificate name, so you'd be seeing the warning until you click "Yes" one time to allow WinUpdater to update itself.
I agree, this has not been a great experience. Hopefully, many users reach out or at least try to inform themselves about what's going on, that's good to see 🙂
Thank you for reporting and trying to figure things out, much appreciated!
Nope, this was all due to the name change. The
Not beforeandNot afterspecifies that you cannot use that certificate to sign anything before / after those dates. So when we sign LibreWolf/WinUpdater/Portable, we get a new certificate to sign with almost every time, because it is only valid to sign with for a span of 3 days. That's what's OSSign has chosen and doesn't come into play when verifying the signature.@steelowheel wrote in https://codeberg.org/librewolf/winupdater/issues/71#issuecomment-14037329:
1.14.3is the previous version number for WinUpdater, while150.0-1(not1.50.0-1), which is the the previous version number of LibreWolf itself. I think you still need to update in your case, so close LibreWolf, runLibreWolf-WinUpdater.exeand click "Yes" once, then let it update itself (WinUpdater) to1.14.5(you'll see it in the title bar) and then LibreWolf to150.0.1-1.@ltguillaume wrote in https://codeberg.org/librewolf/winupdater/issues/71#issuecomment-14082512:
Yes, you're right, I ran LibreWolf-WinUpdater.exe again, clicked "Yes" and now Librewolf version is at 150.0.1-1. Thanks!