Re: [TLS] Summarizing identity change discussion so far

Kyle Hamilton <aerowolf@gmail.com> Thu, 17 December 2009 21:37 UTC

Return-Path: <aerowolf@gmail.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 74FA33A68AF for <tls@core3.amsl.com>; Thu, 17 Dec 2009 13:37:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.569
X-Spam-Level:
X-Spam-Status: No, score=-2.569 tagged_above=-999 required=5 tests=[AWL=0.030, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LPZFFDx6TzrQ for <tls@core3.amsl.com>; Thu, 17 Dec 2009 13:37:34 -0800 (PST)
Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by core3.amsl.com (Postfix) with ESMTP id C58213A681A for <tls@ietf.org>; Thu, 17 Dec 2009 13:37:34 -0800 (PST)
Received: by pwi20 with SMTP id 20so1665996pwi.29 for <tls@ietf.org>; Thu, 17 Dec 2009 13:37:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=BskSGSx7n1Nv/bSQVmbPMqUTHGoapNxqADFZFJTWkSE=; b=A53bGrAqbGyHs7vYretfYMRYmc2oSuNXcV+xJagcQpLO/OlLyRIt585SlCYhaNdVmj ffYhb/M2qKF6vr7EsiworjWdSJUdJYNY4IoJe9vZ31hpWU0FHZUrW96aiyXTLVgy/awT 84/RG+GF0K5+YJWg3gCimngtchZ77SQa2fAls=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DvxLB+aG6TplqRTcCJWztc7lML4KdQ89Lpj/yAxVgMW7ymKeDhSw3iLRtKzgmzAmVX L/24rlmMO8a0QQoaA6E/S5fu75MCd9iw6+EoMYpd2GdLNiEQEyBIYYH1FrLvmi/z94cd iXporu14N0r5TrIzLN3TYYLKkr00tDp3N58b4=
MIME-Version: 1.0
Received: by 10.142.2.14 with SMTP id 14mr1997604wfb.15.1261085835885; Thu, 17 Dec 2009 13:37:15 -0800 (PST)
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB774F31A4FD08@NOK-EUMSG-01.mgdnok.nokia.com>
References: <Acp35q+5MB/IK2o8TM+TSRCqs64JxA==> <808FD6E27AD4884E94820BC333B2DB774F31A4FD08@NOK-EUMSG-01.mgdnok.nokia.com>
Date: Thu, 17 Dec 2009 13:37:15 -0800
Message-ID: <6b9359640912171337j7ed5be63gf431e0fb12070944@mail.gmail.com>
From: Kyle Hamilton <aerowolf@gmail.com>
To: Pasi.Eronen@nokia.com
Content-Type: text/plain; charset="UTF-8"
Cc: tls@ietf.org
Subject: Re: [TLS] Summarizing identity change discussion so far
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/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, 17 Dec 2009 21:37:35 -0000

On Tue, Dec 8, 2009 at 1:13 AM,  <Pasi.Eronen@nokia.com> wrote:
> (wearing Area Director hat)
>
> - We recommend that TLS libraries SHOULD provide identity matching
> (with memcmp, abort handshake if changed) functionality to
> applications, and SHOULD allow applications to enable/disable this
> functionality.

No, identity matching SHOULD be done in accordance with PKIX.  memcmp
is not at all sufficient.

However, I would support the following:

- TLS libraries SHOULD provide identity matching services between and
throughout renegotiation handshakes.  Libraries SHOULD implement this
in accordance with PKIX [PKIX], but MAY do so with a direct memory
comparison.  Implementors are cautioned that this latter approach does
not provide for changing the cipher parameters -- such as a
renegotiation with an EC or DH certificate after identification with
an RSA certificate.  If the identity matching service fails to match
the identity, implementations MUST abort the handshake with a fatal
bad_certificate alert.

-Kyle H