Re: Internet Draft: HTTP += SASL

Rick van Rein <rick@openfortress.nl> Tue, 21 January 2020 10:18 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 64314120096 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Jan 2020 02:18:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.752
X-Spam-Level:
X-Spam-Status: No, score=-2.752 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=openfortress.nl
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 nUJYt0UQ9Qjl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Jan 2020 02:18:44 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (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 27BA012004C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Jan 2020 02:18:44 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1itqZk-0000Nu-BD for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Jan 2020 10:16:00 +0000
Resent-Date: Tue, 21 Jan 2020 10:16:00 +0000
Resent-Message-Id: <E1itqZk-0000Nu-BD@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <rick@openfortress.nl>) id 1itqZj-0000N9-0s for ietf-http-wg@listhub.w3.org; Tue, 21 Jan 2020 10:15:59 +0000
Received: from lb3-smtp-cloud9.xs4all.net ([194.109.24.30]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <rick@openfortress.nl>) id 1itqZd-000492-0r for ietf-http-wg@w3.org; Tue, 21 Jan 2020 10:15:58 +0000
Received: from popmini.vanrein.org ([83.161.146.46]) by smtp-cloud9.xs4all.net with ESMTP id tqZWilEVdT6sRtqZXiq6JJ; Tue, 21 Jan 2020 11:15:47 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openfortress.nl; i=rick@openfortress.nl; q=dns/txt; s=fame; t=1579601737; h=message-id : date : from : mime-version : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding : date : from : subject; bh=ebhVOHD4TpajWsed45HBDFeLbdBzgiqMdRhJzkrP8u8=; b=s72DJzLu8jW5y0kcqvFLmGVdgEgkesHykuCdb0PAfkw+Vh8U9um+5ato Fo4523WAiAygyBhjOm+niuQP32WoQw2fkL6UG7xbIHDw1uNkXi/eUcq4PO LTZDVXRB8gs0beeYeimezLkDhPvsdlBTsHsbW8RPIDl5XpEu4hmGD7vnQ=
Received: by fame.vanrein.org (Postfix, from userid 1006) id 13D682408F; Tue, 21 Jan 2020 10:15:26 +0000 (UTC)
Received: from airhead.local (phantom.vanrein.org [83.161.146.46]) by fame.vanrein.org (Postfix) with ESMTPA id 8966B2408C; Tue, 21 Jan 2020 10:15:22 +0000 (UTC)
Message-ID: <5E26CF39.7060403@openfortress.nl>
Date: Tue, 21 Jan 2020 11:15:21 +0100
From: Rick van Rein <rick@openfortress.nl>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Daniel Stenberg <daniel@haxx.se>
CC: "HTTPbis WG (IETF)" <ietf-http-wg@w3.org>, "Henri Manson (ARPA2)" <henri.manson@arpa2.org>
References: <5E25CAF4.50301@openfortress.nl> <5E26B4EF.4000009@openfortress.nl> <alpine.DEB.2.20.2001210944260.8039@tvnag.unkk.fr>
In-Reply-To: <alpine.DEB.2.20.2001210944260.8039@tvnag.unkk.fr>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.520000, version=1.2.4
X-CMAE-Envelope: MS4wfJSxDIqnP1NkM3vxTtt5Llhy631bvLe6Fhu56cXs7b/AVLdfODvmrVdoq/iTzULGrM22pa7Ggdydb29IzAQkNWxB4Je7lZm9lNSuAbs7vQCq2fquYeEc vJDlbK5rgXSfhKuvQL5+uDwCz2qpRIO8FZ4jwrkXjNrkaGuD0h4QFj6i38TimWqol5lA/GI3bFV+yw==
Received-SPF: pass client-ip=194.109.24.30; envelope-from=rick@openfortress.nl; helo=lb3-smtp-cloud9.xs4all.net
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1itqZd-000492-0r b26b89eee5ad4ac74b9aea71cf7a4be5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Internet Draft: HTTP += SASL
Archived-At: <https://www.w3.org/mid/5E26CF39.7060403@openfortress.nl>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37263
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 Daniel,

Thanks for reading/commenting.

> 1. RFC2616 is dead, refer to RFC 723X specs instead

*Oops* -- will fix that.

> 2. I would really like to see protocol examples in the spec that
> better explains the flows. I couldn't understand it without reading
> the blog post -
> that features such examples.

Fair enough, will do that.

> 3. The mandatory 403 when not authenticated seems unorthodox. Regular
> HTTP auth returns 401 (or 407 for proxy) when not authenticated.

Indeed.  I was confused by the required inclusion of a challenge, but
didn't know the client recognised a repeat.  Will fix.

> 4. Section 3 wrongly states that Basic and Digest auth uses usernames
> in URIs. They didn't and don't. They speak of user names but they
> don't (have to) come from the URI.

Agreed, what I said is indeed browser behaviour.


Good criticism, thanks!  I will fix this in the next one up.


-Rick