Re: [Acme] ACME breaking change: Most GETs become POSTs

Richard Barnes <rlb@ipv.sx> Fri, 31 August 2018 21:21 UTC

Return-Path: <rlb@ipv.sx>
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 AA473130E65 for <acme@ietfa.amsl.com>; Fri, 31 Aug 2018 14:21:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.20150623.gappssmtp.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 0EHsoEtuHd9p for <acme@ietfa.amsl.com>; Fri, 31 Aug 2018 14:21:51 -0700 (PDT)
Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (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 83A65130DF2 for <acme@ietf.org>; Fri, 31 Aug 2018 14:21:51 -0700 (PDT)
Received: by mail-oi0-x22e.google.com with SMTP id x197-v6so24157368oix.5 for <acme@ietf.org>; Fri, 31 Aug 2018 14:21:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B8Bt9x4/apY5M9fnfoeZ91Q0a1AGvh5mZKv6w/Gc0Ac=; b=NVoR8H7eqP2lzjs0cJOAWkZGJxB22dfcPbZ9aeH3q3o/mqXzGxw4kTWOHm+GFOf/kD F6zVfZHiFJt4k7xWyaHexHBEop3s5Q/6gvkw5xrrc6tGJGLPLKDzYGOhSfG2+jBZ39bC 0AqTmGX/IEM2a9J3GSlBy8ousF7NBEGrntM3AGbkBizkWekV2yceCiKQ11dp65/n+Gt8 TbWDQ7Yee89w9/dxEqdqVesGlAlYrnzT6zgZBYnYzxrnCab5ELnIxmlthMktFZH14uwA CZoqVcVi1T+T50MV1EWa+HsvlM1N2cQh7KpOCxrdT2nPm6VCXXMLj4Xz9daw/I4OGQNT H1yA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B8Bt9x4/apY5M9fnfoeZ91Q0a1AGvh5mZKv6w/Gc0Ac=; b=i6vPWZa45HYhMQfYbsmoxElQCljhCS54kVIdzmG6b2h2KmgzwwgK74tIw0XcIWg5bq arifHrIaBtBcBWcyHaNtKGARsVaC/eSfdqP2WzQbW9iY9CJX6tX1qr25TyO0uTMk/sNW FF2jhJ78kLFlO+3IS8t964epwLt5Xld11rFdGefLE2RnNEZMXhatUrv9WfnEAtCivp4o whZgRPhh5F0gb+nUUDuO8vECElgcdGDGcq34KA7Qf3LjIp0hEFn7Z9ZM5P837IJHtwjA cHOYS0H9F/HJJG9GMrTCsXihpC9N9isvvpRECyxO0CfSMSDOgnPfqgxqh9EOUsTUNddv nP1w==
X-Gm-Message-State: APzg51BkRBmdUwSa+3L28RhXMTnwQEWexrqCTdsmCkVcfsauzKvjnZWB H3l0VLSQklRHeSkvR/lDQ67mKZRHWX3/q7cd04RQ8A==
X-Google-Smtp-Source: ANB0VdYfkTYnwGVjLo+KfovZdWhfnXK8MpXiEB6iGjLIIarv6dqaxTLA8498M0GPjjIx4axXOI0iowXH8Fjx7zgtHug=
X-Received: by 2002:aca:fd4f:: with SMTP id b76-v6mr9563977oii.307.1535750510728; Fri, 31 Aug 2018 14:21:50 -0700 (PDT)
MIME-Version: 1.0
References: <c33184f3-4e64-b7ea-babb-d29e2307f1f3@eff.org> <CAL02cgRD=UgsaDeWN9hy2YXN=CLLQpt+zgaZKPTqDpoiMi0hqw@mail.gmail.com> <863A4A5E-718A-4C29-AE82-097C70BE75B6@akamai.com> <CAL02cgQ=FjSLYuzKMnkbVHqPaU7A1sc5xSCk6dWa67=1a3b3vw@mail.gmail.com> <CAKnbcLhiGSKqmd5Hq3fn3YOwDCQfDa7XW0YuzK4FgmxAKZ+XWA@mail.gmail.com>
In-Reply-To: <CAKnbcLhiGSKqmd5Hq3fn3YOwDCQfDa7XW0YuzK4FgmxAKZ+XWA@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Fri, 31 Aug 2018 17:21:38 -0400
Message-ID: <CAL02cgQ5PwiKngRSsYmMCVbRd5MExbo3G4C6DhA5jMg9GAcXDg@mail.gmail.com>
To: Daniel McCarney <cpu@letsencrypt.org>
Cc: "Salz, Rich" <rsalz@akamai.com>, IETF ACME <acme@ietf.org>, Jacob Hoffman-Andrews <jsha@eff.org>
Content-Type: multipart/alternative; boundary="000000000000a7eb4f0574c1c709"
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/mThmoX7ENZlEkTDvIkT94CTmGwc>
Subject: Re: [Acme] ACME breaking change: Most GETs become POSTs
X-BeenThere: acme@ietf.org
X-Mailman-Version: 2.1.27
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, 31 Aug 2018 21:21:55 -0000

I was able upgrade the lego client in a pretty short patch (5 files
changed, 26 insertions(+), 16 deletions(-)) [0].  It interoperates with
Daniel's branch of pebble.

--Richard

[1] https://github.com/bifurcation/lego/pull/1



On Fri, Aug 31, 2018 at 2:56 PM Daniel McCarney <cpu@letsencrypt.org> wrote:

> I think its an anti-pattern to standardize protocol features that haven't
> been implemented by anyone so here's a PR[0] for the Pebble ACME server
> that implements Richard's proposal[1] to establish viability. The proposal seems
> OK to me given the trade-offs/alternatives on the table.
>
> I would encourage other ACME client/server developers to try their hand at
> implementing the changes from [1] as well. I've tested my PR with
> hand-rolled requests but not as part of an automated issuance process with
> a "real" ACME client. Speak now or forever hold your bugs.
>
> [0] - https://github.com/letsencrypt/pebble/pull/162
> [1] - https://github.com/ietf-wg-acme/acme/pull/445/files
>
> On Fri, Aug 31, 2018 at 1:21 PM, Richard Barnes <rlb@ipv.sx> wrote:
>
>> No, if a server receives a GET request for a resource other than those
>> specified, then it MUST return 405.  But please check out the PR and see if
>> it's clear there.
>>
>> On Fri, Aug 31, 2018 at 1:14 PM Salz, Rich <rsalz@akamai.com> wrote:
>>
>>>
>>>    - * Servers MUST return a 405 if they get a GET for a resource other
>>>    than directory/newNonce/certificate.
>>>
>>>
>>>
>>> They means client? Or there’s a word missing, and “they get a” is “they
>>> do not support”
>>>
>>
>> _______________________________________________
>> Acme mailing list
>> Acme@ietf.org
>> https://www.ietf.org/mailman/listinfo/acme
>>
>>
>