Re: [OAUTH-WG] Nonce-based Replay Protection for DPoP

Benjamin Kaduk <kaduk@mit.edu> Tue, 16 March 2021 23:21 UTC

Return-Path: <kaduk@mit.edu>
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 D7ABF3A12B8 for <oauth@ietfa.amsl.com>; Tue, 16 Mar 2021 16:21:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 CZsV-A4I-Dje for <oauth@ietfa.amsl.com>; Tue, 16 Mar 2021 16:21:55 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9946A3A12B4 for <oauth@ietf.org>; Tue, 16 Mar 2021 16:21:55 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 12GNLmCV020998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Mar 2021 19:21:52 -0400
Date: Tue, 16 Mar 2021 16:21:47 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Rifaat Shekh-Yusef <rifaat.s.ietf@gmail.com>
Cc: Brian Campbell <bcampbell@pingidentity.com>, oauth <oauth@ietf.org>
Message-ID: <20210316232147.GP79563@kduck.mit.edu>
References: <CADNypP-15WuaYQzyvN=kq5agj5Moq_uqP_U49gHXB_j=cDyUkg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CADNypP-15WuaYQzyvN=kq5agj5Moq_uqP_U49gHXB_j=cDyUkg@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/RLNV4jcYeYOmrwIvNUrJWtHm5ms>
Subject: Re: [OAUTH-WG] Nonce-based Replay Protection for DPoP
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: Tue, 16 Mar 2021 23:21:58 -0000

On Tue, Mar 16, 2021 at 05:45:46PM -0400, Rifaat Shekh-Yusef wrote:
> Brian,
> 
> For a nonce-based replay protection you. might want to look at the ACME
> protocol here:
> https://tools.ietf.org/html/rfc8555#section-6.5

Yes, that one is really solid for the sort of thing it does, and I find
myself recommending it over and over again.
Of course, that workflow is not universally applicable, so sometimes it's
not the right thing to do (and I don't remember enough about DPoP to say if
it works there).

-Ben