Re: [Acme] Concerning alternative formats …

Martin Thomson <martin.thomson@gmail.com> Mon, 05 March 2018 22:31 UTC

Return-Path: <martin.thomson@gmail.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 439B512EAE2 for <acme@ietfa.amsl.com>; Mon, 5 Mar 2018 14:31:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.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 E8EsrjKJEacB for <acme@ietfa.amsl.com>; Mon, 5 Mar 2018 14:31:28 -0800 (PST)
Received: from mail-ot0-x233.google.com (mail-ot0-x233.google.com [IPv6:2607:f8b0:4003:c0f::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 A9F6F12EA81 for <acme@ietf.org>; Mon, 5 Mar 2018 14:31:27 -0800 (PST)
Received: by mail-ot0-x233.google.com with SMTP id l5so16514525otf.9 for <acme@ietf.org>; Mon, 05 Mar 2018 14:31:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JAAGcNaswA8t/pK5VyMrNnwnONaZizogHeDKrYuMYBY=; b=txF3YAebovbrlC3V6hdNLqHNNW9Pp1hT8h/Z0TYW1yWx73my98RUIYdsrM7s7Na0cQ EsZoNIkGAj3I3NwQIw+yvCPkJzaVU9pSUofe41273BVq5CxT9PVG/9N73pyMeWE1Y4MI hVhYKEFxfBMN5EAlD76w1+Brb0iAwnm+LiItkIsFqahxOwHbNsRHmnseT12ddrCixrLu Sm5Ngc+Vh2BFI97N0AXLdikqwoENr9sZRhjcj57Y1bvAjtSzEmmGDWRfv0w5Ul8my4at LVxpkrlrrbjwYMZknZlRv27zqTtvxTChpXNSmq87/ojwBPcOdI5WN5GhgoRYqiTMd93W p42g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JAAGcNaswA8t/pK5VyMrNnwnONaZizogHeDKrYuMYBY=; b=GhAQZGaljfez0hT3g5/qba3aRlRu1qnJODwU7nP/se3eEcATpwf+iMM5Pp6Uqm6Irg RscXnd4VY3a9ix4VxxSGXJej2Erbi6G82cOaJd0UIqh4ECDPRd0e+UBXyfJpDAGYjsK9 QrvBmCIkCdXBScT7Xeybj/ADeVXqoaf0nLhAEOzS4wRbOXY9HalX5+m2FBaTg96CtOe3 wB07c4dOzlhvOmi5k/Ins7uKxTRARaaNCUAtLCz55TAyvBb/zYIr696a2tzhPT0B7pNC Ow/c7I+Tg5mtGKw0djJsZbrDMHLhapF1EfK61XiqxToYMO57SypJBpE+WwnrjnZ+o86C MyEw==
X-Gm-Message-State: AElRT7FZeUn85FdBO5L2aSoHVxUxm/UFxwWB1E+V8CHhjD+5RVqNkNxr IKf9dfoQ11SIobflNMMWYNyi/hYq5ah+bH7DpXTKOR4k
X-Google-Smtp-Source: AG47ELtftwBnUrpQSO3UgwTCeL0Nvvuspd/io2kzwCcdy/f2f2v8dAEXheDy0xX05p0ZgCu1x9KVUNSQz6X6xTAMvf0=
X-Received: by 10.157.53.10 with SMTP id o10mr10947039otc.283.1520289086963; Mon, 05 Mar 2018 14:31:26 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.16.85 with HTTP; Mon, 5 Mar 2018 14:31:26 -0800 (PST)
In-Reply-To: <CAL02cgR=6C+i56OGLx=bSXHixh5hu5jLgdeOsh4FG57HV_1mDQ@mail.gmail.com>
References: <CAMmAzEKJhMaUBtCWSNZyGv-f+-edZ-WTq3=WFD_b1bXfvua89A@mail.gmail.com> <20180106001126.GB3076@carrot.tutnicht.de> <CAMmAzELgjpAmVCX6YB0VMvNQV3NH3NDdM_pdcz6d+h=ZO2rJww@mail.gmail.com> <CAMmAzEKMffffrxAihotVWPpqy=LaRkpSJuW9CpSVoQfLQ-nBwQ@mail.gmail.com> <CAL02cgRLXkkQECF5ssGh39uFL0xJp-3EODxGSQVzfPuEnE7FgA@mail.gmail.com> <63F4F466-8398-41E6-BD25-5414ADA9D1B3@felipegasper.com> <CAMmAzEKksnuBi0LPHsAsd2qs1brbMqrJBdtsbArTr6HhGrkN+A@mail.gmail.com> <CAL02cgRrH9fG-E9_oc4naSNvE4igaUcs9wXDfTtCTUCx+c4wbg@mail.gmail.com> <20180304125854.GH2161@carrot.tutnicht.de> <CAMmAzEJ0A2iOd2ASSHGJRfuB6Ss-BaOCXWsxUKUZx9UUzbT1ng@mail.gmail.com> <20180304143300.GI2161@carrot.tutnicht.de> <CAMmAzELuDLp4KxPtLgHp8AoyKGLOOjx4HPSrhDJ=yJ9RytU_vw@mail.gmail.com> <CAL02cgSAQaE0Qd=q3aSEDZdGe0TwyHs60xn-042OhKxu5LHxYA@mail.gmail.com> <CABkgnnWKhQ99qHtN8PkyG=6zNbJeGPYstL7Hgek36nR+747oHg@mail.gmail.com> <CAL02cgQFvVNEyBEAPsPdAtWK+VL0aPxdDqhZc_yrVLza4keZmg@mail.gmail.com> <CABkgnnUeiZvckTBRZNAv1Psg+ge-xK+y6vhSA4h2Ve_9_Nt8cg@mail.gmail.com> <CAL02cgSbgr69Qbd23MfF=gOrDn6wUXwDfx0Qv=H6RczoC2uasA@mail.gmail.com> <CABkgnnVu9MjfMtJ7tmoTBLT+3qoX2YPZqau92YUW=XqoL-Uf7Q@mail.gmail.com> <50502D5E-89F4-4CEC-A947-AF37032A0381@felipegasper.com> <5B3A59BB-3832-4F38-A281-81FBE5AA1887@ipifony.com> <CF42EC34-F05A-4615-A8DB-0A2524F04CBF@felipegasper.com> <CAL02cgR=6C+i56OGLx=bSXHixh5hu5jLgdeOsh4FG57HV_1mDQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 06 Mar 2018 09:31:26 +1100
Message-ID: <CABkgnnV+jdpMEFS_bPZL1QrdzwFp5ZqZpoc0qe3vhf_dtrt-6A@mail.gmail.com>
To: Richard Barnes <rlb@ipv.sx>
Cc: Felipe Gasper <felipe@felipegasper.com>, "Matthew D. Hardeman" <mhardeman@ipifony.com>, Logan Widick <logan.widick@gmail.com>, ACME WG <acme@ietf.org>, Jörn Heissler <acme-specs@joern.heissler.de>, Fraser Tweedale <frase@frase.id.au>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/acme/MdGs0w8QSOpzf59suBABG2gG_xc>
Subject: Re: [Acme] Concerning alternative formats …
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: Mon, 05 Mar 2018 22:31:33 -0000

Sure.  Plenty of ways to do that.

If your primary concern is issuance, then you don't even need server
push, you can just long-poll.  In HTTP/1.1, that's gross because it
ties up a connection and has some disgusting keep-alive properties.
In h2 there is no opportunity cost to worry about, the connection
remains usable for other things while you wait.  (You can use
prefer:wait to control timing if you want a standards-based solution:
https://tools.ietf.org/html/rfc7240#section-4.3)

On Tue, Mar 6, 2018 at 9:27 AM, Richard Barnes <rlb@ipv.sx> wrote:
> Thomson: Could h2 push replace some of the polling here?
>
> On Mon, Mar 5, 2018 at 4:50 PM, Felipe Gasper <felipe@felipegasper.com>
> wrote:
>>
>>
>> > On Mar 5, 2018, at 1:13 PM, Matthew D. Hardeman <mhardeman@ipifony.com>
>> > wrote:
>> >
>> > Especially with CT logging being a pragmatic requirement,
>> > time-to-delivery for certificates is likely to increase (slightly) rather
>> > than decrease.
>>
>> Quick point: the alleviation of polling would go for authz status as well
>> as to certificate delivery.
>>
>> A certificate order that has 10 domains needs to poll for the status of
>> all 10 of those domains’ authorizations as well as the certificate issuance.
>> “ACME/bidi” would remove all 11 of those needs to poll.
>>
>> Thanks for those who have given this suggestion their consideration. I
>> don’t mean to “gum up the gears” for the main ACME work, but as I’ve been
>> writing ACME clients the polling stuff has stuck out to me like a sore
>> thumb.
>>
>> It’s worth noting, too, that concerns about overhead may be alleviated if
>> we do get a usable WebSocket-over-HTTP/2 implementation. Or, maybe someone
>> will expose an SCTP endpoint, or a raw TCP endpoint that implements a simple
>> message-boundary layer. I think the question of pure-message, bidirectional
>> transport is more relevant than a specific transport implementation.
>>
>> -F
>
>