by webber89 · 14y ago · 0 comments
OpenBSD is supposedly one of the most secure OSs in existence. So how is it possible that I cannot find any digital signatures for the downloadable ISOs? I've been searching all over Google and the mirrors, but nothing has come up.
One person has suggested to just order a CD set from them, but I don't think that's a good solution. Having a secure verified copy of an OS should not require ordering a physical "gold master" set of discs to compare against.
I mean, we have all the necessary crypto, and anyone can use it. Generate a GPG/PGP signature of the install ISO and that's it, you're done. A lot of people do it - Debian, Ubuntu, CentOS, all the big names... I mean seriously, even Arch Linux people do it, and until recently they didn't have package signing (now they do).
I'm not complaining or criticising OpenBSD, I'm just wondering about their attitude to this aspect of security. I would be very happy if anyone could elaborate on the topic.
FWIW, literally anyone can sign the OpenBSD releases and say "If your download matches this signature, it's the same as I downloaded from six different mirrors on three continents." Nobody does.
Besides, how do you know the files and their hashes are not modified en route to you? One rogue node on the way to you (think AT&T Room 641A, but with data modification abilities) is all it takes, unless the transfer is SSL encrypted. And I don't mean just between you and the mirror, possibly also between the developers and the mirror (I bet some people would be very interested in backdooring one of the most secure systems on the planet by compromising their install images). Modification wouldn't matter as much with a signature-based system, since anyone doing the verification correctly would notice the signature verification failing or the signature coming from the wrong key (see my other comment for more information).
And you are getting that signature from the same place you are getting the binaries you are worried about being tampered with? They don't bother with security theatre because they aren't interested in being performing artists.
You thought you were being witty with this "performing artists" stuff, but really this is just florid ignorance.
I'll admit I'm probably ignorant about this, but I don't see the point in that. If someone can compromise the binaries, they can also modify the signature files that are sitting in the exact same place.
So, putting the signature in the same directory as ISOs is a perfectly safe practice (assuming that strong asymmetric cryptography is used, and the private key is kept private).
Basically, except I meant the key not the signature.
[0] There is an attack where the adversary distributes malicious binaries signed with a key that appears to belong to the OpenBSD project, but which in reality would belong to the adversary. This could work if the adversary manages to mislead the user, but if the OpenBSD project team uploaded their public key all over the Internet (and preferably announce it on the mailing lists and home page), then this attack is ineffective. During signature verification, the key ID that created the signature is displayed and the user would know that something is wrong if the signature has not created by the usual OpenBSD signing key.
Sorry, I meant the key. As all the linux distros using PGP signing demonstrate, people don't bother to verify the key, they just accept it blindly and assume everything is cool. Since only 1 out of a million people ask for this, and of those only 1 out of a million would actually go through the correct procedure rather than just grabbing the key from the same place they are grabbing the binaries and not verifying it in any way, it isn't worth the effort. The 0.001% of the 0.001% already have the tools available to verify, it is just a bit of a pain to do. It isn't worth it for the openbsd devs to waste time making it easier for those people who wouldn't verify the key anyways to feel secure when they would be exactly as secure as they are now. That's what I mean by security theatre.