Re: [TLS] PR#962:CertificateRequest in post-handhake phase

Ilari Liusvaara <ilariliusvaara@welho.com> Tue, 18 April 2017 20:44 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D41FA128CDC for <tls@ietfa.amsl.com>; Tue, 18 Apr 2017 13:44:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yysJzdw4-HBb for <tls@ietfa.amsl.com>; Tue, 18 Apr 2017 13:44:05 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1.welho.com [83.102.41.23]) by ietfa.amsl.com (Postfix) with ESMTP id AD4BF1200FC for <tls@ietf.org>; Tue, 18 Apr 2017 13:44:05 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id 639ED1FCE9; Tue, 18 Apr 2017 23:44:03 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id RUPXmmjwqb-Y; Tue, 18 Apr 2017 23:44:03 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 11A5EC4; Tue, 18 Apr 2017 23:44:03 +0300 (EEST)
Date: Tue, 18 Apr 2017 23:44:02 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170418204401.GB13232@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CABcZeBMaK0Av79ih3oHLj89_Vh5cr7Pp8repO9Lw5JtPRGN2ow@mail.gmail.com> <20170418194134.GA13232@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBOuejVKi+AQGFSHgbcPKaCcE64X3Rsiv9uSW_NKPKf=MQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CABcZeBOuejVKi+AQGFSHgbcPKaCcE64X3Rsiv9uSW_NKPKf=MQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/KcU4G-XqHGpcdIuzC8_zHkWBKkM>
Subject: Re: [TLS] PR#962:CertificateRequest in post-handhake phase
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Apr 2017 20:44:08 -0000

On Tue, Apr 18, 2017 at 03:51:53PM -0400, Eric Rescorla wrote:
> On Tue, Apr 18, 2017 at 3:41 PM, Ilari Liusvaara <ilariliusvaara@welho.com>
> wrote:
> >
> > On topic of PSKs, I noticed that TLS 1.3 makes it very easy to mount
> > dictionary attacks against PSK, regardless of DHE-PSK (especially to
> > recover the client PSK). I assumed that the document already documents
> > this, but I couldn't find any remark that using low-entropy PSKs is very
> > bad idea.
> >
> 
> Good point. As far as I can tell...
> 
> 1. You can search the binder.
> 2. Because we forbid PSK with server authentication, you can also
> impersonate the server and then mount a dictionary attack (even w/o the
> binder).

AFAICT, if I wanted to extract low-entropy client PSK, I wouldn't even
bother with 2, since 1 seems so much more efficient (all passive too!)..


Also, wonder if there are efficient ways of probing server PSKs (I
didn't compe up with one, even in pure-PSK, due to binders making
such probing nontrivial).


-Ilari