From owner-freebsd-pkgbase@freebsd.org Wed Jun 29 21:21:08 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43A45B869C2 for ; Wed, 29 Jun 2016 21:21:08 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1C38E2866 for ; Wed, 29 Jun 2016 21:21:07 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yuri.doctorlan.com (c-24-5-143-190.hsd1.ca.comcast.net [24.5.143.190]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id u5TLL1bf046261 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 29 Jun 2016 14:21:01 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-5-143-190.hsd1.ca.comcast.net [24.5.143.190] claimed to be yuri.doctorlan.com To: freebsd-pkgbase@freebsd.org From: Yuri Subject: Are signatures of system images verified? Message-ID: <2cde3a9e-8b4d-8c5e-408a-053710986e29@rawbw.com> Date: Wed, 29 Jun 2016 14:21:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2016 21:21:08 -0000 Both system installer and poudriere jails take images from http://ftp.freebsd.org/pub/FreeBSD/releases/ But I can't see that there is a signature anywhere there that is verified during the download. For example, pkg(8) uses the key fingerprint /usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301 to verify downloads. This is the only file under /usr/share/keys/ Does this mean that system images aren't verified and MITM is possible, or I am missing something? Yuri