Re: Comments on draft-vanrein-httpauth-sasl-08

Rick van Rein <rick@openfortress.nl> Sat, 04 February 2023 21:06 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 377F8C15C528 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 4 Feb 2023 13:06:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.651
X-Spam-Level:
X-Spam-Status: No, score=-7.651 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KoAu4gSoW9ba for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 4 Feb 2023 13:06:23 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B8E1C1575D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 4 Feb 2023 13:06:22 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1pOPjd-003E8P-Ao for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Feb 2023 21:06:09 +0000
Resent-Date: Sat, 04 Feb 2023 21:06:09 +0000
Resent-Message-Id: <E1pOPjd-003E8P-Ao@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <vanrein@vanrein.org>) id 1pOPja-003E76-Uy for ietf-http-wg@listhub.w3.org; Sat, 04 Feb 2023 21:06:07 +0000
Received: from 2a02-58-157-9b00--7.ip6.tweak.nl ([2a02:58:157:9b00::7] helo=fame.vanrein.org) by titan.w3.org with esmtps (TLS1.0) tls TLS_RSA_WITH_AES_256_CBC_SHA (Exim 4.94.2) (envelope-from <vanrein@vanrein.org>) id 1pOPjY-00ACVd-9t for ietf-http-wg@w3.org; Sat, 04 Feb 2023 21:06:07 +0000
Received: by fame.vanrein.org (Postfix, from userid 1000) id 8CEAC2C134; Sat, 4 Feb 2023 21:05:53 +0000 (UTC)
Date: Sat, 04 Feb 2023 21:05:53 +0000
From: Rick van Rein <rick@openfortress.nl>
To: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
Cc: ietf-http-wg@w3.org
Message-ID: <20230204210553.GB22816@openfortress.nl>
References: <eefe6ea4-4fbc-4791-927c-d7ac70575e90@app.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <eefe6ea4-4fbc-4791-927c-d7ac70575e90@app.fastmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Received-SPF: pass client-ip=2a02:58:157:9b00::7; envelope-from=vanrein@vanrein.org; helo=fame.vanrein.org
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1pOPjY-00ACVd-9t 47b071bb97d58e1ca828d4b40f32627e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Comments on draft-vanrein-httpauth-sasl-08
Archived-At: <https://www.w3.org/mid/20230204210553.GB22816@openfortress.nl>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/50674
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>

Hello Hugo,

Thanks for studying the spec.

> Section 2.1 and 2.2 refer to the "c2c", "c2s", "s2s" and "s2c" fields. These
> are not "fields", they are *additional parameters* of the WWW-Authenticate
> header field (this is the nomenclature found in rfc7235 section-4.1). Calling
> them fields can be a bit confusing, especially during the first read and before
> reaching the examples in Section 4.

Yes, you are correct.  I shall change that in the draft.

> I'm not entirely sure if the intended use of the User header is fully clear,
> nor how User Agents are expected to determine a value for it. Perhaps it is
> best to further elaborate on this?

Thanks, 1st-time reader input is really useful.  It works just like the Host:
header, in fact, and selects server-side resources.  The text is a bit generic
perhaps, will look to rephrase it.

This is a protocol spec, and should avoid pinning down anything to a user
agent that is not needed for interoperability, so this is not easy.

> Those minor comments aside, I do find this specification quite useful and would
> like to voice my support of the proposal. In particular, HTTP with SASL would
> be of much use for CalDAV (rfc4791) and CardDAV (rfc6352). Currently it is
> possible to use email (IMAP and SMTP) with SASL (and therefore, SASL+OAUTH),
> but there is no standard mechanism to use SASL for address books and calendars.
> It seems quite clear to me that this specification has a very useful impact in
> the WebDav space in general.

Thank you very much; that is a perfect example of the general idea behind the
spec, to amalgamate authentication across protocols.  I had not thought of
Calendaring/Cards, but indeed: they work over generic carrier protocols.

Cheers,
 -Rick