Re: [TLS] TLS-OBC and channel-bound cookies as a new TLS CB type (Re: TLS-OBC proposal)

Nico Williams <nico@cryptonector.com> Thu, 08 September 2011 21:30 UTC

Return-Path: <nico@cryptonector.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 24E7E21F8B3F for <tls@ietfa.amsl.com>; Thu, 8 Sep 2011 14:30:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.695
X-Spam-Level:
X-Spam-Status: No, score=-2.695 tagged_above=-999 required=5 tests=[AWL=-0.718, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8xfwRDvbr4MB for <tls@ietfa.amsl.com>; Thu, 8 Sep 2011 14:30:56 -0700 (PDT)
Received: from homiemail-a71.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfa.amsl.com (Postfix) with ESMTP id 72B1C21F8ACC for <tls@ietf.org>; Thu, 8 Sep 2011 14:30:56 -0700 (PDT)
Received: from homiemail-a71.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTP id 46FFA428076 for <tls@ietf.org>; Thu, 8 Sep 2011 14:32:49 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=BveKpvsBVypmQDYQgpENW/k6h9Dz6o6jlZTZxKJFPS+e mYPW4yhEOgFLNJrORPJS2lqaTQi4yDKm+LdhM9U9ZXCktkNvkhsXFqzIplgMzTI1 lJpeT0GT5W3pGQUrhItor82ReKe2zyuq/iUmkK3Vu8yMIAgTSodXYCzIovC8MWA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=t8VkfQNXCpwAUZjO0jAcKyySRNY=; b=BliLq6/OrLi C1PX/46KEgFZu5N4WKEPnuijNx3u6o3DVg0rm8C67nNGqdOGxOuwIlqmGEyTsS4r jOLZZvkxWZxFGmbTR1yBwgsEitOm7t5GdKDa+znbtZozD/R1QHeqCDqDmE6+iPGg jyCN0Ta5o3MLYea2b9SSk9akcCgesS74=
Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTPSA id E43D742806E for <tls@ietf.org>; Thu, 8 Sep 2011 14:32:47 -0700 (PDT)
Received: by gxk9 with SMTP id 9so430814gxk.40 for <tls@ietf.org>; Thu, 08 Sep 2011 14:32:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.64.202 with SMTP id q10mr1838657pbs.131.1315517566796; Thu, 08 Sep 2011 14:32:46 -0700 (PDT)
Received: by 10.68.66.163 with HTTP; Thu, 8 Sep 2011 14:32:46 -0700 (PDT)
In-Reply-To: <CADHfa2DB=k0R93v50vJrhugvET5bnyXe9pYEvpug+HGHSJhVoA@mail.gmail.com>
References: <CAK3OfOi4p9fYgODZG6mn0u3YdZb_Nzh0_dZ0fDiGJYRRjVqi7g@mail.gmail.com> <CADHfa2DB=k0R93v50vJrhugvET5bnyXe9pYEvpug+HGHSJhVoA@mail.gmail.com>
Date: Thu, 8 Sep 2011 16:32:46 -0500
Message-ID: <CAK3OfOhnpsHGYDPAeONTGF+98H==Hpypzqdb9vY2XcB8Owk_rw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Dirk Balfanz <balfanz@google.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: tls@ietf.org
Subject: Re: [TLS] TLS-OBC and channel-bound cookies as a new TLS CB type (Re: TLS-OBC proposal)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 08 Sep 2011 21:30:57 -0000

On Thu, Sep 8, 2011 at 4:22 PM, Dirk Balfanz <balfanz@google.com> wrote:
> On Thu, Sep 8, 2011 at 12:47 PM, Nico Williams <nico@cryptonector.com>
> wrote:
>> A digest of an OBC would be the CB data for the new CB type.
>
> Yes, exactly! I try to say as much
> here: http://www.browserauth.net/channel-bound-cookies (look for my mention
> of RFC 5929).

I did see it :)  Thanks!

>> The only downside is that we'd need two additional PK operations for
>> all full handshakes.
>
> Well, if you define "session" as something that survives full new
> handshakes, I guess. I would still call it a new "session", but the same
> "channel", but at this time we're mincing words...

Well, yes, "sessions" here would last no longer than the OBC.  If the
client generates a new OBC, old sessions are dead.  Now, here I'm not
referring to TLS sessions proper, but a new concept of session that is
much more within the control of the client.

So, it's not so much that we're mincing words but that we need to be
real careful with terminology.  This being a mail thread and not an
I-D I got careless with terminology for the sake of brevity :)

>> Note too that what you propose fits RFC 5056 just fine.
>
> Yes, I noticed that, too.

Great.

Is there any way to avoid the need for negotiation of OBC?  I'm
guessing that for some TLS server stacks the use of random self-signed
client certs would result in failure, thus negotiation is necessary.
Is that right?

Nico
--