News for hackers. Stuff that matters.
Re:Suspicious iOS KeePass Client by djxfade on Sunday May 21, 2023 @09:30AM (#36020665)
But that point applies to binary distribution outside an app store as well. How can you know that the binary linked from a GitHub repository is built from the same source?
Re:Suspicious iOS KeePass Client by haliskerbas on Sunday May 21, 2023 @09:41AM (#36020761)
The os can tell you a checksum in the settings page or before installing.

Or you can build from source and confirm on your own.

Re:Suspicious iOS KeePass Client by r3trohack3r on Sunday May 21, 2023 @10:28AM (#36021217)
What’s the point of downloading the binary if you’re going to compile from source yourself anyways?

Is the expectation that only a few users (watchdogs) do this and everyone else benefits from the extra validation?

Re:Suspicious iOS KeePass Client by kevingadd on Sunday May 21, 2023 @08:02PM (#36025837)
That model has been proven for cryptocurrency, hasn't it? As long as you have enough validators, you don't need everyone to spend the considerable resources it takes to validate (or in this case, build from source).

Right now the Apple model is "trust that the Apple employee who glanced at this for 15 minutes spotted any problems".

Re:Suspicious iOS KeePass Client by brookst on Sunday May 21, 2023 @09:57AM (#36020917)
How do you know the source hasn’t been tampered with, or outright backfired by the author?

I don’t think any distribution mechanism will solve the “how can I trust these bytes I got from the internet” problem.

Re:Suspicious iOS KeePass Client by r3trohack3r on Sunday May 21, 2023 @10:50AM (#36021519)
Ideally the source is readable, though reality falls short of that for most projects.

For example, I didn’t realize I liked C until Redis. Now I’ve found a handful of C programs that I’d put into the “readable by non-C devs” bucket, like i3 and the suckless collection.

Most build tools also are a disaster from the perspective of giving end users agency over their software. Automake, make, etc are often cryptic magic to non-practitioners. Like C, they can be made readable but most aren’t.

KISS Linux falls into this bucket of “grokable” as well, it’s minimal and the process of going from source to distribution is easy to understand. Many stock distributions are so complicated I don’t think the average tech-savvy human has any hope of truly understanding what their system is doing in a single lifetime.

Re:Suspicious iOS KeePass Client by soraminazuki on Sunday May 21, 2023 @10:44AM (#36021426)
That's why I prefer distro-built packages over upstream binaries wherever possible. It greatly reduces the number build and distribution platforms that I have to trust.
Re:Suspicious iOS KeePass Client by lxgr on Sunday May 21, 2023 @11:45AM (#36022097)
With reproducible builds (and as long as the distribution doesn't need to maintain any patches vs. upstream), this could even provide the best of both worlds: Verifiable hashes (comparable with upstream and other distributions) and a smaller set of trusted entities.

On the other hand, I'm not sure I'd necessarily trust a small open-source distribution's maintainers more than a widely used password manager's developers; I think I'd prefer my root of trust to be whatever has more users (and by proxy, hopefully scrutiny).

Re:Suspicious iOS KeePass Client by SAI_Peregrinus on Sunday May 21, 2023 @12:16PM (#36022392)
Or source-based distros (and equivalently source-based distros with reproducible builds & a binary cache of build artifacts with a package manager that checks the resulting hash matches the expected value).

Of course source can still be compromised, say by malicious dependencies. But it's better than source and binaries being compromisable.