2 ms·
> or it'll ask you to confirm a dozen things for every package I bloody well hope it asks before running unverified code off the internet with root permission!
by creshal 11y ago
> or it'll ask you to confirm a dozen things for every package
I bloody well hope it asks before running unverified code off the internet with root permission!
- coldpie 11y agoYes, obviously you should know what the AUR is before you use it.
- baldfat 11y agoBig reason why I use OpenSUSE at work.
- tveita 11y agoA bunch of AUR packages, like Yaourt itself, download their sources over HTTP and verify them with MD5, so even if you trust the AUR maintainer you have no idea if you're getting the same file they did. It's sad that makepkg still uses MD5 by default in this day and age because "it's faster".
- creshal 11y agoFile hashes are only supposed to protect against download errors, not against malicious intent. MD5 is good enough for that, and makepkg supports GPG for actual verification.
- tveita 11y agoI assure you Yaourt doesn't have an .asc signature either. They should be using SHA-256, or Blake 2 if they think the extra seconds spent verifying matter, but insisting on using MD5 is pretty much going out of your way to increase your attack surface. There is no reason to use it in a modern system.
- creshal 11y ago> I assure you Yaourt doesn't have an .asc signature either. That's yaourt's problem, not makepkg's or the AUR's. > They should be using SHA-256, or Blake 2 if they think the extra seconds spent verifying matter, but insisting on using MD5 is pretty much going out of your way to increase your attack surface. It doesn't matter what algorithm you use, file hashes are not a security feature. Use GPG!
- tveita 11y agoThe widespread use of MD5 in AUR is because that is the default in makepkg, making it both AUR's and makepkg's "problem". > It doesn't matter what algorithm you use Of course it matters, they have different guarantees. A secure hash would at least guarantee that the file you get is the same one the packager got, MD5 doesn't. They are refusing to use strictly better alternatives out of pure stubbornness.