Re: inconsistency in draft-ietf-httpbis-rfc6265bis-07 SameSite default treatment?

Lily Chen <chlily@google.com> Fri, 21 May 2021 21:33 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B3E43A2163 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 21 May 2021 14:33:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level:
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 QQNaEfAdlYLP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 21 May 2021 14:33:21 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (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 DF55F3A2160 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 21 May 2021 14:33:20 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1lkCjU-0002Pn-65 for ietf-http-wg-dist@listhub.w3.org; Fri, 21 May 2021 21:31:00 +0000
Resent-Date: Fri, 21 May 2021 21:31:00 +0000
Resent-Message-Id: <E1lkCjU-0002Pn-65@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <chlily@google.com>) id 1lkCjS-0002PA-3D for ietf-http-wg@listhub.w3.org; Fri, 21 May 2021 21:30:58 +0000
Received: from mail-pl1-f174.google.com ([209.85.214.174]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <chlily@google.com>) id 1lkCjQ-0004uv-1Z for ietf-http-wg@w3.org; Fri, 21 May 2021 21:30:57 +0000
Received: by mail-pl1-f174.google.com with SMTP id t21so11672331plo.2 for <ietf-http-wg@w3.org>; Fri, 21 May 2021 14:30:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3u87gGQ3jznyBhKkyIRt8RoppxfTIYMFZiq6uLSqulo=; b=Er8WWdhxDJZ3b9ejkcFupQE2d8D4tqBQ33OIWKeKmQAGq0Z2L+8Q8eIF94govO8CEY AzlaXMeYzNui65DE0F05YpwacVmIguCxCFvCiG3e68TXkb3jNcr1nbRPonX0OMoBY+WF bPeIssNLM8m9zvJI43FagRYc/8isqHqr80YBknCchbU2KT4YL4fgZZ91ZdJPCJFODEV+ uDOzgJtTf1ka9vUfB5mgIWAhqbCMSDJF2Ix3kzQgZz9htfQCSfzcKahT5G8NtjdonId3 OqVld5WkDqmylLSSoOsK0guSzSCw8wHpkhdip1NfEctuOPghBJvEKKeSxK3sTbbO+Bty gy8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3u87gGQ3jznyBhKkyIRt8RoppxfTIYMFZiq6uLSqulo=; b=knYxaJ0YPqN9jxSLYhKz8Se1WU+tvOlutEGZLmc0UJSleItz42vBYVVmk1kAGMeLDs 4oL6UDuQK3c12io9jdH0OXvS6h2+dbsuhSJHJ0Q/uFxegyLXeR8wfAisVjaZnLuarZnF B1PKbg9OUWIEzo2/7R6HPWVLF3efa5m9Rn2+rdkXaaijEFYQM2YXY5VPkt4X1TS2ScT7 wiILhvpxsUmZShs0QTM/jzMwGIpPJTy/YT8DoCcpYZhrU+8bCKp28ymIDPvl6c7CQiJF 7CU/gNCc5RUEa1A2h/d+f9kYYSpoOF4oOhot7haBcnRHKTAhoNBSpyibEC6hzUKt9hH3 vDWw==
X-Gm-Message-State: AOAM531u8+uPWuntx6AgjfHky12flwl6BeUu3l0IztqoapyvNL+oBVqS i4/jZHSUNpLnXFcHGnBt8MpS2mt4DexQx7oqsZMO3A==
X-Google-Smtp-Source: ABdhPJyvvNUM6KB0PnYHXVtyFgG0C3VNZkT5DR4j/47KOkx+Ah+T9EDZJzOt4Tdo9Z7bcRrPeS7y4E47u/IGrhEm3aA=
X-Received: by 2002:a17:902:7b8e:b029:ec:982d:7a7e with SMTP id w14-20020a1709027b8eb02900ec982d7a7emr14122663pll.55.1621632584697; Fri, 21 May 2021 14:29:44 -0700 (PDT)
MIME-Version: 1.0
References: <CA+k3eCQ0rxXJXuBV48H0i_wVMXw_sNxExj1nZhCPMBw+MbMs+Q@mail.gmail.com> <CAE24Oxzg-2OoA5ogx2s-OV2G3Zb4xyhKaZx3v7y8H-_fCrWnmQ@mail.gmail.com>
In-Reply-To: <CAE24Oxzg-2OoA5ogx2s-OV2G3Zb4xyhKaZx3v7y8H-_fCrWnmQ@mail.gmail.com>
From: Lily Chen <chlily@google.com>
Date: Fri, 21 May 2021 17:29:34 -0400
Message-ID: <CAE24Oxwgqwkf1vFL7+PYDUnuoYrTYPgd5pgbPoJKuop4_KShVw@mail.gmail.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000002b29c305c2ddc256"
Received-SPF: pass client-ip=209.85.214.174; envelope-from=chlily@google.com; helo=mail-pl1-f174.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=chlily@google.com domain=google.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-19.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1lkCjQ-0004uv-1Z fe9a00ab5f1491b6abc90f9a0de6bf20
X-Original-To: ietf-http-wg@w3.org
Subject: Re: inconsistency in draft-ietf-httpbis-rfc6265bis-07 SameSite default treatment?
Archived-At: <https://www.w3.org/mid/CAE24Oxwgqwkf1vFL7+PYDUnuoYrTYPgd5pgbPoJKuop4_KShVw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38806
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Following up on this, it looks like it was already removed
<https://github.com/httpwg/http-extensions/commit/c467bb923e727f7b03e5a7b6430c5fc91445aa1d#diff-c96f4fab694f25d91c3ae6f4cd68ae735dbcb33dcbb2f4b79a13675b293caa7b>
(thanks Filippo!) and will be reflected in the -08 version of the draft.

On Fri, May 7, 2021 at 5:21 PM Lily Chen <chlily@google.com> wrote:

> Thanks for pointing that out! You're correct, the note should have been
> removed or updated. I'll fix that!
>
> On Fri, May 7, 2021 at 3:26 PM Brian Campbell <bcampbell@pingidentity.com>
> wrote:
>
>> Looking at parts of draft-ietf-httpbis-rfc6265bis-07 today I noticed what
>> is maybe a little inconsistency around the treatment of the default for
>> SameSite.
>>
>>
>> https://www.ietf.org/archive/id/draft-ietf-httpbis-rfc6265bis-07.html#section-4.1.2.7
>> has:
>> 'If the "SameSite" attribute's value is something other than these three
>> known keywords, the attribute's value will be subject to a default
>> enforcement mode that is equivalent to "Lax".'
>> and parts of
>> https://www.ietf.org/archive/id/draft-ietf-httpbis-rfc6265bis-07.html#section-5.5
>> and
>> https://www.ietf.org/archive/id/draft-ietf-httpbis-rfc6265bis-07.html#name-draft-ietf-httpbis-rfc6265bis-07
>> also suggest Lax as the default. As does (relatively recent) current
>> behaviour from most/all browsers.
>>
>> but
>> https://www.ietf.org/archive/id/draft-ietf-httpbis-rfc6265bis-07.html#section-5.3.7
>> ends with this sentence that looks like it's maybe left over from when the
>> default enforcement mode was "None":
>> 'Note: This algorithm maps the "None" value, as well as any unknown
>> value, to the "None" behavior, which is helpful for backwards compatibility
>> when introducing new variants.'
>>
>>
>>
>>
>> *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.*
>
>