[OAUTH-WG] Refresh tokens in Security BCP -15

Aaron Parecki <aaron@parecki.com> Sun, 05 April 2020 19:25 UTC

Return-Path: <aaron@parecki.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 49FF63A065A for <oauth@ietfa.amsl.com>; Sun, 5 Apr 2020 12:25:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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=parecki-com.20150623.gappssmtp.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 Cks9TqnGy6bp for <oauth@ietfa.amsl.com>; Sun, 5 Apr 2020 12:25:02 -0700 (PDT)
Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 25CAE3A08B6 for <oauth@ietf.org>; Sun, 5 Apr 2020 12:24:56 -0700 (PDT)
Received: by mail-io1-xd31.google.com with SMTP id y14so13395404iol.12 for <oauth@ietf.org>; Sun, 05 Apr 2020 12:24:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parecki-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=f3V3RZ/rLtolN65iZ1HwIqlW725wV0jJcIsnZlr88pw=; b=SIXTgmPsAdsbqLciE/nDGaUTVsC2aeVau4Z8sF0QOQpCcTvpuKI9K07XjTBFmpC7vM PseGpoBlslpZoEYT79Nmkw2AqinQtRE8QP5BGkRQ3DbDZy+Mrv+g2H3YuNugkyoC6Ai/ VCNYtqI3NRXBoVaFZ0WOPO9n1ruUWvFS99TBe//vq8FfwYuNgaEHq9ePURouDdnTq9Jf Xl1bVVVVgJys9PdncShHMFKCXreuof0chMmKdKZEj5P0acK/bJphgzOIJVCjFmkxOrCH qTl/TnYkYYnaMZrdgSZP2AhS3gO9GaIfzzMipeICYhs+rQV89Z1CwQ/VOTyS78MWqDiK /w2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=f3V3RZ/rLtolN65iZ1HwIqlW725wV0jJcIsnZlr88pw=; b=oCfI+tV4rmiD0icUGzP8KB6zGaBFsgijL4H5A3ww+GHHx7PVpOvDwIr5s9X8OFvZPY 5vAJqr4trim6hv/nnc+xjR9ZYAzY2ieUPbGFxNz1P7W2lv/540HmuEadmBl8HzL/LJvU hNXN7WfUfx2LuntwM7FFLWZVOHpb8uajQH5d+b+L1BsqJCn5yaBi9QdjWMGBQbIM8X7o tfohOqQBDPgUGxiOHROuINd9hAX+37bhCXxKJI97v+yCRiEB9nNgEc53P49cxCC6ZTxF ldeesFbTeQsetmIrF6butEekfPAkNzrTSaV/ehic1dYg+WuAiD71F7RNHwQLGT/9zlgc ouew==
X-Gm-Message-State: AGi0PuYIMYcea2RsoYKnvyk0/271YcCX0g8bzzRXhMHS37jdBJFgUYpo +vFbGU145sldByTss+dO/cPAXvCmdEM=
X-Google-Smtp-Source: APiQypKq2bRxdrzIbtLBKdH110lj6ue0lA7Sn//E9l9vcdeT1s8YJXzL5IdHlxMewdU82yzOZSLHHw==
X-Received: by 2002:a5e:a504:: with SMTP id 4mr16546505iog.210.1586114695375; Sun, 05 Apr 2020 12:24:55 -0700 (PDT)
Received: from mail-io1-f52.google.com (mail-io1-f52.google.com. [209.85.166.52]) by smtp.gmail.com with ESMTPSA id z15sm5256543ilf.0.2020.04.05.12.24.54 for <oauth@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Apr 2020 12:24:54 -0700 (PDT)
Received: by mail-io1-f52.google.com with SMTP id y17so11345172iow.9 for <oauth@ietf.org>; Sun, 05 Apr 2020 12:24:54 -0700 (PDT)
X-Received: by 2002:a02:e81:: with SMTP id 123mr17945613jae.0.1586114694115; Sun, 05 Apr 2020 12:24:54 -0700 (PDT)
MIME-Version: 1.0
From: Aaron Parecki <aaron@parecki.com>
Date: Sun, 05 Apr 2020 12:24:43 -0700
X-Gmail-Original-Message-ID: <CAGBSGjpuZkie-oHe4W70K1MP1fancSEMuyiqvTgBc=KcJQX4ow@mail.gmail.com>
Message-ID: <CAGBSGjpuZkie-oHe4W70K1MP1fancSEMuyiqvTgBc=KcJQX4ow@mail.gmail.com>
To: OAuth WG <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ea763305a2901a81"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/v3Z0UHF84e8dsALdTYyF_Nr1UII>
Subject: [OAUTH-WG] Refresh tokens in Security BCP -15
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: Sun, 05 Apr 2020 19:25:05 -0000

I believe the document would flow better if section 4.12 about Refresh
Tokens were moved into section 2. The Refresh Token section contains
descriptions of some pretty significant normative behavior, and I worry
that it will get lost in the long list of attacks and mitigations.

Section 2 starts with a description: "This section describes the set of
security mechanisms the OAuth working group recommends to OAuth
implementers.", and the whole section on refresh tokens seems like a pretty
significant recommendation.

----
Aaron Parecki
aaronparecki.com
@aaronpk <http://twitter.com/aaronpk>