Re: [Acme] DNS challenge server steps missing detail?

Felipe Gasper <felipe@felipegasper.com> Tue, 27 November 2018 22:24 UTC

Return-Path: <felipe@felipegasper.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 41B9A130DC9 for <acme@ietfa.amsl.com>; Tue, 27 Nov 2018 14:24:35 -0800 (PST)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=felipegasper.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 ZaSNwu9iWE_4 for <acme@ietfa.amsl.com>; Tue, 27 Nov 2018 14:24:33 -0800 (PST)
Received: from web1.siteocity.com (web1.siteocity.com [67.227.147.204]) (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 9753A130DE0 for <acme@ietf.org>; Tue, 27 Nov 2018 14:24:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=felipegasper.com; s=default; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xqrnR1flXpbaz41W4Tn78k5h/dbsCOO6WCzxSf1dLHY=; b=UG8NXGmHBaI8poNXjO7KxjWC3 cY7udit7bpoJnerzCdCe5SZwtv8N/FvlMh31Cc5SGGBymuFXZ1my/7/2htJ2BubgZX4RoLtGDzpg+ JQ6o9c0Vmq2SFe9BQ3fOQcasBZn0kboPY7n4WbnTQJBJfdDrnIKoGNrrgpRJUWPhQrVsuZogL/vm9 3KJgTWZJQg5OJwYlEZ/Bi3RDoZ9FU8FYiobqFmbj9QOMNTUHPjeU1ItxfEZ9v65RkPR5dg1MSJa+o eXFivb5FJLEoo+A/XCI2xkiVHbQajkWqYGXlp7KJ8pHjad+CdD0TjFukT71jQKlCWY7m+7FfE9ACs 4KwWQFzZA==;
Received: from cpe9050cab50823-cm9050cab50820.cpe.net.cable.rogers.com ([99.248.56.67]:49253 helo=[192.168.0.15]) by web1.siteocity.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from <felipe@felipegasper.com>) id 1gRlmR-0020Rn-DV; Tue, 27 Nov 2018 16:24:32 -0600
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\))
From: Felipe Gasper <felipe@felipegasper.com>
In-Reply-To: <CA+E3WqgQ2hBDCpUNviV-bdRrNqG_x1jtCCVqphJzsrEV4Ta_Kg@mail.gmail.com>
Date: Tue, 27 Nov 2018 17:24:26 -0500
Cc: acme@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <8C3FFAFE-6D29-465D-839F-FCBEB8489B88@felipegasper.com>
References: <CA+E3WqgQ2hBDCpUNviV-bdRrNqG_x1jtCCVqphJzsrEV4Ta_Kg@mail.gmail.com>
To: Danek Duvall <duvall@brightgate.com>
X-Mailer: Apple Mail (2.3445.101.1)
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - web1.siteocity.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - felipegasper.com
X-Get-Message-Sender-Via: web1.siteocity.com: authenticated_id: fgasper/from_h
X-Authenticated-Sender: web1.siteocity.com: felipe@felipegasper.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/0z_lvyUeeVjfEzeOFA20VwoZUns>
Subject: Re: [Acme] DNS challenge server steps missing detail?
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: Tue, 27 Nov 2018 22:24:37 -0000


> On Nov 27, 2018, at 3:32 PM, Danek Duvall <duvall@brightgate.com> wrote:
> 
> Section 8.4 of the ACME spec says:
> 
>    To validate a DNS challenge, the server performs the following steps:
>      1. Compute the SHA-256 digest of the stored key authorization
>      2. Query for TXT records for the validation domain name
>      3. Verify that the contents of one of the TXT records match the
> digest value
> 
> Regarding point 2, it's not explained exactly what is queried for the
> TXT records. I've not gone looking at Boulder code, but from some
> message board postings, it seems like one of the authoritative DNS
> servers for the domain is queried. It'd be nice if the spec could
> include this information, to make writing automated clients easier.

It doesn’t really need to be explained, IMO, because “query for TXT records” implies a query against DNS, which in turn implies a query against a nameserver that’s authoritative for the domain.

-FG