From owner-freebsd-security@FreeBSD.ORG Sat Nov 26 22:45:35 2005 Return-Path: X-Original-To: freebsd-security@freebsd.org Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8395416A41F for ; Sat, 26 Nov 2005 22:45:35 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8C8B43D5C for ; Sat, 26 Nov 2005 22:45:32 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail05.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id jAQMjUSk029858 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 27 Nov 2005 09:45:31 +1100 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id jAQMjUHh029142 for ; Sun, 27 Nov 2005 09:45:30 +1100 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id jAQMjUGR029141 for freebsd-security@freebsd.org; Sun, 27 Nov 2005 09:45:30 +1100 (EST) (envelope-from pjeremy) Date: Sun, 27 Nov 2005 09:45:30 +1100 From: Peter Jeremy To: freebsd-security@freebsd.org Message-ID: <20051126224530.GD27757@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lCAWRPmW1mITcIfM" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc Subject: Reflections on Trusting Trust X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2005 22:45:35 -0000 --lCAWRPmW1mITcIfM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable or "How do I know my copy of FreeBSD is the same as yours?" I have recently been meditating on the issue of validating X.509 root certificates. An obvious extension to that is validating FreeBSD itself. Under "The Cutting Edge", the handbook lists 3 methods of synchronising your personal copy of FreeBSD with the Project's copy: Anonymous CVS, CTM and CVSup. There are two CTM modes (e-mail and FTP) and you can also download or buy ISOs. Of these six options, only CTM via e-mail has a digital signature, though the ISO checksums can be compared against the signed release announcements. Physical ISOs are a tricky subject - by trusting the content, I am implicitly trusting the vendor (Walnut Creek, Wind River in the past and (eg) FreeBSD Mall now). The FreeBSD project appears to have three official keys: 1) FreeBSD Security Officer (0xCA6CDFB2) 2) Core Team Secretary (0xFF8AE305) 3) CTM e-mail (0xC380B4D8) Of these, only the Security Officer's key has a wide assortment of signatures - providing a reasonably likelihood that an arbitrary person will be able to integrate it into their PGP web-of-trust. The Core Team secretary's key is only signed by four people other than the current secretary - this is somewhat marginal. The CTM key has only a single signature. This is manifestly inadequate. At the very least, the key should be signed by the person who is running the CTM service. The FreeBSD release announcements are currently signed personally by the Release Engineer. IMHO, there should be a FreeBSD Release Engineering key that is used for these announcements. I have also been unable to locate any published information regarding the protection of or access to the private keys for the above. Finally, FreeBSD is dependent on the protection of its DNS entries. Many years ago, I asked about the DNS servers and got a response that I found acceptable. Based on a recent check, I suspect that things have changed - it looks like ns0.freebsd.org is now part of Yahoo. Overall, I believe FreeBSD could be improved by: - Formulating and promulgating a policy for the protection and use of FreeBSD Project DNS, keys and certificates. (The public version of the policy does not go into explicit details but should allow an independent observer to verify its adequacy). - Creating a FreeBSD Release Engineering key which is used to sign official e-mails from the release engineering team - in particular -RELEASE announcements. - Tying all the FreeBSD Project keys together by cross-signing them all. - Arranging for a wider range of signatures on FreeBSD Project keys (the SO key's already meets this). - Investigate obtaining a X.509 certificate for the FreeBSD Project - Signing ISO images with a Project key and/or certificate in addition to providing MD5 checksums. - Investigate providing authenticated protocols for updating FreeBSD. --=20 Peter Jeremy --lCAWRPmW1mITcIfM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDiOWJ/opHv/APuIcRAn9rAKCw59VKo1RbWwzjTc8XYq9rK7I8vQCfTBaG HhPsaAi6/nALm+brUw/9Lyo= =YP4A -----END PGP SIGNATURE----- --lCAWRPmW1mITcIfM--