Re: [Ace] secdir review of draft-ietf-ace-dtls-authorize-14

Daniel Migault <mglt.ietf@gmail.com> Wed, 03 March 2021 04:09 UTC

Return-Path: <mglt.ietf@gmail.com>
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 E87833A1882 for <ace@ietfa.amsl.com>; Tue, 2 Mar 2021 20:09:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 rjQSnN7EA9_F for <ace@ietfa.amsl.com>; Tue, 2 Mar 2021 20:09:23 -0800 (PST)
Received: from mail-vk1-xa2d.google.com (mail-vk1-xa2d.google.com [IPv6:2607:f8b0:4864:20::a2d]) (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 56E3C3A187E for <ace@ietf.org>; Tue, 2 Mar 2021 20:09:23 -0800 (PST)
Received: by mail-vk1-xa2d.google.com with SMTP id f145so4946855vka.8 for <ace@ietf.org>; Tue, 02 Mar 2021 20:09:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0GvBlqvx812T4LWddsyM5qlpZsqaPtME7c5+VpOPBR4=; b=qr8YDNVHGxmDJMpEjWjKfl2W7xMnL8qM02AJiQmHibeQBUBN1fNPq5VOLg+nOX18OM HJ+vYfbPasAQggfELt0dTum1H5WC3bMHAn9GNrOP3anMvaLibGxYkUzaIN66dkqWam0x KdB6n10Py0b6WzAZ50Z0zKMfISMnhBOxPeghbNsSCyE0BeYzE13Hiinr7CDqCy9SnRGI t5VBpYf74/OWRTamhwOEL+XBNUKzL0EWb7hCFAaeOWVIhNrjE5wlBcGUQQxRc00ehekv I2JThCNjotsRPuR/xtmakXXU6FpoPS8W01INd3L4j8sM1Zlcpjhy7krAVJzAL3XcPUnj KL4w==
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=0GvBlqvx812T4LWddsyM5qlpZsqaPtME7c5+VpOPBR4=; b=l0cVKtmeIuveL9BEFrJeusmnS48a8/x7/NQFQpCVpZ+z1CMI/97FusvC59LJPBJI0o oEWi3z3pFGxmtOCINzCiiFMHpvdOApLNbjNoZrEqvkPr7kCWI7kZog/lk2eUQ18YPOq9 QzR6Lve+Rl90AQWBHfDA2jN2V6wSc61sfQwjxUVeZHq7giR/FGTmE2kNocrISKGelW7g 4V5vTT7Qm4pZiUxKc2FrLGzWNQluHpX3Phg+jUlRrevLC/58M65rhK0EAn6j0nNgMDT4 FdY6R/1l9BJVRjJVgIpvWojBjiNT6hy9sZjfgeXPistRWJleEza1KcM6wfHIyjCrgmmm 9wPw==
X-Gm-Message-State: AOAM531ZX0iFUDz8cu2svWrBZ96ZpSGGq/YHdVaD5Fo17iLOvuL9c0zJ EEYjz04R9P1+8Ey6Rgm06ZZBxWYJPDevflHFdwY=
X-Google-Smtp-Source: ABdhPJzkrfzhxhDh8Zzeo3CqPk5TWwZ9McJ80PrwxlA9zeOTic9XEgsdM0OgdBKCB2YIpO5OeNYdosGsbHgCa/A9p4Y=
X-Received: by 2002:a1f:9ed8:: with SMTP id h207mr14388493vke.13.1614744561591; Tue, 02 Mar 2021 20:09:21 -0800 (PST)
MIME-Version: 1.0
References: <871rdqihww.fsf@wangari> <FD569111-85F8-40A2-8C97-764977309B87@ericsson.com> <CADZyTk=HB26o=mUpUdbYEhfhrGZar+oe28c5PZ2_j-vKYVA6xg@mail.gmail.com> <c6d42d18-f1f3-ec00-fff9-3540fa222d23@tzi.de> <9911269D-AA7F-458C-AA1A-2D59A79C5A00@ericsson.com> <CADZyTkn=3GigtTiihQX0ORYyO0dV0qCfVMtTn37vbsqJuQUJxw@mail.gmail.com> <026242c2-2c6a-485b-cb51-34b2b2d70975@tzi.de> <DM6PR15MB23796DF01885DC7F86C15583E3879@DM6PR15MB2379.namprd15.prod.outlook.com> <6b5368a6-b8ba-81eb-0c10-6a052fcbad67@tzi.de> <DM6PR15MB23798EE51BDED9BB7D0438E3E3869@DM6PR15MB2379.namprd15.prod.outlook.com> <2C5A1AA5-6124-407B-A342-AA367CB6D536@tislabs.com> <DM6PR15MB23799382A92C9B2074B1BF42E3859@DM6PR15MB2379.namprd15.prod.outlook.com> <F6B1D3C5-DE79-42B4-8CEA-620C86EABF4B@ericsson.com> <CADZyTk=y7Zf3Atvt7d5c17KEbnc5CESoOyBsa0TgpMchX4FcPQ@mail.gmail.com> <CADZyTk=gc8ybr5+wQhN0P_Vyz2P+g6TtwWcAGYGbofeMeq0cjQ@mail.gmail.com> <87v9a94m60.fsf@wangari>
In-Reply-To: <87v9a94m60.fsf@wangari>
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Tue, 02 Mar 2021 23:09:10 -0500
Message-ID: <CADZyTkkf3qj=ZXvH1QYe1Kg=wUxMug2y6e=9-b31mkUAeC4Qrw@mail.gmail.com>
To: Olaf Bergmann <bergmann@tzi.org>
Cc: Göran Selander <goran.selander@ericsson.com>, Russ Mundy <mundy@tislabs.com>, "ace@ietf.org" <ace@ietf.org>, Stefanie Gerdes <gerdes@tzi.de>, Francesca Palombini <francesca.palombini@ericsson.com>, Daniel Migault <daniel.migault=40ericsson.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ff2b6505bc9a035b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/KvL8fjljsAa1PK8ni7vqquFNvdo>
Subject: Re: [Ace] secdir review of draft-ietf-ace-dtls-authorize-14
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: Wed, 03 Mar 2021 04:09:26 -0000

Thanks for the feedbacks Olaf. So I understand why we need such flexibility
on the client side. The main reason seems that the communication with the
AS is seen as bootstrapping the communication between the client and the RS
and as such we would like to keep them as independent as possible.

I see interoperability being achieved when a) client, RS, and AS
implemented by independent vendors and b) all three follow the framework
and the given profile is sufficient to make them work together. Currently
the client - RS communication is well defined, but the client AS
communication is left to a RECOMMENDATION.

