Re: [TLS] draft-turner-ssl-must-not

Nikos Mavrogiannopoulos <nmav@gnutls.org> Tue, 06 July 2010 15:05 UTC

Return-Path: <n.mavrogiannopoulos@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 D10B43A6946 for <tls@core3.amsl.com>; Tue, 6 Jul 2010 08:05:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 Ca9cxhpQRVyU for <tls@core3.amsl.com>; Tue, 6 Jul 2010 08:05:55 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id 803C93A6981 for <tls@ietf.org>; Tue, 6 Jul 2010 08:05:55 -0700 (PDT)
Received: by fxm1 with SMTP id 1so5202765fxm.31 for <tls@ietf.org>; Tue, 06 Jul 2010 08:05:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=+PLDZ2MfDdmnZe2Z9ML5fylLfIfSG7YOXI2YxzflwHs=; b=e3R/7ZctqhV7ufBNW0IVooSrJ+mtivV2IP0OLUvG7LzVLFbNCo0YwnHIu/jBasUqv1 kivqXMT/SRbOXehv5O2WUdsAf6fhgZcpOnyPWPygvsxYDg6ET9lh9OBT4UjliqTybGRt sZhvCvnqmKvU2/nIrNNlHo6f81uqkTFuzBPr0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=NKkb6UyzYxmAuGuaIOk2jeaG2aDzaaw4FBro/Xx8t5Kig2S7CZ9nDwDWbNECglN2YU oEuQrWjBezPbLwNKdlHqXWAk3QoDlUkeK1ogxmE/wh2FWNlz35DIrXTxzs9XDwVcpyoS +ZLi8cTMLC4DrdT3YZD/MGuK7e79sBIRTCodA=
Received: by 10.86.52.19 with SMTP id z19mr3770004fgz.54.1278427238343; Tue, 06 Jul 2010 07:40:38 -0700 (PDT)
Received: from [10.100.2.52] ([78.23.64.97]) by mx.google.com with ESMTPS id h4sm12028985fai.6.2010.07.06.07.40.36 (version=SSLv3 cipher=RC4-MD5); Tue, 06 Jul 2010 07:40:37 -0700 (PDT)
Sender: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Message-ID: <4C334063.6020806@gnutls.org>
Date: Tue, 06 Jul 2010 16:40:35 +0200
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
User-Agent: Thunderbird 2.0.0.24 (X11/20100411)
MIME-Version: 1.0
To: mrex@sap.com
References: <201007061425.o66EP2Rc021252@fs4113.wdf.sap.corp>
In-Reply-To: <201007061425.o66EP2Rc021252@fs4113.wdf.sap.corp>
X-Enigmail-Version: 0.95.7
OpenPGP: id=96865171
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: Marsh Ray <marsh@xs01.extendedsubset.com>, tls@ietf.org
Subject: Re: [TLS] draft-turner-ssl-must-not
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: Tue, 06 Jul 2010 15:05:56 -0000

Martin Rex wrote:

>> There's no logic to it, or whatever there might be is too clever by half.
> 
> There appears to be a lack of logic by not adjusting the truncation size
> when going from a SHA-1 (=160 bits) based PRF to a SHA-256 (=256 bits)
> based PRF.  In case a 96 bit truncation is deemed adequate for SHA-1,
> then a truncation like 144 or 160 bits appears more appropriate for SHA-2.

Or just sending the whole output. I don't even know why truncation is
there. I'd understand truncation in the record layer HMAC that is sent
on every message, there it would save bandwidth... but on the finished
message?

regards,
Nikos