News for hackers. Stuff that matters.
Re:Trust is good, control is better: Reproducible builds at ... by Hitton on Saturday July 20, 2019 @10:19AM (#20485897)
The part about Signal is inaccurate. Signal actually offers reproducible builds on their website, they don't want to publish on F-Droid at this time precisely because it wouldn't be signed by their own key, but by F-Droid's which would now just add one more party who would have to be trusted.
Re:Trust is good, control is better: Reproducible builds at ... by Boulth on Saturday July 20, 2019 @01:11PM (#20486985)
> they don't want to publish on F-Droid at this time precisely because it wouldn't be signed by their own key

Actually developers can sign with their own key if the build is reproducible (in an FDroid build system) and F-Droid would have no issues with distributing this app.

See the diagram here: https://f-droid.org/en/docs/Reproducible_Builds/

Re:Trust is good, control is better: Reproducible builds at ... by ardani on Saturday July 20, 2019 @04:39PM (#20488231)
Let me get this straight, this does not involve handing private keys to F-Droid? The app is verified reproducible minus the signature?

AFAIK it should work that way but I couldn't tell from the diagram and skimming the text.

Re:Trust is good, control is better: Reproducible builds at ... by Boulth on Sunday July 21, 2019 @03:05AM (#20490292)
Yes, F Droid builds it itself. Then compares with your build minus the signature. If it's the same it publishes with your signature. No need for any private key handling.
Re:Trust is good, control is better: Reproducible builds at ... by upofadown on Saturday July 20, 2019 @12:49PM (#20486850)
How hard have the Signal people tried? The article specifically says that a reproducible build could be signed by the originator:

>If Signal would be built reproducibly, everyone including F-Droid could check whether the app has been built straight from its source code and could then include it in F-Droid’s store

Re:Trust is good, control is better: Reproducible builds at ... by akerl_ on Saturday July 20, 2019 @01:10PM (#20486979)
It’s not really a matter of “trying”. Signal’s issue has always been that regardless of reproducible builds, the packages served by F-Droid are signed by F-Droid, not the developer (Signal, in this example). I’m not sure what they could do on their end to change that practice from F-Droid.
Re:Trust is good, control is better: Reproducible builds at ... by jacoblambda on Saturday July 20, 2019 @01:31PM (#20487120)
F-droid has a method for serving upstream signed APKs along with F-droid signed APKs as well as a method for exclusively serving upstream signed APKs.
Re:Trust is good, control is better: Reproducible builds at ... by akerl_ on Saturday July 20, 2019 @01:43PM (#20487193)
Interesting; TIL. Do you happen to have a link handy for the docs on setting that up?
Re:Trust is good, control is better: Reproducible builds at ... by ardani on Saturday July 20, 2019 @04:40PM (#20488234)
A nephew comment posted the docs:

https://f-droid.org/en/docs/Reproducible_Builds/

Re:Trust is good, control is better: Reproducible builds at ... by throwaway2048 on Saturday July 20, 2019 @12:57PM (#20486900)
Judging by signals history of apathy and hostility towards other open source projects and distributions, my guess would be "they haven't tried at all".
Re:Trust is good, control is better: Reproducible builds at ... by bubblethink on Sunday July 21, 2019 @02:44AM (#20490253)
This attitude is tiring. F-droid is fine and appreciated, but I really wouldn't want anything critical (say a journalist or whistelblower) to depend on it. If you have to depend on f-droid doing builds, there are no guarantees (it's all best-effort). Firefox and its flavours are routinely outdated. Firefox klar(focus) was outdated for six months because they couldn't build it. Now, let's say that f-droid is poor and run by hobbyists, and upstream ought to do better FOSS builds. Even with that, they don't even have the bandwidth to serve packages. They have one main server which is routinely swamped. It's a struggle to download anything from f-droid reliably. They added mirrors recently, but the main server is still the bottleneck without which the mirrors are useless.
Re:Trust is good, control is better: Reproducible builds at ... by chacha2 on Sunday July 21, 2019 @12:39PM (#20492152)
So a journalist or whistle-blower should use Play Store instead? You can put any repository you want on F-Droid and it'll alert you when there's new updates, that's much better than just having the apk.

> Firefox klar(focus) was outdated for six months because they couldn't build it.

A build that can't be reproduced is also a security threat.

Re:Trust is good, control is better: Reproducible builds at ... by bubblethink on Sunday July 21, 2019 @04:32PM (#20493487)
>So a journalist or whistle-blower should use Play Store instead?

Of course. There is nothing wrong with the play store per se in this context other than it not being FOSS.

>A build that can't be reproduced is also a security threat.

No. That's not the issue. F-droid has its own requirements which basically boil down to building software in their own debian VM with no/limited external software. That's an orthogonal engineering issue unrelated to security outside this narrow scope. There is a lot of upstream software that cannot be 'built' by f-droid. It can demonstrably be built if you follow the upstream's README.

Re:Trust is good, control is better: Reproducible builds at ... by southerntofu on Monday July 22, 2019 @09:59AM (#20498011)
> There is nothing wrong with the play store per se in this context other than it not being FOSS.

Well, the store itself isn't free-software. But the software it distributes also isn't free software and is many times crapware/malware, without any human review. F-Droid has "AntiFeatures" tags on applications, and while these could be better, they're already more informational for end-users than blindly downloading/running programs : https://f-droid.org/wiki/page/Antifeatures

Then, there's also the problem that Google Play Store relies on Google Play Services. So if you don't want to install Google's universal backdoor on your phone (which Google used last year to push silent config updates on some phones, wtf?) you can't use that. Or you have to use F-Droid to setup a Play Store scrapper such as Yalp or Aurora.

Re:Trust is good, control is better: Reproducible builds at ... by eropple on Saturday July 20, 2019 @10:53AM (#20486087)
I'm not super familiar with F-Droid, but isn't that effectively the solution they have for Google Play and the iOS App Store?
Re:Trust is good, control is better: Reproducible builds at ... by maxerickson on Saturday July 20, 2019 @12:06PM (#20486525)
Developers sign their apps with their own keys for the app stores. F-Droid builds and signs the apps they distribute.

https://f-droid.org/en/docs/FAQ_-_App_Developers/#what-about...

Re:Trust is good, control is better: Reproducible builds at ... by kuschkufan on Saturday July 20, 2019 @01:22PM (#20487058)
Google is now offering to sign apps for developers themselves.

https://support.google.com/googleplay/android-developer/answ...

I wonder when it becomes mandatory and hope it doesn't.