Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1acwk6-0004hs-Fj for pgsql-docs@arkaria.postgresql.org; Mon, 07 Mar 2016 15:06:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1acwk6-0005Si-0i for pgsql-docs@arkaria.postgresql.org; Mon, 07 Mar 2016 15:06:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1acwjj-0004e2-0W for pgsql-docs@postgresql.org; Mon, 07 Mar 2016 15:06:19 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1acwjb-0005Ln-DZ for pgsql-docs@postgresql.org; Mon, 07 Mar 2016 15:06:17 +0000 Received: by mail-wm0-x22c.google.com with SMTP id l68so112247266wml.0 for ; Mon, 07 Mar 2016 07:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=tL49FQxB1mY3sBPjz1UmuRiKvhfvWGqXpVwwb6YH7F4=; b=KB/XgCDCga/mwfn2Eiex2CL5sEjhWTxeII3C07lBHSayvx704Xf4wRCGShZ3hIfcBd FCWQVXmnR4mSWE5o0b2yxcGriH/TGAO8MAZd/+cF6mpgHK9+jQs+xv/byTnrgPsQfTQE IbTpEEokrrUVo/jBCH3zFoUVJiBBNfW/FYwTjPW10QWbuOHqt0hiLag100QbsVqB9rGN QayxGuiz98khXZk1vsc8FQxy6BBM3YG/ZuIr0TlQdS8dPFDHlkn8Hnaa7MInhEpvzDCT XAwf7NEi8TnLjG8B6pYt13xtB3P/gXFXX9nPX6ZrTGEoB6mgYbA/jLG05OuklvC6jFOl Dwog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tL49FQxB1mY3sBPjz1UmuRiKvhfvWGqXpVwwb6YH7F4=; b=icqgaArdNb+1MXvbupdCl4/RTDMWR8G/Wpo5mvJYBNmtD2zZAZd8N0dsiW4T2B3615 Di3G+QTpcIjAEnpiEw+ZY9uHy5bbypLrZDRpFDRJ1VT9Bin3N3+1m/Uz2wGehrrL04oy NOSArYTFrJiSRR2ulSlz44Vacvj+jCRq52DQMQ2Bwv1iUsrnZCFgsbgR+sScXJ+KujJ2 fgaPUvI/yOovHWGBrtv8KUiIgLgcJ8fc+OVJFRdONv4RqiP+wLAqZngqHMJ7OWp8lgom q+kCMdpld6TAOcMtc9UAN82rYCTvQHdVnZJ7opPZboLI1Z1YZFEIdja3hzp1lAjgxkwJ XX5A== X-Gm-Message-State: AD7BkJIn3jFRGMCOLP6ItP3OKab8dcwaWIIxG7Rn6TsV7h0bYiiQss/w+A5C0fYfYRimbAB6HcZGUAOOSkCwBA== MIME-Version: 1.0 X-Received: by 10.194.246.35 with SMTP id xt3mr25552272wjc.57.1457363169510; Mon, 07 Mar 2016 07:06:09 -0800 (PST) Received: by 10.195.13.66 with HTTP; Mon, 7 Mar 2016 07:06:09 -0800 (PST) In-Reply-To: <56DD9839.2050804@student.kit.edu> References: <56DD9839.2050804@student.kit.edu> Date: Mon, 7 Mar 2016 16:06:09 +0100 Message-ID: Subject: Re: .deb signing key insecure against MitM From: Magnus Hagander To: Thomas Mayer Cc: pgsql-docs Content-Type: multipart/alternative; boundary=001a11c3a21a072e40052d76cecd X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org --001a11c3a21a072e40052d76cecd Content-Type: text/plain; charset=UTF-8 On Mon, Mar 7, 2016 at 4:03 PM, Thomas Mayer wrote: > I just visited http://www.postgresql.org/download/linux/debian/ and my > impression is that the way the signing key is published is not secured > against wrong origin or manipulation by a man in the middle (MitM) attacker. > > Meaning, that if a MitM attacker can compromise downloads, he or she is > also able to compromise the documentation site including the source of the > signing key, e.g. by publishing the attacker's signing key to the user. > Debian's apt-get will not complain if everything fits together. > > Therefore, I suggest that the whole page should be TLS secured > (HTTPS-only), not because of encryption but to ensure origin and integrity > of the signing key. > Work is under way to make the entire website available under https only. It's blocked behind some other work at this point, but once we get there, it should make this situation a lot better. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ --001a11c3a21a072e40052d76cecd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On M= on, Mar 7, 2016 at 4:03 PM, Thomas Mayer <thomas.mayer@student.= kit.edu> wrote:
I just visi= ted http://www.postgresql.org/download/linux/debian/= and my impression is that the way the signing key is published is not = secured against wrong origin or manipulation by a man in the middle (MitM) = attacker.

Meaning, that if a MitM attacker can compromise downloads, he or she is als= o able to compromise the documentation site including the source of the sig= ning key, e.g. by publishing the attacker's signing key to the user. De= bian's apt-get will not complain if everything fits together.

Therefore, I suggest that the whole page should be TLS secured (HTTPS-only)= , not because of encryption but to ensure origin and integrity of the signi= ng key.


Work is under wa= y to make the entire website available under https only. It's blocked b= ehind some other work at this point, but once we get there, it should make = this situation a lot better.

--
=C2=A0Magnus Hagander
=C2=A0Me: http://www.hagander.net/
=C2=A0Work= : http://www.r= edpill-linpro.com/
--001a11c3a21a072e40052d76cecd--