Re: [Ace] Requested review for IANA registration in draft-ietf-ace-oauth-params

Jim Schaad <ietf@augustcellars.com> Mon, 13 January 2020 18:38 UTC

Return-Path: <ietf@augustcellars.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 006AB120A42; Mon, 13 Jan 2020 10:38:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 OSZB_ywwfpos; Mon, 13 Jan 2020 10:37:59 -0800 (PST)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 157B6120A48; Mon, 13 Jan 2020 10:37:59 -0800 (PST)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 13 Jan 2020 10:37:51 -0800
From: Jim Schaad <ietf@augustcellars.com>
To: 'Brian Campbell' <bcampbell@pingidentity.com>, 'Seitz Ludwig' <ludwig.seitz@combitech.se>
CC: 'Ludwig Seitz' <ludwig_seitz@gmx.de>, 'Roman Danyliw' <rdd@cert.org>, oauth-ext-review@ietf.org, 'Daniel Migault' <daniel.migault@ericsson.com>, 'Benjamin Kaduk' <kaduk@mit.edu>, ace@ietf.org, drafts-lastcall@iana.org
References: <4a5177af-a442-f109-f620-0ae91953eb63@gmx.de> <CA+k3eCSG3m8=DTnNX-xa2ydaKzHU5WUC5JaWH9vbcMN2XcPnZw@mail.gmail.com> <acc7f28a-fc79-bd44-f228-f8e722415c2b@gmx.de> <CA+k3eCRJkQz2x_kKxQHoD7vtv9BkgsWFfGPJKwXdW3pjJhjBow@mail.gmail.com> <2616175d102b4c19a60c6a79d4256b5e@combitech.se> <CA+k3eCT6mZYmY1XQ1_wOi4QY+C_z6or4JUSQN2E+xeYpWgGjgw@mail.gmail.com>
In-Reply-To: <CA+k3eCT6mZYmY1XQ1_wOi4QY+C_z6or4JUSQN2E+xeYpWgGjgw@mail.gmail.com>
Date: Mon, 13 Jan 2020 10:37:49 -0800
Message-ID: <006a01d5ca40$913c3f20$b3b4bd60$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_006B_01D5C9FD.831B4910"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQEhd6Yle2bwoestBETa2w8Xfe67igHXMmInAunJ6fMCAFODFgH28139AnlL6EWo+AUhkA==
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/uJ6O1PK44knvBZUuE8X0JYJBWsI>
Subject: Re: [Ace] Requested review for IANA registration in draft-ietf-ace-oauth-params
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: Mon, 13 Jan 2020 18:38:02 -0000

Brian,

 

If it does not work then I should know by the end of next week.  I am trying to merge my JWT and CWT token issuing code in my ACE OAuth server right now.

 

Jim

 

 

From: Brian Campbell <bcampbell@pingidentity.com> 
Sent: Monday, January 13, 2020 10:01 AM
To: Seitz Ludwig <ludwig.seitz@combitech.se>
Cc: Ludwig Seitz <ludwig_seitz@gmx.de>; Roman Danyliw <rdd@cert.org>; oauth-ext-review@ietf.org; Daniel Migault <daniel.migault@ericsson.com>; Jim Schaad <ietf@augustcellars.com>; Benjamin Kaduk <kaduk@mit.edu>; ace@ietf.org; drafts-lastcall@iana.org
Subject: Re: [Ace] Requested review for IANA registration in draft-ietf-ace-oauth-params

 

Thanks Ludwig,

 

On Sat, Jan 11, 2020 at 8:20 AM Seitz Ludwig <ludwig.seitz@combitech.se <mailto:ludwig.seitz@combitech.se> > wrote:

[snip] 

 

From: Ace <ace-bounces@ietf.org <mailto:ace-bounces@ietf.org> > On Behalf Of Brian Campbell

 

[snip]

                   

So in -09 the "cnf" Introspection Response Parameter was the following the syntax of the "cnf" claim from PoP Key Semantics for CWTs [ID.ietf-ace-cwt-proof-of-possession] and in -10 it's following the syntax of PoP Key Semantics for JWTs [RFC7800] transitively via [I-D.ietf-oauth-mtls] reference. I think I understand that the two PoP key semantics documents are conceptually the same or similar. But I don't know that the syntax is the same? Figure 5 <https://tools.ietf.org/html/draft-ietf-ace-oauth-params-10#section-6>  is pointed to for mapping between CBOR and JSON but it only has mappings for the main top level parameters. Maybe I just don't get it or am missing something...   

 

[LS] No you are not missing something, I just got sloppy trying to do a quickfix.

 

Background: The reason for defining both JSON and CBOR-based interactions is that you might have a powerful client communicating with a constrained RS. The client does vanilla OAuth interactions with the AS via the token endpoint, but is served a CWT and associated ACE parameters (cnf, ace-profile, …) for interaction with the RS. 

The pop-key should decode to the same binary representation regardless of whether it came in a JSON or CBOR wrapper.

 

Okay, so noting that there is cnf content that doesn't decode to a key, I suppose I'll just take it on faith that all the relevant or expected usages involve a key that can be represented in both CBOR and JSON. 


CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you.