News for hackers. Stuff that matters.
Re:Flatpak 1.0 Released, Ready for Prime Time by alkonaut on Monday August 20, 2018 @10:03AM (#17799933)
> if you pack $newpopularsoftware first you can now install malware on everyone's computers with a single push.

How does this compare to the traditional package managers?

Re:Flatpak 1.0 Released, Ready for Prime Time by cpburns2009 on Monday August 20, 2018 @10:19AM (#17800075)
Well, looking at the procedure for Snap [1] there's no review at all. Flatpak [2] defers to Flathub [3] which has some sort of review: a pull request on Github but I'm not sure how thorough that is. Traditional package repositories have a review phase before you can get your package into the system (that's how it is with Debian at least).

[1]: https://docs.snapcraft.io/build-snaps/upload

[2]: http://docs.flatpak.org/en/latest/publishing.html

[3]: https://github.com/flathub/flathub/wiki/App-Submission

Re:Flatpak 1.0 Released, Ready for Prime Time by alkonaut on Monday August 20, 2018 @10:23AM (#17800117)
How does that review work in the case of binary/proprietary packages?
Re:Flatpak 1.0 Released, Ready for Prime Time by TingPing on Monday August 20, 2018 @10:34AM (#17800211)
Flathub reviewer here. We do not security audit code of any project as thats just unreasonable. The user puts ultimate trust in the upstream projects we just ensure that the right upstream is used, libraries are up to date and sanely built, permissions are as reasonable as they can be, etc.

This is identical to every traditional distro like Debian or Fedora.

Re:Flatpak 1.0 Released, Ready for Prime Time by cpburns2009 on Monday August 20, 2018 @10:31AM (#17800181)
I'm assuming you're talking about traditional package managers. Proprietary packages aren't uploaded to the main package repositories from what I've seen. The company will typically provide the packages themselves (e.g., a deb or rpm file), and sometimes they'll provide their own repositories for easier delivery. This has been my experience with Dropbox, SpiderOak, and Sublime Text.
Re:Flatpak 1.0 Released, Ready for Prime Time by alkonaut on Monday August 20, 2018 @10:35AM (#17800221)
Got ya. They create their own repositories, and don't use the central one.
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @10:41AM (#17800281)
The review is to get your access to publish, not the code submitted. So pass that, package honestly for 6 months, deploy malware.
Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @10:32AM (#17800195)
If I need software not found in my upstream repos you have 3 options:

1. Packaged by the developer/publisher, see Virtualbox, Spotify, Chrome, Slack etc...

2. Packaged by a single 3rd party, see PPAs

3. A central 3rd party repo populated by anyone, NPM, AUR, pip, Snap/Flatpak etc..

Case 1: I have to trust the developer/publisher which is sensible, you're already trusting their code to run.

Case 2: I have to trust some random 3rd party, sometimes this is possible, sometimes not but if I do trust them I'm trusting them for one package (and maybe it's dependencies). I may have multiple options of who to trust to provide this package.

Case 3: Anyone can package anything if they get there first they can publish things however they like. The problem is that they are implicitly trusted by the repo, not me.

The first 2 are acts of active trust, I have to verify the person/company I'm downloading and make a decision whether I trust them or not. With a 3rd party central repo (it doesn't matter what format) I do not have that option, I either trust everything that anyone can publish to be correct or I don't use it.

Re:Flatpak 1.0 Released, Ready for Prime Time by j605 on Monday August 20, 2018 @03:36PM (#17803149)
AUR, snap and flatpak all work differently. AUR is free for all with no trust implied or given but packages will be removed upon user intervention. So curation is basically done by users and other administrations but it doesn't prevent bad packages from being uploaded in the first place. Most of the AUR is building from source so you just have to read the build scripts (PKGBUILDs) of each package before installing and do what a maintainer does.

It gets easier on updates since you only have to check diffs between versions. I believe you are making a wrong decision if you trust anything on the AUR implicitly.

Re:Flatpak 1.0 Released, Ready for Prime Time by deadbunny on Monday August 20, 2018 @05:20PM (#17804094)
> I believe you are making a wrong decision if you trust anything on the AUR implicitly.

That's basically my entire point.