Re: [saag] Revision of "Attacks on Cryptographic Hashes in Internet Protocols"

Paul Hoffman <paul.hoffman@vpnc.org> Wed, 14 November 2012 22:37 UTC

Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFCA121F884E for <saag@ietfa.amsl.com>; Wed, 14 Nov 2012 14:37:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.516
X-Spam-Level:
X-Spam-Status: No, score=-102.516 tagged_above=-999 required=5 tests=[AWL=0.083, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T7Fv-jrGC4t8 for <saag@ietfa.amsl.com>; Wed, 14 Nov 2012 14:37:42 -0800 (PST)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 2E73F21F884D for <saag@ietf.org>; Wed, 14 Nov 2012 14:37:42 -0800 (PST)
Received: from [10.20.30.102] (50-0-66-243.dsl.dynamic.fusionbroadband.com [50.0.66.243]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.5) with ESMTP id qAEMbdZb032082 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 14 Nov 2012 15:37:40 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <747787E65E3FBD4E93F0EB2F14DB556B0F50B73B@xmb-rcd-x04.cisco.com>
Date: Wed, 14 Nov 2012 14:37:45 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <AEAA7B57-4523-4E19-953B-DD06504A4785@vpnc.org>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50B73B@xmb-rcd-x04.cisco.com>
To: David McGrew <mcgrew@cisco.com>
X-Mailer: Apple Mail (2.1499)
Cc: IETF Security Area Advisory Group <saag@ietf.org>
Subject: Re: [saag] Revision of "Attacks on Cryptographic Hashes in Internet Protocols"
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/saag>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Nov 2012 22:37:42 -0000

On Nov 14, 2012, at 5:14 AM, David McGrew (mcgrew) <mcgrew@cisco.com> wrote:

> I think you (Joe) have a valid point about how the draft could be
> improved, though the draft does address the use question somewhat (it even
> has a section on "How Internet Protocols Use Hash Algorithms").

Yes, it does.

> I have a suggestion: the draft could
> 
> 1) more precisely define the different ways that hash functions are used
> in more detail (in signatures, in HMAC, KDFs, other message authentication
> codes, integrity checking, ...)   The definitions should be clear enough
> that a relative crypto novice, looking at a specification that describes a
> use of a hash function, could correctly categorize that use.

Proposed wording would be greatly appreciated here. I cannot see how to add that text and have it be anything other than singing to the choir.

> 2) relate the security of each use case to the collision/first
> preimage/second preimage attacks

Ditto here. When we tried this seven years ago, we were attacked for being to restrictive in our descriptions. Seriously: if you have a contribution to make that you think is readable to a relative crypto novice and still accurate, we're all ears.

> 3) have a section that describes uses of hash functions in Internet
> protocols that rely on collision resistance.   (My thinking here is that
> there are many uses of hash functions, and so we should focus on the most
> security critical cases)

We thought we had that in the existing RFC and the current draft. Which other protocols are you thinking of?

--Paul Hoffman