Re: [Ace] Martin Duke's No Objection on draft-ietf-ace-oscore-profile-17: (with COMMENT)
Martin Duke <martin.h.duke@gmail.com> Thu, 25 March 2021 18:43 UTC
Return-Path: <martin.h.duke@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 5AC6B3A29D8; Thu, 25 Mar 2021 11:43:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, 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 LRvUogAEVVC0; Thu, 25 Mar 2021 11:43:24 -0700 (PDT)
Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 D20C43A29D7; Thu, 25 Mar 2021 11:43:23 -0700 (PDT)
Received: by mail-io1-xd2d.google.com with SMTP id f19so2918533ion.3; Thu, 25 Mar 2021 11:43:23 -0700 (PDT)
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=KgMiBwW65fcJ9K62bF2UakzHqIM0difnpkjOlNeQyhw=; b=rAEO4kMP0EJk+DFPyUVBoQIKCb4mmRhf1NuoZIjMuPWXS/U5u+pwI3CTtgGO3+OgM9 xxZ8QMoAwXwG3VldQPDV1DqHw7lmARCy36B9zIbdrnaR8MyQvVOyO9XAdMi3Ro78jYKG Jp1Ur7V2MmvFhOrzk1a/fzntNel8/RpPjYrvMpnjtJCk0xNJLPNeEJIxQ/06DAX43Nr3 Ny5F7wth0YlevdtCNN5AUxgH4m6ls9NCCxI4Loto0JA3RX1G1YlqAJBOp4ZrSAhthBT4 LR7T+MMea/TIKG1tJea9us5DndN0WpoCE33q5R4rmjuYN8tioZ0FjVD8pDEy26arIm6v 0caA==
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=KgMiBwW65fcJ9K62bF2UakzHqIM0difnpkjOlNeQyhw=; b=LAtjUdGhvlJLb7ldjov8z4J01G49sJAF70UPkbpU5XOTvAu39WGowWkBrp4HKv+lV/ h60tB1lWAi4Fkk9BfjWa/d5N2S2fnkVjdlaB7GsEh0cR4ZBy3g3+J1rC3tGJLLk1efHN dtPnuXg9PnZj9Gp4NN4kcFPIW6xEnC326JDIDPTZYFfDl2elek48X7z3HqEN0tsRqELV TrV99Zx+FP13LMnysxeUbLYl8CAz8EVDf/R84+zgGLkJam3rz9gry0L8+DWi9o3DT9aR f7Nm+1eBk1vLQ9fg1mTa8gp4g8kvJfF4WCFrVAlnj6arkM9VGMSa1L9Q+O3RH+ansVFY +aVA==
X-Gm-Message-State: AOAM533tWU9O2qH1YIqmL8QIukS38e3JyQN5kswmVj8kawyDjiRg45xq BgT2AJNsWTTlnfa+rO1weZsSFRcCmdIQRlIsvHo=
X-Google-Smtp-Source: ABdhPJz58F08+Hs/FibB8v2/DaNO3Drjoe8YkgIhjEfdRaxMhnDcoco4WJ8ycMzLGZdbXT54GEAo5q20qf2nH3+9qrU=
X-Received: by 2002:a05:6602:82:: with SMTP id h2mr7622546iob.20.1616697802335; Thu, 25 Mar 2021 11:43:22 -0700 (PDT)
MIME-Version: 1.0
References: <161619357138.21782.3555422752704211953@ietfa.amsl.com> <20210321052640.GQ79563@kduck.mit.edu> <93828364-8F7B-4402-AB3C-D1928DF33D05@ericsson.com>
In-Reply-To: <93828364-8F7B-4402-AB3C-D1928DF33D05@ericsson.com>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Thu, 25 Mar 2021 11:43:12 -0700
Message-ID: <CAM4esxQrkQHzf98ayENje91RT1qrjbVO0dDq2b=VLLCVom2DJA@mail.gmail.com>
To: Göran Selander <goran.selander@ericsson.com>
Cc: Benjamin Kaduk <kaduk@mit.edu>, The IESG <iesg@ietf.org>, "draft-ietf-ace-oscore-profile@ietf.org" <draft-ietf-ace-oscore-profile@ietf.org>, "ace-chairs@ietf.org" <ace-chairs@ietf.org>, "ace@ietf.org" <ace@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000037ab0205be60ca21"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/50GiYdlQZHUTxtDt00xZURso5tM>
Subject: Re: [Ace] Martin Duke's No Objection on draft-ietf-ace-oscore-profile-17: (with 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: Thu, 25 Mar 2021 18:43:28 -0000
Yes, LGTM On Wed, Mar 24, 2021 at 6:08 AM Göran Selander <goran.selander@ericsson.com> wrote: > Hello Martin, > > Thanks for the review. Please see proposed updates below. > > On 2021-03-21, 06:27, "Benjamin Kaduk" <kaduk@mit.edu> wrote: > > On Fri, Mar 19, 2021 at 03:39:31PM -0700, Martin Duke via Datatracker > wrote: > > Martin Duke has entered the following ballot position for > > draft-ietf-ace-oscore-profile-17: No Objection > > > > When responding, please keep the subject line intact and reply to all > > email addresses included in the To and CC lines. (Feel free to cut > this > > introductory paragraph, however.) > > > > > > Please refer to > https://www.ietf.org/iesg/statement/discuss-criteria.html > > for more information about IESG DISCUSS and COMMENT positions. > > > > > > The document, along with other ballot positions, can be found here: > > https://datatracker.ietf.org/doc/draft-ietf-ace-oscore-profile/ > > > > > > > > > ---------------------------------------------------------------------- > > COMMENT: > > > ---------------------------------------------------------------------- > > > > Sec 4.1. I don't understand how the OSCORE security context is > secure. In Sec > > 4.1 it says the C-RS communications need not be protected. But the > context is > > fully derived from parameters that go back and forth over this > channel. Why > > can't an observer simply compute the OSCORE keys? > > The POST to the authz-info endpoint includes just the access_token, > nonce1, > and ace_client_recipientid. I think that your concerns focuus on the > access_token itself, since that is how the various OSCORE security > context > parameters are conveyed from AS to RS (via C). Note that these > parameters > need not be conveyed directly in the token, since the token could be an > opaque reference that requires the RS to use token introspection in > order > to retrieve the associated parameters. However, when introspection is > not > used, the security context parameters are indeed carried directly in > the > token, and this scheme does not provide security in that case unless > the > token contents themselves are protected. > > It seems (on a quick check, so I might have missed it) that we don't > actually say "you have to use an encrypted or opaque token" (not one > that's > only signed) anywhere. So ... good catch, and thank you! > > [GS] > > The ACE framework (draft-ietf-ace-oauth-authz-38) mandates integrity > protection of access token, and in the case it contains a symmetric key, > encryption: > > 6.1. Protecting Tokens > > "If the access token contains the > symmetric key, this symmetric key MUST be encrypted by the > authorization server so that only the resource server can decrypt it." > > In oscore-profile, the access token is recommended to be CWT which are > COSE objects, but the requirement to encrypt in case the access token > contains the OSCORE master secret should of course be explicitly stated. > Here is a proposed change: > > Section 3.2 > > OLD > "This profile RECOMMENDS the use of CBOR web token (CWT) as specified in > [RFC8392]." > > NEW > "The OSCORE master secret MUST be encrypted by the authorization server so > that only the resource server can decrypt it (see Section 6.1. of > [I-D.ietf-ace-oauth-authz]). This profile RECOMMENDS the use of CBOR web > token (CWT) protected with COSE_Encrypt/COSE_Encrypt0 as specified in > [RFC8392]." > > Does this address the comment? > > Thanks > Göran > > >
- [Ace] Martin Duke's No Objection on draft-ietf-ac… Martin Duke via Datatracker
- Re: [Ace] Martin Duke's No Objection on draft-iet… Benjamin Kaduk
- Re: [Ace] Martin Duke's No Objection on draft-iet… Martin Duke
- Re: [Ace] Martin Duke's No Objection on draft-iet… Göran Selander
- Re: [Ace] Martin Duke's No Objection on draft-iet… Martin Duke