Re: [kitten] The Hashed-Token SASL Mechanism (SASL-HT)

Florian Schmaus <flo@geekplace.eu> Tue, 17 October 2017 16:20 UTC

Return-Path: <fschmaus@gmail.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9AFF213303F for <kitten@ietfa.amsl.com>; Tue, 17 Oct 2017 09:20:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.22
X-Spam-Level:
X-Spam-Status: No, score=-1.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=no autolearn_force=no
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 jUOE029lUf3j for <kitten@ietfa.amsl.com>; Tue, 17 Oct 2017 09:20:50 -0700 (PDT)
Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB2C513303A for <kitten@ietf.org>; Tue, 17 Oct 2017 09:20:49 -0700 (PDT)
Received: by mail-wm0-f54.google.com with SMTP id l68so5031103wmd.5 for <kitten@ietf.org>; Tue, 17 Oct 2017 09:20:49 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=R17b2cZ5CCMh44Go8LwGt9lwdoliyaIlAuC2OfLL/+Q=; b=DoqkF4GOeq44gN7xBJTqoFHwOcsj0fvFmqS9aZaXPuEMnthUAoL0OdOis39gawTId1 fjRVLQBz77oGaZVCFwdrMXg0PA8put0BCjk3eJBDIkUD/grLbAggFLf8Bvvu0ZsT+IRW sYt4d+0/iReizM+WXMTPXwEcN/81s2kQnGI0z9OjWOdC4qGKtfx7/aWLHjQRionwckD2 gdgBZVCHe1VlVVLQiiXGUOEpyA36l4urBPK7wBqPDbQVTd5RQQh0GmR0bdqnV6NU9/rH UV7roZKYWmPycjFDy0bRf0csR3a2X0Z4b+6oWSaKsq6pVNS/Bd9NSz5sL+vCPgx6SZpb syXg==
X-Gm-Message-State: AMCzsaV2D++nvKe3ffZjy4uRgeFJ4tpGLFTgFfs9uB2uJp2aUvffxc4D SVWl55e0IMCDpagLvIFSBZnU4a56
X-Google-Smtp-Source: ABhQp+SSHk1jyMydQpcY0M+X9Wb8O6n8nqb4lrIOYgqksQ0lFmd6DJgPxwi8c9pIoVCywPU62BRukQ==
X-Received: by 10.28.213.79 with SMTP id m76mr3983722wmg.44.1508257247747; Tue, 17 Oct 2017 09:20:47 -0700 (PDT)
Received: from [131.188.34.88] (flowubook.informatik.uni-erlangen.de. [131.188.34.88]) by smtp.googlemail.com with ESMTPSA id r68sm13225663wmd.4.2017.10.17.09.20.46 for <kitten@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Oct 2017 09:20:46 -0700 (PDT)
To: kitten@ietf.org
References: <9913d71b-ae22-cc48-34b8-fb29fdf9a00c@geekplace.eu> <1508249331.3526135.1141665400.36944376@webmail.messagingengine.com>
From: Florian Schmaus <flo@geekplace.eu>
Message-ID: <9d5401e4-2068-d8f3-226c-b427be54587c@geekplace.eu>
Date: Tue, 17 Oct 2017 18:20:39 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <1508249331.3526135.1141665400.36944376@webmail.messagingengine.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="uBMUA1AW4hqkQgebG7mGa4NxOQSDixHeI"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/3ccCs7NGp8DT7Ig3OttWBG7Tkjw>
Subject: Re: [kitten] The Hashed-Token SASL Mechanism (SASL-HT)
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Oct 2017 16:20:51 -0000

On 17.10.2017 16:08, Sam Whited wrote:
> On Fri, Sep 29, 2017, at 04:08, Florian Schmaus wrote:
>> I would like to note the existence of draft-schmaus-kitten-sasl-ht-01:
>>
>> https://tools.ietf.org/html/draft-schmaus-kitten-sasl-ht-01
> 
> After a quick read through of the latest draft, the only thing I found
> which I wasn't sure about was the following:
> 
>> Before sending the authentication identity string the initiator SHOULD
>> prepare the data with the UsernameCaseMapped profile of [RFC7613].
> 
> This limits the SASL mechanisms usefulness to Unicode encodings. I'd
> suggest that normalizing the username is something the application
> protocol should do, it should not be required by the authentication
> framework (as far as SASL is concerned these should just be bytes).

I am not sure about that. SCRAM has the same requirement.

> —Sam
> 
> P.S. Also note that 7613 was recently replaced by RFC 8265, if this
> reference is kept it may be good to update it.

Thanks. Updated in 02-SNAPSHOT. I also note that
https://tools.ietf.org/html/rfc7613 does not show a sign that the RFC
has been obsoleted. Maybe someone should ping Peter. :)

- Florian