Re: [http-auth] Last Call: <draft-ietf-httpauth-basicauth-update-05.txt> (The 'Basic' HTTP Authentication Scheme) to Proposed Standard

Alexey Melnikov <alexey.melnikov@isode.com> Fri, 06 February 2015 15:45 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: http-auth@ietfa.amsl.com
Delivered-To: http-auth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 81B551A1BB3; Fri, 6 Feb 2015 07:45:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level:
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 5qSlg91SUoQy; Fri, 6 Feb 2015 07:45:27 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 701E21A1B8A; Fri, 6 Feb 2015 07:45:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1423237526; d=isode.com; s=selector; i=@isode.com; bh=Npm9CDrWuoH4FDYOIBfvdrZm6q4j/nOGsRY8cUaPK0Y=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=WLGkRoQAnubquspW4g7bXWvHXuHPKjfQ/7eCHTRbDn59tx7zAGuMOreIUf7D4670B629cM UThhfKZqadNiZs2XnKavTG/RSMIc68EK6HZIRMi6QzPwd5BJcizaD/GQi+o91eELpL4nmF xoF181DkF+qQoENrsZZT0nvIMMPc020=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <VNThlgAKaCsq@waldorf.isode.com>; Fri, 6 Feb 2015 15:45:26 +0000
Message-ID: <54D4E171.4090907@isode.com>
Date: Fri, 06 Feb 2015 15:44:49 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
To: Bjoern Hoehrmann <derhoermi@gmx.net>
References: <20150205161049.4222.88369.idtracker@ietfa.amsl.com> <kdr7da51k6t581cdppljqvdnf6401cjb4o@hive.bjoern.hoehrmann.de> <54D4DC68.3030507@isode.com> <tnn9da1iqcndtmcbnp1hqg9ms7b1hcbcr5@hive.bjoern.hoehrmann.de>
In-Reply-To: <tnn9da1iqcndtmcbnp1hqg9ms7b1hcbcr5@hive.bjoern.hoehrmann.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/http-auth/ofURNyOmpbmbH8YF8kzVzZy6NzQ>
Cc: http-auth@ietf.org, ietf@ietf.org
Subject: Re: [http-auth] Last Call: <draft-ietf-httpauth-basicauth-update-05.txt> (The 'Basic' HTTP Authentication Scheme) to Proposed Standard
X-BeenThere: http-auth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: HTTP authentication methods <http-auth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/http-auth>, <mailto:http-auth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/http-auth/>
List-Post: <mailto:http-auth@ietf.org>
List-Help: <mailto:http-auth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/http-auth>, <mailto:http-auth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Feb 2015 15:45:30 -0000

On 06/02/2015 15:35, Bjoern Hoehrmann wrote:
> * Alexey Melnikov wrote:
>> On 05/02/2015 22:49, Bjoern Hoehrmann wrote:
>>   [snip]
>>>      The realm value is an opaque string
>>>      which can only be compared for equality with other realms on that
>>>      server.
>>>
>>> RFC 7235 says "The realm value is a string, generally assigned by the
>>> origin server, that can have additional semantics specific to the
>>> authentication scheme." This seems contradictory (perhaps the intent is
>>> to say that for the particular case of Basic, the realm value is opaque
>>> in contrast to other schemes where it might not be opaque, but that is
>>> not clear from the text) and misleading (users make decisions based on
>>> the string, which often contains human readable text, so it's not really
>>> opaque to them).
>> I think it is opaque to clients and servers, so they shouldn't try to
>> parse it.
> A better phrase would be something like "free-form text".
Maybe something like "free-form text that MUST NOT be interpreted by 
clients"?
I would also like to keep "which can only be compared for equality with 
other realms on that server", as this is the important part.