Re: [Ace] [EXTERNAL] Francesca Palombini's Discuss on draft-ietf-ace-oauth-authz-38: (with DISCUSS and COMMENT)

Carsten Bormann <cabo@tzi.org> Sat, 10 July 2021 11:13 UTC

Return-Path: <cabo@tzi.org>
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 5C6283A11D9; Sat, 10 Jul 2021 04:13:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, 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 yf5kZ9wHfhTy; Sat, 10 Jul 2021 04:13:13 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C344D3A11D7; Sat, 10 Jul 2021 04:13:12 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GMS7T05gCz2xH1; Sat, 10 Jul 2021 13:13:08 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <pie1vmtegr4pcaoch9pi0pih.1625911605608@email.android.com>
Date: Sat, 10 Jul 2021 13:13:08 +0200
Cc: Ludwig Seitz <ludwig.seitz@combitech.com>, Jim Schaad <ace-chairs@ietf.org>, Cigdem Sengul <cigdem.sengul@gmail.com>, Francesca Palombini <francesca.palombini@ericsson.com>, ace@ietf.org, "Apple Inc." <goran.selander@ericsson.com>, Daniel Migault <mglt.ietf@gmail.com>
X-Mao-Original-Outgoing-Id: 647608388.587265-27e546491af3a98fbd66d63a54725315
Content-Transfer-Encoding: quoted-printable
Message-Id: <41DB83EF-28D7-4601-8685-30E2DE33EA75@tzi.org>
References: <161659738410.3239.3955409176349739508@ietfa.amsl.com> <5634f824f7b14878b5d7d1fdd3b2ed33@combitech.se> <EE1CBB56-8951-473C-A006-875D49BEE350@ericsson.com> <AM0PR0302MB3363E4EB817969E6B34FBBCF9E369@AM0PR0302MB3363.eurprd03.prod.outlook.com> <F44C49D2-C08E-4C04-A751-05ECBBB1DBA9@tzi.org> <AM0PR0302MB3363C4C6DBD796E67986BD079E369@AM0PR0302MB3363.eurprd03.prod.outlook.com> <43222AD5-BA56-423F-98C7-65128A6C35B6@tzi.org> <CADZyTknQEYbv=3vo_MfjGeWmJOcU-QfkFua-ZGnFHfXhni=omQ@mail.gmail.com> <3AF922BD-D6D7-4D20-AA39-5E0D5BEC8A29@tzi.org> <a040239b-fc8c-b2a3-c055-481246f4397c@tzi.de> <AM0PR0302MB3363B7DBB026447BE536D61D9E1C9@AM0PR0302MB3363.eurprd03.prod.outlook.com> <A15462D1-DD0F-4B3C-8C59-7652C6A5F471@ericsson.com> <78BAB6EA-0DDE-4C6C-A923-815E73F1B197@tzi.org> <F329D30F-EF2A-4BE3-B29A-8425CE44A6D2@tzi.org> <15769C3B-A3B5-46E6-AD3A-9FBA63783EAD@ericsson.com> <AM0PR0302MB33635AEFE7CE8642EDEE3B039E1B9@AM0PR0302MB3363.eurprd03.prod.outlook.com> <5C41B62D-C4BD-469A-B370-99DFA0BC1873@tzi.org> <pie1vmtegr4pcaoch9pi0pih.1625911605608@email.android.com>
To: Ludwig Seitz <ludwig_seitz@gmx.de>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/sTSQEn3PJRSIP7Uhk242IkfbMpY>
Subject: Re: [Ace] [EXTERNAL] Francesca Palombini's Discuss on draft-ietf-ace-oauth-authz-38: (with DISCUSS and COMMENT)
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: Sat, 10 Jul 2021 11:13:20 -0000

On 2021-07-10, at 12:07, Ludwig Seitz <ludwig_seitz@gmx.de> wrote:
> 
> I can remove the text entirely, since we don't seem to agree on the details. Would that be acceptable?

I can’t answer that question, but it seems to me that we both have a requirement in mind.  The text that resulted from processing my version is:

> Profiles are expected to prepare for being combined with others by clearly specifying their security requirements.

While you had:

> The security of a profile MUST NOT depend on the assumption that this profile is used in all steps of the authorization flow (C-AS, C-RS, RS-AS). 

The difference is that you want to impose a requirement on all profiles, a requirement that I believe is hard to provably fulfill in general.
While I was mainly putting out a requirement that profiles document their properties in this space, which is both more practical and more general.

Maybe we can combine these two into one sentence that covers a common requirement?

Grüße, Carsten



> /Ludwig
> 
> Sent from my smartphone
> 
> 
> ---- Carsten Bormann wrote ----
> 
> How do we get this done before Monday’s I-D deadline?
> 
> On 2021-07-06, at 08:22, Ludwig Seitz <ludwig.seitz@combitech.com> wrote:
> > 
> > Hello Francesca, Carsten,
> > 
> > Sorry but I do not like what you did in the first sentence. Combining profiles does not necessarily equate to creating a new one, and I still don't see why we should needlessly request that it be so.
> 
> The devil is in the details. If we have pairs profiles that combine, the component profiles should say so and say how.
> 
> > Given an example use case where a client talks dtls-profile to the AS and gets token and parameters for an oscore-profile back for the client-RS leg, why should there be a need for a new profile to support this?
> 
> Because the interaction e.g. with the DTLS and OSCORE/LAKE security setup has details that need to be covered in the component profiles.
> 
> > I also do not like that you removed the requirement to design profiles so that the security for the different legs of the communication (C-AS, C-RS, RS-AS) stands on its own.
> 
> Some of the security can stand on its own, but the overall security derives from the properties of the legs combining.
> 
> > What could happen now is that someone designs clever protocol foo that has a dependency between the C-AS and the C-RS communication for its security, and thus breaks when it is used on only one leg of this communication. I don't think you need to know all possible future profiles to design yours to be secure in that way. Note that the framework puts requirements on the security of future profiles, so you can assume e.g., that communication will be secure.
> 
> We may be better off writing a separate document that explains how to exactly do this mixing-and-matching. 
> 
> I’d like to hear from others how they see this issue.
> 
> Grüße, Carsten
> 
> _______________________________________________
> Ace mailing list
> Ace@ietf.org
> https://www.ietf.org/mailman/listinfo/ace