Re: [lamps] Paul Wouters' Yes on draft-ietf-lamps-lightweight-cmp-profile-16: (with COMMENT)

Paul Wouters <paul.wouters@aiven.io> Mon, 05 December 2022 17:55 UTC

Return-Path: <paul.wouters@aiven.io>
X-Original-To: spasm@ietfa.amsl.com
Delivered-To: spasm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A5BDC1522CD for <spasm@ietfa.amsl.com>; Mon, 5 Dec 2022 09:55:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=aiven.io
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PVJkBheUNzv6 for <spasm@ietfa.amsl.com>; Mon, 5 Dec 2022 09:55:06 -0800 (PST)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B4E5C1522AE for <spasm@ietf.org>; Mon, 5 Dec 2022 09:55:06 -0800 (PST)
Received: by mail-wm1-x32f.google.com with SMTP id ay40so2642685wmb.2 for <spasm@ietf.org>; Mon, 05 Dec 2022 09:55:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aiven.io; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QNUO/EQ1F/+LMzMx9PjMle/Afa5S2D/N8qxDRN0bwL4=; b=lmMP9/W9AyuomiHWfdMnKAdL9fsAke/xRpngJO92YC+syN9+LWaEBC/+D3M1GdE9dw tTIHmvZSp1W+rmyBM3UMV+Vx3/zHSIHPE0+3YpYRXCkjXTQ9YbwqcKeF2fOq2gnBI7wO lqJtUecGWsdnum3XERCPzYf5kkO3mRlsaQAHY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QNUO/EQ1F/+LMzMx9PjMle/Afa5S2D/N8qxDRN0bwL4=; b=Gtwj/v+U71JcwwOF0fG+m9/sEd4WIexADOfBA+EltxNjyUMS539ZbYGNhHy7yKmZ+l ZEm+3s0Ou/vimQoIwO0FtKVVhbMpsgmMXLrsTqhUzN5wkM2oAhunqJwylcEr+TNLVoev 0CrNXlYtiVWdBfKAN/0ZdPy/32zmdbsKajiAFtau4c0Y8aFvfCzGGh5fMRXRmiQbMOy3 L6wDva4yHPI81V7lUWxx0lOEINOa5GKqWRDF5Zd3Ja+c8pbUmUyDvRkYF0Qc+6ezVAg4 vLzCfDEyYbhqxU7BeZcYF+weRfunp8ga+M9MqcMUkdFnNjqrr6zyCrtML67wAzyxmdal DxhQ==
X-Gm-Message-State: ANoB5pk6EvPi9FxJrY9cgUGysSfQNf84w3wXCt3iTlaVMiXEY8J0TIm5 FYzQwuh6pqAwkxVIrkHAOOuXql9ia3kVfEWiVumrhQ==
X-Google-Smtp-Source: AA0mqf4285RcukkT9elTWO0KCiPk+iFzTovDk+0sfPMQCZdCBVbZE3dTCLR+tuiNY/EtbkrzjNURud1GjQIqxr9lRQU=
X-Received: by 2002:a05:600c:34c5:b0:3d0:7416:a84c with SMTP id d5-20020a05600c34c500b003d07416a84cmr17088564wmq.145.1670262904704; Mon, 05 Dec 2022 09:55:04 -0800 (PST)
MIME-Version: 1.0
References: <GV2PR10MB6210590FC7AF1BD6E73BA4F9FE149@GV2PR10MB6210.EURPRD10.PROD.OUTLOOK.COM> <341D1172-2351-49A1-89FF-D0B9BFFEA0FB@aiven.io> <GV2PR10MB6210D065E629549986B759CDFE189@GV2PR10MB6210.EURPRD10.PROD.OUTLOOK.COM>
In-Reply-To: <GV2PR10MB6210D065E629549986B759CDFE189@GV2PR10MB6210.EURPRD10.PROD.OUTLOOK.COM>
From: Paul Wouters <paul.wouters@aiven.io>
Date: Mon, 05 Dec 2022 12:54:53 -0500
Message-ID: <CAGL5yWYxh2QMr_fe306PHdsM4c=Ap4Q2FgxZgS8xUw-u6--LOQ@mail.gmail.com>
To: "Brockhaus, Hendrik" <hendrik.brockhaus@siemens.com>
Cc: The IESG <iesg@ietf.org>, "draft-ietf-lamps-lightweight-cmp-profile@ietf.org" <draft-ietf-lamps-lightweight-cmp-profile@ietf.org>, "lamps-chairs@ietf.org" <lamps-chairs@ietf.org>, "spasm@ietf.org" <spasm@ietf.org>, "housley@vigilsec.com" <housley@vigilsec.com>
Content-Type: multipart/alternative; boundary="0000000000001e287405ef18635f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/jFfGbIHhVm4DSU4aIRSMgGqkp7M>
Subject: Re: [lamps] Paul Wouters' Yes on draft-ietf-lamps-lightweight-cmp-profile-16: (with COMMENT)
X-BeenThere: spasm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "This is a venue for discussion of doing Some Pkix And SMime \(spasm\) work." <spasm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spasm>, <mailto:spasm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm/>
List-Post: <mailto:spasm@ietf.org>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spasm>, <mailto:spasm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Dec 2022 17:55:10 -0000

