Re: [OAUTH-WG] [EXTERNAL] Re: OAuth 2.1 - require PKCE?

Neil Madden <neil.madden@forgerock.com> Mon, 11 May 2020 06:47 UTC

Return-Path: <neil.madden@forgerock.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 D35403A0857 for <oauth@ietfa.amsl.com>; Sun, 10 May 2020 23:47:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, 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 (1024-bit key) header.d=forgerock.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 Q0ip8cRRa1LQ for <oauth@ietfa.amsl.com>; Sun, 10 May 2020 23:47:57 -0700 (PDT)
Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (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 06F6A3A0853 for <oauth@ietf.org>; Sun, 10 May 2020 23:47:56 -0700 (PDT)
Received: by mail-wr1-x431.google.com with SMTP id w7so9395248wre.13 for <oauth@ietf.org>; Sun, 10 May 2020 23:47:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forgerock.com; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=D0FK7kOSG9DQLO35lYO+Bs7dGqfT6OeS0zytzum/sMI=; b=OOXUyPurhg52JqNighFZSDPGzmOsNFTTx6yMjlByzlaQACjpU/dLP26aIBIULw0L11 4O6MrHaVOI8Z7XiB9ermtuGzrMnpKsroQTrI+cBJ8V7+MfbKbjQvbJ1Ivg5gyLOtfzW6 5SdFvMbH90DavtDW5e+nfL76nasph6lgEE/oY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=D0FK7kOSG9DQLO35lYO+Bs7dGqfT6OeS0zytzum/sMI=; b=Booy4qYWTTytb09XNqqszV9uwtDvROf7U+g+hgigHPEB5a7d2Sul+eGAdl7ai2gnoT X0XipCcCEO7pcM2vGRDneS5BpBZoik4knBt8VMIBaNcxKnEPdJpyEfitlxA3LbmbPpEd uJceqLknWEWLpUsKTuic03vvOhbfgvl0Oj3kqHv1wBg9aTHIgO7HxEzAwKwXRtHVt+0H Jk/Ti6G2YUSCvky7bkOE/zolGRqh/r+ZvpRlJWS50MawK4JbhdnVnmSKIsTfqrUVLvZh Es0M/LZZW/Ry6tmjGcwyUY/jzqOYObeGqZqLBexqHlPof2PgOG2I3f3l8Uxbg6tf0PNx sm0g==
X-Gm-Message-State: AGi0Pua87pNf62vT7hRhgxbBMhGB9RClZsnaQ3iSk0gtnWdgRx5ZD4mb wJrjtvlaTy4zdtwztDGKmgdqlsvsTWEqwtlzb+6ZG5qlcZlU5x1OAtrzS3xs3fm+PMBu5cK3Fl4 r+Lq1jJbVBtxAYBI7HQjNkM8DVb5b39TjRtVS/ndvsY8J45MPheAEPcroWhl/6yo=
X-Google-Smtp-Source: APiQypKiFZqv+wYaYxNulfuTYOLawwVFhhZZwdi54HuzMjezrPUFDzpIP9mSi456Wpfg3Hf/7NNPmA==
X-Received: by 2002:a5d:650f:: with SMTP id x15mr17058239wru.100.1589179675132; Sun, 10 May 2020 23:47:55 -0700 (PDT)
Received: from [10.0.0.3] (181.58.93.209.dyn.plus.net. [209.93.58.181]) by smtp.gmail.com with ESMTPSA id h1sm25661122wme.42.2020.05.10.23.47.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 May 2020 23:47:54 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: Neil Madden <neil.madden@forgerock.com>
Mime-Version: 1.0 (1.0)
Date: Mon, 11 May 2020 07:47:54 +0100
Message-Id: <9A3468AB-95AE-4203-BE53-89A20D048291@forgerock.com>
References: <FF72B66A-BB83-4372-A624-FC6D1719D6F7@lodderstedt.net>
Cc: Dick Hardt <dick.hardt@gmail.com>, Mike Jones <Michael.Jones@microsoft.com>, "oauth@ietf.org" <oauth@ietf.org>
In-Reply-To: <FF72B66A-BB83-4372-A624-FC6D1719D6F7@lodderstedt.net>
To: Torsten Lodderstedt <torsten@lodderstedt.net>
X-Mailer: iPhone Mail (17E262)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/JOYyaH5Pm7YDiOUklfWFYI5pyuk>
Subject: Re: [OAUTH-WG] [EXTERNAL] Re: OAuth 2.1 - require PKCE?
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: Mon, 11 May 2020 06:48:00 -0000


> On 11 May 2020, at 07:41, Torsten Lodderstedt <torsten@lodderstedt.net> wrote:
> 
>> On 11. May 2020, at 07:38, Neil Madden <neil.madden@forgerock.com> wrote:
>> 
>> There is no attack that this prevents so your claim of improving security is unsubstantiated. I can’t see how we can ship a 2.1-compliant-by-default AS while this requirement remains so I don’t support it. 
> 
> Are you saying PKCE does not prevent any attack?

No, but servers and clients are already free to support PKCE. I’m saying that rejecting requests from non-PKCE clients doesn’t prevent any attack. It just denies service to legitimate clients. 

— Neil