Re: [IPsec] replacing PSKs: CFRG and PAKE
Paul Wouters <paul@nohats.ca> Tue, 11 December 2018 01:58 UTC
Return-Path: <paul@nohats.ca>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 328CB1277D2 for <ipsec@ietfa.amsl.com>; Mon, 10 Dec 2018 17:58:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 VpvB9lSWzIoK for <ipsec@ietfa.amsl.com>; Mon, 10 Dec 2018 17:58:24 -0800 (PST)
Received: from mx.nohats.ca (mx.nohats.ca [193.110.157.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D938126CC7 for <ipsec@ietf.org>; Mon, 10 Dec 2018 17:58:24 -0800 (PST)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 43DNQ30xDwzG7L; Tue, 11 Dec 2018 02:58:19 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1544493499; bh=ylszCNGHx8eyhW0kuw6BCwI7bJe6APxa4nmIq3hYn/c=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=uFv76o7JNiAqPw1T2AhlRLajlwj4cRr5kiQnrQ7C+6Ev+Si3YmwYM+rkoJT+6pkTn s45WRJxu6A6040PGfXHxOx5sHWMDx+id1+bjKgDDoCdppA+pmeFcBtjGILiRITcxwv gHclMd5qE6CWZHB7g1U8bnZczsj+8F/dyPAYEWnE=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id Fe3U-3lmXCKK; Tue, 11 Dec 2018 02:58:17 +0100 (CET)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Tue, 11 Dec 2018 02:58:16 +0100 (CET)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id C043E125611; Mon, 10 Dec 2018 20:58:15 -0500 (EST)
DKIM-Filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca C043E125611
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id B46C3418A29D; Mon, 10 Dec 2018 20:58:15 -0500 (EST)
Date: Mon, 10 Dec 2018 20:58:15 -0500
From: Paul Wouters <paul@nohats.ca>
To: Nico Williams <nico@cryptonector.com>
cc: Michael Richardson <mcr+ietf@sandelman.ca>, ipsec@ietf.org, Valery Smyslov <smyslov.ietf@gmail.com>
In-Reply-To: <20181211001622.GD15561@localhost>
Message-ID: <alpine.LRH.2.21.1812102042330.22448@bofh.nohats.ca>
References: <25207.1544136532@localhost> <026601d49061$8809ad30$981d0790$@gmail.com> <29587.1544482818@localhost> <20181210231958.GC15561@localhost> <alpine.LRH.2.21.1812101846010.29141@bofh.nohats.ca> <20181211001622.GD15561@localhost>
User-Agent: Alpine 2.21 (LRH 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/JkcX0EEF3Ul9b2JDo7XlSIP8EfE>
Subject: Re: [IPsec] replacing PSKs: CFRG and PAKE
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Dec 2018 01:58:26 -0000
On Mon, 10 Dec 2018, Nico Williams wrote: >> That is still missing OTP support :( > > If you have the private keys locked unextractably in a hardware token > that requires a PIN to unlock, then you have two factors right there. > That's not generic two-factor authentication though, and it certainly > isn't OTP. Right. So I guess what I'd like PSK-replacement-PAKE to support is using OTP, without EAP. But I guess that's not really possible if I understand things correctly. With XAUTH, we had a way to transfer a password in an encrypted payload, and the password could be in the syntax of "<user_password>:<user_token>" If we are going to basically obsolete/deprecate RFC 6628 and 6467, it would be nice if we did it in such a way that we can still have OTP support. >> I'd want the PAKE method to support OTP. > > It's doable. Great :) >> Explaining these differences on this list would be useful for me and >> possibly others. Thanks for these. > A PAKE is a zero-knowledge password proof protocol (ZKPP) that also > provides authenticated key exchange with forward security. A ZKPP is a > password-based authentication protocol where neither eavesdroppers nor > active attackers get to mount off-line dictionary attacks on captured > protocol material. > > I had never seen the word "balanced" used to refer to "not augmented", > but I like it. > > A "balanced" PAKE is one where both sides share a secret or secret- > equivalent. > > An "augmented" PAKE is a PAKE where the credentials are asymmetric so > that relying parties (servers, acceptors, responders, whatever you call > them) store "verifiers" rather than password-equivalent secrets. > > A verifier is much like a hash of a password: not password-equivalent, > but susceptible to off-line dictionary attack. > > Compromise of shared secrets (via server compromise) is catastrophic for > a balanced PAKE since until you're able to change all the secrets the > attacker can impersonate all the users to the server. > > Compromise of verifiers (via server compromise) is much less disastrous > for an augmented PAKE because you have some time in which to change all > the weak secrets: the time it would take the attacker to recover > passwords via off-line dictionary attack. The verifiers would all be > salted, naturally, so if your secrets are reasonably strong then that > might be a lot of time to change all those passwords. > > A balanced PAKE is symmetric as to initiator/responder roles. An > augmented PAKE is not quite. In that case, the gain of augmented PAKE seems small. If the server is compromised, they can just pretend the AUTH payload is OK if they _want_ you to connect to them and get all your traffic. And the client needs to know the password, and not just the verifier. For the case where a VPN gateway should not have the password credentials itself, it would (should?) be using some kind of EAP mechanism anyway? So we don't need an augmented PAKE for that? > The asymmetry in roles in augmented PAKEs means that in order to > function as an IKE responder (and thus maintain IKE initiator/responder > role symmetry), the IKE PAKE extension would have to permit one side to > request that the other initiate the augmented PAKE exchange. that feels the wrong method for a site-to-site VPN connecting two enterprises. One would have a better security after compromise than the other side? So it seems to me one balanced PAKE would be enough, but I'll go reread some older messages again. Paul
- [IPsec] replacing PSKs: CFRG and PAKE Michael Richardson
- Re: [IPsec] replacing PSKs: CFRG and PAKE Nico Williams
- Re: [IPsec] replacing PSKs: CFRG and PAKE Michael Richardson
- Re: [IPsec] replacing PSKs: CFRG and PAKE Valery Smyslov
- Re: [IPsec] replacing PSKs: CFRG and PAKE Valery Smyslov
- Re: [IPsec] replacing PSKs: CFRG and PAKE Michael Richardson
- Re: [IPsec] replacing PSKs: CFRG and PAKE Nico Williams
- Re: [IPsec] replacing PSKs: CFRG and PAKE Nico Williams
- Re: [IPsec] replacing PSKs: CFRG and PAKE Paul Wouters
- Re: [IPsec] replacing PSKs: CFRG and PAKE Paul Wouters
- Re: [IPsec] replacing PSKs: CFRG and PAKE Nico Williams
- Re: [IPsec] replacing PSKs: CFRG and PAKE Paul Wouters
- Re: [IPsec] replacing PSKs: CFRG and PAKE Michael Richardson
- Re: [IPsec] replacing PSKs: CFRG and PAKE Paul Wouters
- Re: [IPsec] replacing PSKs: CFRG and PAKE Michael Richardson
- Re: [IPsec] replacing PSKs: CFRG and PAKE Nico Williams
- Re: [IPsec] replacing PSKs: CFRG and PAKE Nico Williams
- Re: [IPsec] replacing PSKs: CFRG and PAKE Valery Smyslov
- Re: [IPsec] replacing PSKs: CFRG and PAKE Michael Richardson
- Re: [IPsec] replacing PSKs: CFRG and PAKE Michael Richardson
- Re: [IPsec] replacing PSKs: CFRG and PAKE Valery Smyslov
- Re: [IPsec] replacing PSKs: CFRG and PAKE Nico Williams
- Re: [IPsec] replacing PSKs: CFRG and PAKE Paul Wouters
- Re: [IPsec] replacing PSKs: CFRG and PAKE Paul Wouters
- Re: [IPsec] replacing PSKs: CFRG and PAKE Valery Smyslov
- Re: [IPsec] replacing PSKs: CFRG and PAKE Yoav Nir
- Re: [IPsec] replacing PSKs: CFRG and PAKE Michael Richardson