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

Lily Chen <chlily@google.com> Fri, 07 May 2021 21:29 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 654F53A33DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 7 May 2021 14:29:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.27
X-Spam-Level:
X-Spam-Status: No, score=-10.27 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_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 atVkCqCe2_p0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 7 May 2021 14:29:38 -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 CC0393A33D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 7 May 2021 14:29:38 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1lf809-0007cN-FT for ietf-http-wg-dist@listhub.w3.org; Fri, 07 May 2021 21:27:13 +0000
Resent-Date: Fri, 07 May 2021 21:27:13 +0000
Resent-Message-Id: <E1lf809-0007cN-FT@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 1lf805-0007bk-TW for ietf-http-wg@listhub.w3.org; Fri, 07 May 2021 21:27:10 +0000
Received: from mail-pg1-f171.google.com ([209.85.215.171]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <chlily@google.com>) id 1lf804-0007tc-2C for ietf-http-wg@w3.org; Fri, 07 May 2021 21:27:09 +0000
Received: by mail-pg1-f171.google.com with SMTP id m190so8331791pga.2 for <ietf-http-wg@w3.org>; Fri, 07 May 2021 14:27:07 -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=YBKJiUavkypLE9jIyv4Kz47Qs5izw1Hm9K2tNBX6XxE=; b=YOgkufOyb+179/QoYkD4R6eMy5pwF2qkhapsJh2as8xHK+g2Hu6QBusKvohKreBQz5 iIy5I7FRchYDtCPPuSoP3X0+oYNOd/DX2m4PTOD2KTvV0xWtkljgzAoqwe+VPVRF024m QQyLcCzVFMjorbwGMK/CcVW4/e9qIuJVxIG1HkXXlA0dU69s+ey4vOkfCkRAjLHgkbYw W0jk2R23yvFzCmpQBcd3lNM42p3rzgOZoRX2iW2L5umoqtv4YtZPfC5jD91befp0CzEQ cmv7fTmhW78+0oNr4MyX/fBxekvrC8W/8ZiZlCIU2Neax7AwSaSu5NsxRZ1D9cwigdeC Yi7Q==
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=YBKJiUavkypLE9jIyv4Kz47Qs5izw1Hm9K2tNBX6XxE=; b=EIzzhnMhNIRnN8ja4F5+FNVz0qHakMCDSalpjPUpHmSOQ56RwU8cxxszSDhcdMu5RS JeCCT3mRuR/JOqYPY8yQXLrgfH5DwGDPAI4kZ7AiM4R2zGdqqw660xVTm7mQfg1M7ToG dUTrA0wTFG2U4R++OjSwl0eo2IGb8h9tvwNQvVe0CKRQ4OVNc33kuVNHqEGQ5mqWG70Q BYmomeaZUg2guqUzbAxcK0FURRXBGOWIomUidDLUPDT/z6eQEXGUcqh13zBaIENPClDk wYSyoHyi/zPt/0D9vHmcehPzxyrbDIKMhgl4HY6AoFs6aYOV8idRjzN237zMqmt2K9Lh 4Jew==
X-Gm-Message-State: AOAM531mdTkX9kqhP99agbV39G7AJdUDKWsxD15TTMC2OhfVWxsWbApZ I5FKQ9AnB2N/EAd9H8v+69NuLVk5VKhFj6ociQA1Dw==
X-Google-Smtp-Source: ABdhPJzN37eauw5/WK1uH/K+6FifRrSWCTHIqbCOFJMl7PBj0ZZOiqHpxbls1mCg+K4q3dm/zB8S4ilDMxg+J8QUXV4=
X-Received: by 2002:a63:2055:: with SMTP id r21mr12053312pgm.115.1620422509319; Fri, 07 May 2021 14:21:49 -0700 (PDT)
MIME-Version: 1.0
References: <CA+k3eCQ0rxXJXuBV48H0i_wVMXw_sNxExj1nZhCPMBw+MbMs+Q@mail.gmail.com>
In-Reply-To: <CA+k3eCQ0rxXJXuBV48H0i_wVMXw_sNxExj1nZhCPMBw+MbMs+Q@mail.gmail.com>
From: Lily Chen <chlily@google.com>
Date: Fri, 07 May 2021 17:21:37 -0400
Message-ID: <CAE24Oxzg-2OoA5ogx2s-OV2G3Zb4xyhKaZx3v7y8H-_fCrWnmQ@mail.gmail.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000000e4a6705c1c404a8"
Received-SPF: pass client-ip=209.85.215.171; envelope-from=chlily@google.com; helo=mail-pg1-f171.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_H2=-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 1lf804-0007tc-2C 97317d5b1ee78bfe3968ea6737054315
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/CAE24Oxzg-2OoA5ogx2s-OV2G3Zb4xyhKaZx3v7y8H-_fCrWnmQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38783
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>

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.*