| ▲ | kyrra 5 hours ago | ||||||||||||||||||||||||||||||||||
For windows users, this is an advantage of using `winget` for installing things. It points to the installer hosted elsewhere, but it at least does a signature check. The config for the latest installer is listed here: https://github.com/microsoft/winget-pkgs/blob/master/manifes... which you can install with:
(there is a --version flag where you can specify "2.19", which the signature there is a month old, so it should be safe to install that way) | |||||||||||||||||||||||||||||||||||
| ▲ | fuzzy2 4 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
No, WinGet does not generally protect against this. While PRs to update package versions are verified in some way before going live, the necessary throughput can only be achieved with shallow checks. A determined actor could easily get a malicious update in, once they control the original source. Other than that, WinGet is mostly just "run setup.exe". It is not a package manager. It's basically MajorGeeks as a mediocre CLI. | |||||||||||||||||||||||||||||||||||
| ▲ | eviks 5 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
This manifest only shows sha checks, which wouldn't help if the manifest is updated during the site compromise. How does it do the signature check? | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | ww520 5 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
Yes. Winget is getting better support on Windows apps. The other day I tried to download the latest version of ImageMagick but all the links on the official site were bad. I tried Winget and it had it! | |||||||||||||||||||||||||||||||||||
| ▲ | hypeatei 5 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
Package managers also saved people from the Notepad++ hijack that was disclosed a couple months ago. I think devs should avoid distributing their software on first party sites unless they're willing to dedicate a bunch of time to making sure all the infra is secure. Not a lot of people verify signatures, but it's also good to have your PKI in order (signing keys should be available on multiple channels) | |||||||||||||||||||||||||||||||||||