Re: [Dcrup] draft-ietf-dcrup-dkim-crypto-00

Jim Fenton <fenton@bluepopcorn.net> Fri, 19 May 2017 19:09 UTC

Return-Path: <fenton@bluepopcorn.net>
X-Original-To: dcrup@ietfa.amsl.com
Delivered-To: dcrup@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EFB3E129AB8 for <dcrup@ietfa.amsl.com>; Fri, 19 May 2017 12:09:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.698
X-Spam-Level:
X-Spam-Status: No, score=0.698 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 yW6kOJZU3GQa for <dcrup@ietfa.amsl.com>; Fri, 19 May 2017 12:09:02 -0700 (PDT)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E16F71279E5 for <dcrup@ietf.org>; Fri, 19 May 2017 12:09:02 -0700 (PDT)
Received: from splunge.local (c-67-187-243-206.hsd1.ca.comcast.net [67.187.243.206]) (authenticated bits=0) by v2.bluepopcorn.net (8.14.4/8.14.4/Debian-8+deb8u1) with ESMTP id v4JJ8x8A007369 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 19 May 2017 12:09:01 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1495220941; bh=+kToLTsXjxi0PTvphi4CImdkKo/uSbUniBnrslMT7q0=; h=Subject:To:References:From:Date:In-Reply-To; b=OoLP9Mj0kGBgdKUBL0fN1vfYyHGoqHcm39dS1JE+jLekUZNVuCqUAyqzCloXDYZny LY/0lZpxuMZesEmkk2NIzqeMtP9kSErXn5BrCdXvdbWLnoQZt9NErxpv9Ff4+Sv7K9 ZNkOOEayTIu/qVGtx6SWE7awk5PXf3Gs/XwIzF6w=
To: "Salz, Rich" <rsalz@akamai.com>, "dcrup@ietf.org" <dcrup@ietf.org>
References: <b4089f9898264ce8a638605fcb1f93a8@usma1ex-dag1mb1.msg.corp.akamai.com> <20170519155006.5267.qmail@ary.lan> <88797f820fc540debef7d0fdb5f4cc92@usma1ex-dag1mb1.msg.corp.akamai.com> <alpine.OSX.2.21.1705191445560.6525@ary.qy> <6f97637b-baff-03b4-6006-7a143719d2f1@bluepopcorn.net> <64864194f36f479fad662498e95e4a4e@usma1ex-dag1mb1.msg.corp.akamai.com>
From: Jim Fenton <fenton@bluepopcorn.net>
Message-ID: <dd7b905c-5904-57e9-5f40-b0f21238bff5@bluepopcorn.net>
Date: Fri, 19 May 2017 12:08:56 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <64864194f36f479fad662498e95e4a4e@usma1ex-dag1mb1.msg.corp.akamai.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/OwgnrPM9ZgylRspFdAMKMSjyRuA>
Subject: Re: [Dcrup] draft-ietf-dcrup-dkim-crypto-00
X-BeenThere: dcrup@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DKIM Crypto Update <dcrup.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dcrup>, <mailto:dcrup-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dcrup/>
List-Post: <mailto:dcrup@ietf.org>
List-Help: <mailto:dcrup-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dcrup>, <mailto:dcrup-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 May 2017 19:09:04 -0000

On 5/19/17 12:00 PM, Salz, Rich wrote:
>> The fingerprint is created as follows: create the binary
>> representation of the RSA exponent (e) and modulus (n) and
> What is the binary representation?  Is it the DER or the native BIGNUM format?

I can't remember; this was back in 2005 and Mike Thomas did the
implementation.

Regardless, I wouldn't do the same thing today. Use SHA256 instead of
SHA1, and I'm not sure the truncation is a good idea.

-Jim