Re: [TLS] Constant Finished (was Re: Kill Finished)

Michael D'Errico <mike-list@pobox.com> Fri, 18 April 2014 20:27 UTC

Return-Path: <mike-list@pobox.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AACFD1A01CE for <tls@ietfa.amsl.com>; Fri, 18 Apr 2014 13:27:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.273
X-Spam-Level:
X-Spam-Status: No, score=-2.273 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.272, SPF_PASS=-0.001] autolearn=ham
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 Trp2hCIu5rYD for <tls@ietfa.amsl.com>; Fri, 18 Apr 2014 13:27:00 -0700 (PDT)
Received: from sasl.smtp.pobox.com (a-pb-sasl-quonix.pobox.com [208.72.237.25]) by ietfa.amsl.com (Postfix) with ESMTP id 135BE1A002E for <tls@ietf.org>; Fri, 18 Apr 2014 13:26:59 -0700 (PDT)
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id A8E561140E; Fri, 18 Apr 2014 16:26:55 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=N47EnDQmg0Kw R/lE3KYfGUM7TEc=; b=MnkMV+qV7rcmfGiVHsTUpT64XLuYOPaBgWtWMpfaythk whwG0rG2WjWQGVPZ1hTtOkjiYg0/ejMkKgc40YQjwvpD2tEIKjYr7E8uo235DRO9 Zxub/zBjN7KwjVvlwzmm43BQ+tkdRkT1Y2QeMNvragy/xFHbI+cjExUZSPCZog4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=ZKHXWC CgcJp9R9Mru4+iaNQhmndFx6d1qHB/Zp3WIoOgPIEEIBHr1b0iTuJGXjS17U25y1 VbmDXPVABarKB08WHMWHEq5cI93ltgsN0vRHFMIDotBuf3pnVElqdZK+pcBKf+ZI oUq3On3uiHYRNl997RJCO9yhTt2UwTWQVlDdQ=
Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id A1D001140D; Fri, 18 Apr 2014 16:26:55 -0400 (EDT)
Received: from iMac.local (unknown [24.234.153.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 0958B1140C; Fri, 18 Apr 2014 16:26:53 -0400 (EDT)
Message-ID: <53518A8D.4080107@pobox.com>
Date: Fri, 18 Apr 2014 13:26:53 -0700
From: Michael D'Errico <mike-list@pobox.com>
User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
References: <CACsn0cm7CU3HBOY-m90+HwGBuw+nZ7vyqRdHZcfDjw7wiTmDMw@mail.gmail.com> <5350BF46.7000608@pobox.com> <53513A6B.8080606@nthpermutation.com> <CACsn0c=gvQ9BbEifDkiiiNnUN-qdnYNOkVFZe0HX6hWwZNJNGQ@mail.gmail.com> <53517880.7080801@pobox.com> <CABkgnnXxfU9y+PohcpxWd98angXRpQOSSzmSh2DObdzrcdLm0A@mail.gmail.com>
In-Reply-To: <CABkgnnXxfU9y+PohcpxWd98angXRpQOSSzmSh2DObdzrcdLm0A@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Pobox-Relay-ID: C7F231F8-C737-11E3-BBE1-6F330E5B5709-38729857!a-pb-sasl-quonix.pobox.com
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/_upCW0TYIijd8bwKIFTg2_Orz0c
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Constant Finished (was Re: Kill Finished)
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 18 Apr 2014 20:27:01 -0000

Martin Thomson wrote:
> On 18 April 2014 12:09, Michael D'Errico <mike-list@pobox.com> wrote:
>> IANAC but using a long-enough "magic number" for Finished seems fine
>> if the handshake hash is moved to the key generator.
>>
>> But how long should that magic number be? ....
> 
> Why would it need to be anything at all?  As long as you can identify
> the message as a Finished unambiguously, that should suffice.
> HandshakeType is one byte.

Oh, I see, as long as you can decrypt the record layer, you know it's
working.

Mike