r/sysadmin • • May 19 '20

Microsoft 📢 Windows Package Manager | winget.exe

[deleted] — view deleted post

381 Upvotes

126 comments sorted by

View all comments

Show parent comment

2

u/[deleted] May 20 '20

How is linking to the vendors' website insecure? Hell, it's less insecure than linking to some central repository (because whatever is on that central repository probably came from the vendor website).

4

u/theevilsharpie Jack of All Trades May 20 '20

How is linking to the vendors' website insecure?

In the case of Chocolatey, you're dependent on the vendor to continue hosting the artifacts that the package downloads and installs, and you're also dependent on the vendor not to change the software after the fact. Chocolately has some basic checksumming support, but that's not nearly as strong of a guarantee as a full package signature, and it doesn't work for application installers that themselves perform further package installations.

(I will admit that I haven't look at Chocolatey in a while, so some of these concerns might be outdated.)

2

u/dcardon Sr. Sysadmin May 20 '20

Chocolatey is no packaging (it is not self contained, it just points to the download url). Packaging on Windows is a big issue because of redistribution/licensing issue. Chocolatey is trying to avoid this issue by directly downloading but it is no true package... (per debian, centos, redhat, ubuntu, etc. whatever distribution you name)