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

"Salz, Rich" <rsalz@akamai.com> Fri, 19 May 2017 17:36 UTC

Return-Path: <rsalz@akamai.com>
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 2CCD2129A8D for <dcrup@ietfa.amsl.com>; Fri, 19 May 2017 10:36:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.com
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 9yPvdflh2Ye7 for <dcrup@ietfa.amsl.com>; Fri, 19 May 2017 10:36:34 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (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 B230D129789 for <dcrup@ietf.org>; Fri, 19 May 2017 10:36:34 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.21/8.16.0.21) with SMTP id v4JHQxep012025; Fri, 19 May 2017 18:36:32 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=jan2016.eng; bh=yG7HzC5HC43zGtmRJvho+AS+rLrXNOSMs+nm/jMUp2o=; b=Loum/LJRYrqEtKGKrfRtcEDBzyaqJWAWbk+N8z6tA4m3tOoqkhmeVLhfo1/nQiHEAfJJ S8S+e97fHtUc4osRH2Wd5q38TzvYaLNzCBMUTrXbwf2eF2OuLcc44Eq+PQco6LCcUVqX GGKNYPgHyrRNzaRcC2WGCl3iY/uwU2RHOt2BtVafZF/IeX+wU1IQmfPa0withtoGi8r0 jUwI5SWU1J+VFoP574qDapZHbL+X3KaHD7n0DNaunf4nLhhGHzmP9pFhoAqxoqTy4rGZ vEDV4SYZjM15NUj1pWHJQPH3YnTfan315L/KOutGflaPZGWyhODbYhaiUhEorbhmEmF1 TA==
Received: from prod-mail-ppoint1 (a184-51-33-18.deploy.static.akamaitechnologies.com [184.51.33.18] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 2ahya7j10q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2017 18:36:31 +0100
Received: from pps.filterd (prod-mail-ppoint1.akamai.com [127.0.0.1]) by prod-mail-ppoint1.akamai.com (8.16.0.17/8.16.0.17) with SMTP id v4JHZf0J019011; Fri, 19 May 2017 13:36:31 -0400
Received: from email.msg.corp.akamai.com ([172.27.123.32]) by prod-mail-ppoint1.akamai.com with ESMTP id 2adwfugve7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 19 May 2017 13:36:31 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb2.msg.corp.akamai.com (172.27.123.102) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Fri, 19 May 2017 13:36:30 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1263.000; Fri, 19 May 2017 13:36:30 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: John Levine <johnl@taugh.com>, "dcrup@ietf.org" <dcrup@ietf.org>
Thread-Topic: [Dcrup] draft-ietf-dcrup-dkim-crypto-00
Thread-Index: AQHS0JZPa6MFSHAU0E2PcZUdKc0X+qH73o+AgAAcV4CAAAMVgP//yO4wgABKJAD//9hywA==
Date: Fri, 19 May 2017 17:36:29 +0000
Message-ID: <88797f820fc540debef7d0fdb5f4cc92@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <b4089f9898264ce8a638605fcb1f93a8@usma1ex-dag1mb1.msg.corp.akamai.com> <20170519155006.5267.qmail@ary.lan>
In-Reply-To: <20170519155006.5267.qmail@ary.lan>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.35.116]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-19_11:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705190111
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-19_11:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705190110
Archived-At: <https://mailarchive.ietf.org/arch/msg/dcrup/1zzASeDdG1jqmcH8OytSTjMbuqM>
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 17:36:36 -0000

> Given how short they both are, I'd like to keep them together for now.

Ok.

Speaking as an individual, I'd like to emphasize what Mark said.  ECDH is a key exchange protocol, not a signing protocol.  For elliptic curve signatures, the document should use https://datatracker.ietf.org/doc/draft-ietf-curdle-cms-eddsa-signatures/ which is now in IESG last call.  Note that the hash mechanism is implicit in the signature algorithm.

The key fingerprint needs more clarification.  For 25519 keys, there is a "natural and obvious" byte representation, but for RSA keys what is  being fingerprinted?  The DER OCTET STRING?