Project

General

Profile

Feature #4472

Cryptographically sign every (sub-)release

Added by Patrick Hieber over 5 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Build / Release
Target version:
-
Start date:
02/25/2015
Due date:
% Done:

0%

Estimated time:

Description

As it is quite easy for an active adversary to inject arbitrary data, every release should be signed, not only hashed.

History

#1 Updated by Jim Pingle over 5 years ago

  • Priority changed from Very High to Normal

They are all currently signed with gzsig. Update files have their signature checked before being applied. So do packages (on 2.2). I'll leave this open for others here to comment, there may be some area that could be improved, but it is already done, though not quite so simple for the average user to verify.

#2 Updated by Patrick Hieber over 5 years ago

I cannot find signatures when opening a mirror directory (e.g. http://files.nl.pfsense.org/mirror/downloads/). I meant the ISO and IMG files.

#3 Updated by Jim Pingle over 5 years ago

Yes, all of the files including the ISO and IMG files are gzipped and signed with gzsig which adds signature metadata to the file. It must be checked with a program that understands the signature made by gzsig, and it is checked against the public key found in the release: source:etc/pubkey.pem

#4 Updated by Patrick Hieber over 5 years ago

Uhh - what a rare animal! I wasn't aware of gzsig so far.

Let's hope the attack on monkey.org, hosting also gzsig, hasn't affected gzsig-0.1 itself...
http://www.net-security.org/article.php?id=124
http://www.monkey.org/~dugsong/gzsig-0.1.tar.gz

#5 Updated by Jim Pingle over 5 years ago

Yeah, hence my saying "not quite so simple for the average user to verify". :-)

We keep our own copy of gzsig in our tools repository, source and all, so we don't rely on an outside source that could be compromised.

Easiest way to verify would be to drop the file onto a running pfSense system (VM, etc) and run gzsig from there.

#6 Updated by Chris Buechler over 5 years ago

Updates are signed and validated. The downloads page has a link to the md5 and sha256 hash files for your selected download via HTTPS. So there are secure means of validating your downloads. Still, signing ISO and img files as an additional option isn't a bad idea.

#7 Updated by Jim Pingle 12 months ago

  • Category set to Build / Release

Also available in: Atom PDF