Re: [OAUTH-WG] Web Authorization Protocol (oauth) WG Virtual Meeting: 2020-04-13

Vittorio Bertocci <vittorio.bertocci@auth0.com> Wed, 15 April 2020 08:39 UTC

Return-Path: <vittorio.bertocci@auth0.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61B453A0598 for <oauth@ietfa.amsl.com>; Wed, 15 Apr 2020 01:39:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, 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=auth0.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 cvOlC70wc7Rd for <oauth@ietfa.amsl.com>; Wed, 15 Apr 2020 01:39:09 -0700 (PDT)
Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (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 2C4143A0597 for <oauth@ietf.org>; Wed, 15 Apr 2020 01:39:08 -0700 (PDT)
Received: by mail-pj1-x1029.google.com with SMTP id z9so6391749pjd.2 for <oauth@ietf.org>; Wed, 15 Apr 2020 01:39:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=auth0.com; s=google; h=from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :mime-version; bh=jSZMNTEUFd8xkqv35Ah/sCB79Zhpkm/tv+NIRgmwX+8=; b=dBGonPUGn7YuMLSwR7+urKwTHhNH6m7Ym2UjsVXLgzibuKYxIE6uwHaZgoTY/LMB3I R6ZrvDqTmi8f5TJGEGesSmkasJ0EH6vLDtenceBX4VOYr5IERD+2v3YMXCtPCYSfDzJJ R0Y6QyESvZJth1b4tLTrCwk+09I3U/7wzKyUux6bphPYTZ0081OUPxolD5c+DDYzV6Kj n8RAyVWh6AbKsUvqbmBfjU53ccKdLhwy2aHlYmv/uVkPLIeQ0v9IPRmjN8nLOKA691Z+ 0XFLBp7MrlVhk035W67sEJprHJbrDbUQAHA6+deFl2pQz+l/bt6Qht1L302z/oSVDz2Q cBLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:thread-topic:thread-index:date :message-id:references:in-reply-to:accept-language:content-language :mime-version; bh=jSZMNTEUFd8xkqv35Ah/sCB79Zhpkm/tv+NIRgmwX+8=; b=AxOR4OxJIvGTAU5HpO1LM6KyBrnPKWXzLVAxgYSiNt+7TDjP0n8/MHleYCJy6y60+q CTmh0BaDJh0mKKcKwR0MwxWmTOrqxPiWE3ptUOzeOvBmnWQsVEKkE7MLhdt+vCZ0yaHI xwxqkot2OAUxwhhKzncMB40X+p9N0IIlCSfK/jlUg1bInBzgaGqTOxYXeESV2dxgbbGe DHiy9C9ktAny1dKg70flGSMziJUWoBoZUM/CLroJuPkGgK1nle0Jv/Jnsy4fn4L10Ip7 fwuBMg7hUqn6NpGscneXW73tfyu4nuvY8i6lnB8OLURQapYC2OvV0tF0oMK6w/nQOp4t AklQ==
X-Gm-Message-State: AGi0Pub/oTRKGSVA5icZQxPvCvJ2wzXsvYxur5wKypT+5SavaPq2vibj B2GujQcPcnz1v5p7l4G05KOcxA==
X-Google-Smtp-Source: APiQypIXVAAs2cdhSu6EexiaW+oyWuOd9u1oxoUxbNEUekv2u+2UZQwwvMQum0VlWftMKPf/dGXolw==
X-Received: by 2002:a17:902:bc8c:: with SMTP id bb12mr3707065plb.13.1586939948190; Wed, 15 Apr 2020 01:39:08 -0700 (PDT)
Received: from MWHPR19MB1501.namprd19.prod.outlook.com ([2603:1036:120:1d::5]) by smtp.gmail.com with ESMTPSA id w12sm6078865pfq.133.2020.04.15.01.39.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Apr 2020 01:39:07 -0700 (PDT)
From: Vittorio Bertocci <vittorio.bertocci@auth0.com>
To: "Manger, James" <James.H.Manger@team.telstra.com>, George Fletcher <gffletch@aol.com>, Denis <denis.ietf@free.fr>, "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: [OAUTH-WG] Web Authorization Protocol (oauth) WG Virtual Meeting: 2020-04-13
Thread-Index: AWM0MTdh96WvNEQ1hTaMCLRLrdsz1zAwQ0Ux5DwM14CAABFGyw==
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Wed, 15 Apr 2020 08:39:07 +0000
Message-ID: <MWHPR19MB1501454E0BBCD5523A9BBBFDAEDB0@MWHPR19MB1501.namprd19.prod.outlook.com>
References: <158628195716.9275.10690808358259357603@ietfa.amsl.com> <CAGL6epJ6W6AKptXw72cw2eaO+582_iYhKSK5h6BGBWeDJW9zNg@mail.gmail.com> <CAGL6epJc4CGDy9DwL3-BJh6MrELY3C-RUmcH716WN4k3Un11FA@mail.gmail.com> <361d7891-01be-8e22-7765-613e727b2bc1@free.fr> <CAD9ie-u4xaoRmNG3Sgj+cNWG4M8BzaM1YFF4Oy4Q2A6gdFWDhw@mail.gmail.com> <CAGBSGjpV=QNHPJfXXLcxHwYwHZrKXEQVjf3eJg+b8z=qpRAJcA@mail.gmail.com> <CAO_FVe67Ta_c1stGAH2b6mC_9FcfcZ_Vs6OdD4S4--vOac_y-g@mail.gmail.com> <CAO_FVe7hZH+83=OzU3b-c_b1XkCKbbKe+EVQ5vs++HO31orWkg@mail.gmail.com> <CAD9ie-ucnSnE=yW6PM6BFke7aS+Hs6z5DrE3zg0YLiikeK=9Ww@mail.gmail.com> <CAO_FVe7Ki=9+GGGRQUb3+shEiNkn4Dvpa9S6ukCZvkPOOKBHhQ@mail.gmail.com> <60478f63-257c-a05a-1587-505b9190205e@free.fr> <871581ba-ab3e-da6f-90f2-083803defbea@aol.com> <32164a9c-c75c-14a4-d982-c55ee8ab0d1d@free.fr> <40ff7dfa-ddea-7798-0618-34454b5c7a4c@aol.com> <MWHPR19MB1501AB7EB499AECDC1D8001CAEDA0@MWHPR19MB1501.namprd19.prod.outlook.com> <MEXPR01MB17027C2A7631B5623E1A1B6CE5DB0@MEXPR01MB1702.ausprd01.prod.outlook.com>
In-Reply-To: <MEXPR01MB17027C2A7631B5623E1A1B6CE5DB0@MEXPR01MB1702.ausprd01.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: multipart/alternative; boundary="_000_MWHPR19MB1501454E0BBCD5523A9BBBFDAEDB0MWHPR19MB1501namp_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/0n8mbizpyiXpEPbVYjfE2oxrkLo>
Subject: Re: [OAUTH-WG] Web Authorization Protocol (oauth) WG Virtual Meeting: 2020-04-13
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Apr 2020 08:39:13 -0000

Thanks James!
If those scenarios would be an explicit target, then omitting the sub would indeed eliminate any chance of misinterpreting. However those remain fairly theoretical, and would already be pretty problematic in themselves given the need to get a new token per call in order to prevent jti based correlation- I don’t think it’s worth introducing in the spec the possibility to omit the sub, and risk not having it when it’s useful if it’s omitted by mistake in a mainstream scenario, to prevent a possible misinterpretation in a less common scenario.
If you feel very strongly about this, we can complement the warning in the privacy considerations in draft-06 to highlight this scenario- but honestly that seems overkill to me :)
Thanks
V.

From: "Manger, James" <James.H.Manger@team.telstra.com>
Date: Wednesday, April 15, 2020 at 00:37
To: Vittorio Bertocci <vittorio.bertocci@auth0.com>om>, George Fletcher <gffletch@aol.com>om>, Denis <denis.ietf@free.fr>fr>, "oauth@ietf.org" <oauth@ietf.org>
Subject: RE: [OAUTH-WG] Web Authorization Protocol (oauth) WG Virtual Meeting: 2020-04-13

> the AS could issue the 'sub' value as "urn:anonymous:<large random number>" and create a new value with every token that is issued

But it those cases it would be better to omit “sub”, instead of sending a per-token value (we have “jti” as a per-token id). That at least avoids other parties misinterpreting these unusual “sub”s as long-term ids (and, for example, creating persistent user entries for each one).

--
James Manger