Re: [Acme] Optional "Wildcard" authorization field

Daniel McCarney <cpu@letsencrypt.org> Fri, 02 March 2018 17:32 UTC

Return-Path: <dmccarney@letsencrypt.org>
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 6B03312DB6D for <acme@ietfa.amsl.com>; Fri, 2 Mar 2018 09:32:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=letsencrypt.org
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 SYLIicSxrRCh for <acme@ietfa.amsl.com>; Fri, 2 Mar 2018 09:32:48 -0800 (PST)
Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 446D812DA1D for <acme@ietf.org>; Fri, 2 Mar 2018 09:32:48 -0800 (PST)
Received: by mail-it0-x233.google.com with SMTP id d13so2509947itf.0 for <acme@ietf.org>; Fri, 02 Mar 2018 09:32:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=letsencrypt.org; s=google; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=J7kWp3L+mHr8SobXPjgYTqbskLDBGXFFMD3yxP0b1y8=; b=C8wco+HTgsNhdJukEB31vbE5P9HeSei/n/SVxbDgRvSeTjocZEpZ1lOuIYLsuoR1SM /zg1w99v2+MODaojcrGT0ISb/r84k7PHou1t+cc4H3UhIY2KbistKMYPwZJ1DTtRLCfd +k1+Qgl+GoF1p5/lOw1FZ7H+CvX49pVmbKByM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=J7kWp3L+mHr8SobXPjgYTqbskLDBGXFFMD3yxP0b1y8=; b=sXcB0Bpa8/dd2Zp84nYxIruppfgPhidDlq6vk7ubZqdVf0GF/Kf2soxp2XDE19IyZa jTv4r1duQGNTBcxpN9WRGY3a6nSdiYfivhWU7e8PZSlZqNcw+j5p+d/JhszjguE4TlXR +jWLJvsEHtjecMUpdPXRYVEqPhQNUKNiZ/kqQivSg0nwSoddjwn/43c042TbO091XQR+ 1lkJmvI3C6qFMRZy3E8fU7njDX6pZQU28ti6lQ7cAEHFFCs8X01L+KxWlrJs9S85A7UX 39S2pPsCI5KpUoKR3Cxpx//vpeqNM26SG6/EbMGOdPUQo81+IYYvowJiMiTY3m6OHlxQ j6iA==
X-Gm-Message-State: AElRT7GRSDbZrH8CV6X2ZkSf86PZ4X1UxiHaClC4q8K42/JqTwxWm3zD ABA+/Kq4JpNAkNOJumgX1TlLFzmSWPOlwqq0xTy5TQ==
X-Google-Smtp-Source: AG47ELvcCwvsZOYVJqeMX865VU8RC8BW+6daIrJDDUJegvXkXtcjQvgkBcYKb13sWqQ6yzza7ZAGmx3SwKw66BHuKfk=
X-Received: by 10.36.219.214 with SMTP id c205mr3523454itg.63.1520011967648; Fri, 02 Mar 2018 09:32:47 -0800 (PST)
MIME-Version: 1.0
Reply-To: cpu@letsencrypt.org
Received: by 10.107.21.2 with HTTP; Fri, 2 Mar 2018 09:32:47 -0800 (PST)
In-Reply-To: <CAL02cgQwZzKXvPsWr=tAbB-bi2s-gw3+TtJwkawHoEEb=6MiFw@mail.gmail.com>
References: <CAKnbcLjuVPZa5P2FZa_cKAGmk1dP6ezrv3AgWSp9KK5HCzxPbg@mail.gmail.com> <CAL02cgQwZzKXvPsWr=tAbB-bi2s-gw3+TtJwkawHoEEb=6MiFw@mail.gmail.com>
From: Daniel McCarney <cpu@letsencrypt.org>
Date: Fri, 02 Mar 2018 12:32:47 -0500
Message-ID: <CAKnbcLiQdjaPN32j8WOo5vhvfoTvHPYZj5pictb47ZTWvmJXYA@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Cc: IETF ACME <acme@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c05f4e26349e80566715dd2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/GJYsSN25XC3g96FWtPzN7Tkiwmk>
Subject: Re: [Acme] Optional "Wildcard" authorization field
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 02 Mar 2018 17:32:50 -0000

Richard: That's up to the client and the situation. In the linked Certbot
issues there were questions about error output/UX. In this case if the
client saw an error attached to an authorization with the identifier `{
"type": "dns", "value": "example.com"}` and the authorization had
`wildcard: true` the client could say "Failed to authorize *.example.com:
blah blah blah" or otherwise use the knowledge to inform their actions
(whatever they may be).

In general I think there will be reason for client developers will want to
have a standardized way of understanding if an authorization corresponds to
a wildcard identifier or not. I'm hopeful some client developers will chime
in with more concrete examples, I'm a server-side grunt.

- Daniel / cpu

On Fri, Mar 2, 2018 at 12:29 PM, Richard Barnes <rlb@ipv.sx> wrote:

> Daniel: I don't have a strong objection here, but could you elaborate what
> the client is expected to do differently based on this flag?
>
> On Fri, Mar 2, 2018 at 12:22 PM, Daniel McCarney <cpu@letsencrypt.org>
> wrote:
>
>> Hi folks,
>>
>> There is a slight disconnect with the current specification between
>> identifiers in newOrder/newAuthz requests and identifiers in authorization
>> objects. The former is allowed to include wildcard domains in the value of
>> DNS type identifiers while the latter is forbidden.
>>
>> Let's Encrypt's implementation of ACME wildcard issuance guessed this
>> might lead to confusion and introduced a non-standardized "Wildcard"
>> boolean field in authorization objects. If true, then the identifier value
>> in the authorization identifier is known to be the base domain
>> corresponding to a wildcard identifier from the newOrder/newAuthz request.
>>
>> I think it would be beneficial to the entire ecosystem if this optional
>> "wildcard" authz field could be standardized so I've sent a small PR:
>> https://github.com/ietf-wg-acme/acme/pull/402 Both Certbot and ACME4J
>> have independently bumped into this disconnect, which helps justify the
>> need.
>>
>> - Daniel / cpu
>>
>>
>>
>>
>> _______________________________________________
>> Acme mailing list
>> Acme@ietf.org
>> https://www.ietf.org/mailman/listinfo/acme
>>
>>
>