RFC2119 defines RECOMMEND as follows:

SHOULD   This word, or the adjective "RECOMMENDED", mean that there
   may exist valid reasons in particular circumstances to ignore a
   particular item, but the full implications must be understood and
   carefully weighed before choosing a different course.


The question becomes how RECOMMENDED is sufficient or not.



It seems to me the definition above makes it clear that
the recommended protocol is expected to be supported, and AS or clients
that are independently developed are expected to support the recommended
protocol. To ensure the implementers are well aware of the consequences of
the implication we could clarify this explicitly. Of course this does not
provide a formal proof for interoperability, but this seems acceptable in
the scope of a framework.

>From the latest suggestion, I would propose the following changes, - that I
expect will reach consensus. Please let us know by Friday  March 5 if you
agree or disagree with the proposed changes.

 Section 5:
OLD
"Profiles MUST specify a communication security protocol that provides the
features required above."

NEW
"Profiles MUST specify a communication security protocol between client and
RS that provides the features required above. Profiles MUST  specify a
communication security protocol RECOMMENDED to be used between client and
AS that provides the features required above. Profiles MUST  specify for
introspection a communication security protocol RECOMMENDED to be used
between RS and AS that provides the features required above. Such
recommendations are expected, among others, to guarantee independent
implementations interoperate."

Section 6.2:
OLD
  "Profiles MUST specify how communication security according
   to the requirements in Section 5 is provided."
NEW
"The requirements for communication security of profiles are specified
in Section 5."


Yours,
Daniel




On Tue, Mar 2, 2021 at 10:20 AM Olaf Bergmann <bergmann@tzi.org> wrote:

> Hi Daniel,
>
> On 2021-03-02, Daniel Migault <mglt.ietf@gmail.com> wrote:
>
> > This is just a follow-up. I would like to be able to close this issue
> > by the end of the week, and so far I have not heard any issues for
> > profile mandating a protocol. On the other hand, not mandating a
> > specific protocol comes with interoperability issues. So unless more
> > feed back is provided, I am currently leaning toward ensuring
> > interoperability.
> >
> > It  would be good for me to hear from the WG and understand what
> concrete deployment
> > issues the two statements below would raise:
> >     * OSCORE profile mandating the AS to support OSCORE and have the C
> <-> AS using
> > OSCORE.
> >     * DTLS profile mandating the AS to support DTLS and have the C <->
> AS using DTLS.
>
> I think the major issue is that a client that implements both OSCORE and
> DTLS cannot just switch from one mechanism to the other because it must
> stick to either one or the other. This also raises the question what
> happens if an AS is contacted by the client via OSCORE but the RS only
> supports DTLS: Is the client allowed to switch from OSCORE to DTLS if
> the AS says so?
>
> Another aspect is that we would need to add another specification if a
> client implementing the DTLS profile wants to contact the AS via TLS. As
> CoAP over TLS is well-defined, this would not make any difference
> regarding the security or the handling in the application, but mandating
> DTLS in the profile would currently preclude the use of TLS.
>
> Grüße
> Olaf
>


-- 
Daniel Migault
Ericsson