works for me, thanks

Paul

On Mon, Dec 5, 2022 at 7:55 AM Brockhaus, Hendrik <
hendrik.brockhaus@siemens.com> wrote:

> Paul
>
> Thank you for your feedback. Please see the updated
> paragraph below.
>
> Hendrik
>
> > Von: Paul Wouters <paul.wouters@aiven.io>
> >
> > On Dec 1, 2022, at 11:29, Brockhaus, Hendrik
> > <hendrik.brockhaus@siemens.com> wrote:
> > >
> > > Paul
> > >
> > > Thank you for your review and comments.
> > > Please see my responses and proposals below.
> > >
> > > Hendrik
> > >
> > >> Von: Paul Wouters via Datatracker <noreply@ietf.org>
> > >>
> > >> ----------------------------------------------------------------------
> > >> COMMENT:
> > >> ----------------------------------------------------------------------
> > >>
> > >>
> > >> In section 6:
> > >>        HTTP SHOULD be used and CoAP MAY be used
> > >>
> > >>        File-based transfer MAY be used in case offline transfer is
> required.
> > >>
> > >> I find these different levels of usage odd. Clearly devices have no
> real
> > choice
> > >> here. If they can support HTTP, there is no need for CoAP. If they
> cannot
> > do
> > >> HTTP and therefor can only do CoAP, there is no choice either. If
> they are
> > >> offline, clearly they cannot use anything but file based transfer. I
> would
> > set
> > >> all of these to MAY ?
> > >
> > > [HB] This statement does not only address end entities, but also RAs or
> > CAs. For
> > > EEs you are right, the EE has little choice. This is different for an
> RA or CA.
> > An EE
> > > may have an online and an offline mode of operation. In this case the
> EE
> > should
> > > use HTTP or CoAP and not file-based transfer if in the online mode.
> > > As you also said, HTTP is preferred over CoAP. Therefore, we stated
> > 'SHOULD be
> > > used' for HTTP and 'MAY be used' for CoAP. Saying MAY equally to all
> > choices
> > > does not express this preference for HTTP.
> > > File-based transfer is clearly a side-line and less preferred to any
> online
> > transfer.
> > > Therefore, we limited the use to the offline case.
> >
> > >
> > > I am uncertain how to phrase it differently and still expressing what
> we
> > want to
> > > say. Any proposal is welcome.
> >
> > Maybe split it? Say that clients likely only support either HTTP or
> CoAP, and
> > maybe offline. That RA and CA capabilities should match the different
> types
> > of clients used, but would gain interoperability if they support all
> methods?
>
> [HB]  OK. I try to rephrase the paragraph.
>
> OLD
>    CMP messages are designed to be self-contained, such that in
>    principle any reliable transfer mechanism can be used.  HTTP SHOULD
>    be used and CoAP MAY be used for online transfer of CMP messages on
>    application layer.  CMP messages MAY also be piggybacked on any other
>    reliable transfer protocol.  File-based transfer MAY be used in case
>    offline transfer is required.
>
> NEW
>    CMP messages are designed to be self-contained, such that in
>    principle any reliable transfer mechanism can be used.  EEs will
>    typically support only one transfer mechanism.  PKI management
>    entities SHOULD offer HTTP and MAY offer CoAP where required.
>    Piggybacking of CMP messages on any other reliable transfer
>    protocol MAY be used, and file-based transfer MAY be used in case
>    offline transfer is required.
>