Re: [Gen-art] review of draft-ietf-httpauth-digest-15.txt

Rifaat Shekh-Yusef <rifaat.ietf@gmail.com> Mon, 06 April 2015 20:01 UTC

Return-Path: <rifaat.ietf@gmail.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C22461A90F0 for <gen-art@ietfa.amsl.com>; Mon, 6 Apr 2015 13:01:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 3o8KEklhKUeI for <gen-art@ietfa.amsl.com>; Mon, 6 Apr 2015 13:01:23 -0700 (PDT)
Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (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 2C3C01A9107 for <gen-art@ietf.org>; Mon, 6 Apr 2015 13:01:23 -0700 (PDT)
Received: by obbfy7 with SMTP id fy7so57397734obb.2 for <gen-art@ietf.org>; Mon, 06 Apr 2015 13:01:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fkGdR5F/JA5IaCbjBOY+iJwhteK1f+SuaFPD98hzl+Y=; b=UetxTOVqxPterFwIPIq7d+hFhDNSjjw/qOoa3LoFuWyetCyD6aZJRA31KpM9F1CAzQ EeeFK14t8x6IvLNhoeZD+85/H6/QiwFOrkxJxxJkUqCypfm0ctuwU121djViwBQlIoZm zo8i/WTJCwt4OVvklC0N+lk7BQwXyn1KgWoUHxBC+Fg5eCZyREP7Z8eA4M5rK3JJM04k oNk3eMu8eccCo9tm38iFwMchPBjc3kttMl6bKtr7hxoRejAbEJG4QppIZjuwHL1Il5vq azWdp28mNff/DkdZiHjuGgT14rleh3Z9qYzwV2C6P/DV/OLMEL3M9reobB+doS6WlI7O tiyw==
MIME-Version: 1.0
X-Received: by 10.182.227.132 with SMTP id sa4mr20823253obc.40.1428350482593; Mon, 06 Apr 2015 13:01:22 -0700 (PDT)
Received: by 10.202.93.69 with HTTP; Mon, 6 Apr 2015 13:01:22 -0700 (PDT)
In-Reply-To: <201504061758.t36HwgRi005964@givry.fdupont.fr>
References: <201504061758.t36HwgRi005964@givry.fdupont.fr>
Date: Mon, 06 Apr 2015 16:01:22 -0400
Message-ID: <CAGL6epJgyeq8d+_gWVRmocsqshF14LAaszxWMY30Rdfah3bNwQ@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
To: Francis Dupont <Francis.Dupont@fdupont.fr>
Content-Type: multipart/alternative; boundary="001a11c2ee9e213a65051313c3f9"
Archived-At: <http://mailarchive.ietf.org/arch/msg/gen-art/LNoMMrIDxcLgYeaBi0aJYzqBNDA>
Cc: "gen-art@ietf.org" <gen-art@ietf.org>, draft-ietf-httpauth-digest.all@tools.ietf.org
Subject: Re: [Gen-art] review of draft-ietf-httpauth-digest-15.txt
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2015 20:01:25 -0000

Hi Francis,

Thanks for your review and comments. I will address the nits in the next
version of the draft.
Please, see my reply to some of your comments inline...

Regards,
 Rifaat


On Mon, Apr 6, 2015 at 1:58 PM, Francis Dupont <Francis.Dupont@fdupont.fr>
wrote:

> I am the assigned Gen-ART reviewer for this draft. For background on
> Gen-ART, please see the FAQ at
>
> <http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
>
> Please resolve these comments along with any other Last Call comments
> you may receive.
>
> Document: draft-ietf-httpauth-digest-15.txt
> Reviewer: Francis Dupont
> Review Date: 20150402
> IETF LC End Date: 20150402
> IESG Telechat date: unknown
>
> Summary: Ready
>
> Major issues: None
>
> Minor issues: None
>
> Nits/editorial comments:
>  I reviewed the 15 version but I can see the 16 one is already available
> so I'll try to update my comments.
>
>  - first I was a bit surprised nobody just asked to jump to HTTPS (or
>   HSTS) but reading the document it seems there are still good use
>   of the digest authentication scheme...
>
>  -  3.3 page 5: IMHO the "opaque" field is clearly a nonce
>   (i.e., more a nonce than the "nonce" field) but I understand this
>   was inherited from RFC 2617...
>
>  - 3.3 page 7 (algorithm, twice) and some other places:
>   e.g. -> e.g.,
>
>  - 3.3 page 7 (algorithm): I noted the algo protocol is still
>   a keyed one vs. HMAC (cf. AH which switched from keyed to HMAC
>   between RFC 1826 and RFC 2402) but I believed you have a good
>   reason to do this (and the secdir will say if it is OK anyway).
>
>
Good question.
Using HMAC would impact the H(A1) calculation and the KD function, but it
would definitely work.
If there is interest and support for adding HMAC, I would be happy to do
that.



>  - 3.4.2 page 11: e.g. -> e.g., (again but this one is at the end of a
> line)
>
>  - 3.4.2 page 11: cnounce -> cnonce
>
>  - 3.4.2 page 11: the presentation of this definition is very
>  misleading:
>
>          A1       = H( unq(username) ":" unq(realm)
>                         ":" passwd )
>                         ":" unq(nonce-prime) ":" unq(cnonce-prime)
>
>   I strongly suggest something like:
>
>          A1       = H( unq(username) ":" unq(realm) ":" passwd )
>                         ":" unq(nonce-prime) ":" unq(cnonce-prime)
>
>
Sure.



>  - 3.4.2 page 11: the server need only use
>                                  ^ needs
>
>  - 3.5 page 14: affects -> effects
>
>  - 5.2 page 21: this information need not be decrypted
>                                      ^ needs
>
>  - 6.1 page 27: can you instantiate the RFC XXX:
>   MD5: RFC 1321
>   SHA-256: FIPS 180-2
>   SHA-512/256: FIPS 180-4?
>
>
The RFC used in the table should point to the current draft which does not
have an RFC # yet.
Kathleen has already raised an issue about this and she suggested a text
that was added to v16.

Regards,
 Rifaat



>  - A page 30: negotitation -> negotiation
>
> Regards
>
> Francis.Dupont@fdupont.fr
>