Re: [Acme] Add badPublicKey error

"Salz, Rich" <rsalz@akamai.com> Thu, 24 January 2019 15:52 UTC

Return-Path: <rsalz@akamai.com>
X-Original-To: acme@ietfa.amsl.com
Delivered-To: acme@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 242FA130EE8 for <acme@ietfa.amsl.com>; Thu, 24 Jan 2019 07:52:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.253
X-Spam-Level:
X-Spam-Status: No, score=-5.253 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KHOP_DYNAMIC=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 zJHk03wBkjFR for <acme@ietfa.amsl.com>; Thu, 24 Jan 2019 07:52:02 -0800 (PST)
Received: from mx0a-00190b01.pphosted.com (mx0a-00190b01.pphosted.com [IPv6:2620:100:9001:583::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 25219130ED8 for <acme@ietf.org>; Thu, 24 Jan 2019 07:52:02 -0800 (PST)
Received: from pps.filterd (m0050095.ppops.net [127.0.0.1]) by m0050095.ppops.net-00190b01. (8.16.0.27/8.16.0.27) with SMTP id x0OFgUqG031592; Thu, 24 Jan 2019 15:52:01 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : subject : date : message-id : content-type : content-id : content-transfer-encoding : mime-version; s=jan2016.eng; bh=6q15B8n7YehfxkYMAICsuF1gAYhcbDocMRPP25VDh3o=; b=W4wiGiUvERtwkMz4sKd3g98id1/YxzL/11HGTKr5F6cZSgOz6+vLsENkx+EwxivbTCMp 3M9YqS34wSTRsA1RUYfSn3GDrxZM1B9cnn5USs/xdnHCBhWUwKueIqIVf64ki3Cl6oVX itAYGELq0k1Sr5EO2IZbU8i7I1pC3C+RfoTTTWD/TLaSdFaIV9DoH580hyGWzrH4ebuT ocIbW0bZrDkh2bCPxFlOsmaCT1bwXcqSQaUb2EM9Rj6hPnftzpQIESuTrRr+eddU59cy IPjArR26ooYi3wVCLenvHC7iE3FIOxl0dbYIeXxcoTF+J8da2BiFGNprPa1zRb2PoYG3 Mg==
Received: from prod-mail-ppoint4 (a96-6-114-87.deploy.static.akamaitechnologies.com [96.6.114.87] (may be forged)) by m0050095.ppops.net-00190b01. with ESMTP id 2q72av2jdr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Jan 2019 15:52:01 +0000
Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.27/8.16.0.27) with SMTP id x0OFlBcG005733; Thu, 24 Jan 2019 10:52:00 -0500
Received: from email.msg.corp.akamai.com ([172.27.25.32]) by prod-mail-ppoint4.akamai.com with ESMTP id 2q4j1fj607-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 24 Jan 2019 10:51:58 -0500
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com (172.27.27.101) by ustx2ex-dag1mb3.msg.corp.akamai.com (172.27.27.103) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Thu, 24 Jan 2019 09:51:11 -0600
Received: from USTX2EX-DAG1MB1.msg.corp.akamai.com ([172.27.6.131]) by ustx2ex-dag1mb1.msg.corp.akamai.com ([172.27.6.131]) with mapi id 15.00.1365.000; Thu, 24 Jan 2019 09:51:11 -0600
From: "Salz, Rich" <rsalz@akamai.com>
To: Rob Stradling <rob@sectigo.com>, IETF ACME <acme@ietf.org>
Thread-Topic: [Acme] Add badPublicKey error
Thread-Index: AQHUs/yhXjpTc1TqLUWb5bD5FlAzZg==
Date: Thu, 24 Jan 2019 15:51:11 +0000
Message-ID: <D39A5FF3-5D2F-4C3D-9741-BB14A51E1744@akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.15.0.190115
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.43.77]
Content-Type: text/plain; charset="utf-8"
Content-ID: <F7300E041531824EA4B874B510E26B41@akamai.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-24_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=819 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901240110
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-24_09:, , 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=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=815 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901240110
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/CYS6kAgq8FsuyjRWbcoB3IJKC5U>
Subject: Re: [Acme] Add badPublicKey error
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Automated Certificate Management Environment <acme.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/acme>, <mailto:acme-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/acme/>
List-Post: <mailto:acme@ietf.org>
List-Help: <mailto:acme-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/acme>, <mailto:acme-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jan 2019 15:52:04 -0000

As WG co-chair, I am not thrilled with making this addition so very very late in the process.  If the WG wants to do it, we'd need (a) clear consensus and (b) a quick approval from the IESG.

As an individual, I dislike putting "here's what's wrong with your key" in the error message. For example, it encourages a thief to do "venue shopping" looking for a CA that will certify their stolen keypair.

On 1/24/19, 9:27 AM, "Rob Stradling" <rob@sectigo.com> wrote:

    I realize it's very late for making non-editorial changes to 
    draft-ietf-acme-acme, but I'd like to propose adding a new badPublicKey 
    error.  This error would be returned by the server whenever it does not 
    support, or wishes to reject, a "jwk" public key supplied in a client's 
    request.
    
    Proposed text: https://github.com/ietf-wg-acme/acme/pull/478
    
    The 'array of supported "alg" values' in a badSignatureAlgorithm 
    response is useful, but ISTM that it doesn't provide detailed enough 
    information to assist a client in generating a suitable public key.
    
    (If the consensus is that it's too late to add a new error type, then my 
    alternative proposal will be to use "malformed" instead of adding 
    "badPublicKey", but keep the rest of PR 478 as is; I think it's a good 
    idea to call out the need for a server to sanity check each 
    client-supplied public key).
    
    -- 
    Rob Stradling
    Senior Research & Development Scientist
    Sectigo Limited
    
    _______________________________________________
    Acme mailing list
    Acme@ietf.org
    https://www.ietf.org/mailman/listinfo/acme