Re: [Ace] ace-coap-est-08: using /skg with Accept Option set to TBD287

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 14 February 2019 15:03 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 86CC4127598; Thu, 14 Feb 2019 07:03:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 4anZ_hH_eVAj; Thu, 14 Feb 2019 07:03:25 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 113D9128BCC; Thu, 14 Feb 2019 07:03:25 -0800 (PST)
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:56b2:3ff:fe0b:d84]) by tuna.sandelman.ca (Postfix) with ESMTP id 0EE923826A; Thu, 14 Feb 2019 10:00:14 -0500 (EST)
Received: by sandelman.ca (Postfix, from userid 179) id A87671DBD; Thu, 14 Feb 2019 10:03:23 -0500 (EST)
Received: from sandelman.ca (localhost [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id A7050D4E; Thu, 14 Feb 2019 10:03:23 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: core@ietf.org, "ace@ietf.org" <ace@ietf.org>
In-Reply-To: <DB6P190MB00542EA47E4BF9B619AB3916FD670@DB6P190MB0054.EURP190.PROD.OUTLOOK.COM>
References: <DB6P190MB0054313C1BA6E125FA07813BFD650@DB6P190MB0054.EURP190.PROD.OUTLOOK.COM> <CAAzbHvaMTXgzKtMbpVpbXfT1EKjJu4L3zM5hesrNPgG+BqfoJw@mail.gmail.com> <9594d00cd7bc43e496c2c5073481e637@XCH-ALN-010.cisco.com> <CAAzbHvbD0B0A6L4-YCXVRhmKMRCUmTWaOJrtSZOQkbRfhsQBuQ@mail.gmail.com> <e1ebbbe0dd4541778842878c93933f5d@XCH-ALN-010.cisco.com> <DB6P190MB00542EA47E4BF9B619AB3916FD670@DB6P190MB0054.EURP190.PROD.OUTLOOK.COM>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Thu, 14 Feb 2019 10:03:23 -0500
Message-ID: <7178.1550156603@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/l8sC7Wy9z4jgf-w9TopIPpL151M>
Subject: Re: [Ace] ace-coap-est-08: using /skg with Accept Option set to TBD287
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Feb 2019 15:03:27 -0000

CORE people, the thread is here:
    https://mailarchive.ietf.org/arch/msg/ace/L1QPw1zHAj15nsKMe8AFDu6dcmI

Esko Dijk <esko.dijk@iotconsultancy.nl> wrote:
    > Using a query is a good solution here; I would propose a query argument
    > as short as possible because we deal with constrained networks and we
    > want to avoid needless parsing in this case - the server only needs to
    > select between two format choices here, returning X.509 cert or PKCS#7
    > with cert.

Using a query really seems broken to me...

    > So to request PKCS#7 format , the default:
    > POST /est/skg

    > And to request X.509 format, the alternative that the server MAY support:
    > POST /est/skg?x

Why not just use:
    POST /est/skx

It's even shorter, and it's much more obvious if it is not supported.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-