Re: [sipcore] Alexey Melnikov's No Objection on draft-ietf-sipcore-digest-scheme-12: (with COMMENT)

"Alexey Melnikov" <aamelnikov@fastmail.fm> Thu, 31 October 2019 11:22 UTC

Return-Path: <aamelnikov@fastmail.fm>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32C7D12088B; Thu, 31 Oct 2019 04:22:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.fm header.b=bEKP1y3G; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=lqWUVTfz
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 cT8dluQmOXRv; Thu, 31 Oct 2019 04:22:27 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F01D1120871; Thu, 31 Oct 2019 04:22:26 -0700 (PDT)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3396422579; Thu, 31 Oct 2019 07:22:26 -0400 (EDT)
Received: from imap1 ([10.202.2.51]) by compute7.internal (MEProxy); Thu, 31 Oct 2019 07:22:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=L/F6vlPNr5aNDCrfxRK1UUFjheEnZ5c E8FBB5eiz/ZI=; b=bEKP1y3GuhGgBuT3tygNDZnLZQh+6rqHMQFX5LxPbikaIpN WqRzojFr3oQj4J45Le4EvMQe4wCuQJxcAAK39YN24hWAQ3AWBwjcmCV0hGZ/hOm8 z0W0nEvOFaVdXSGNcmeGXikQiEUZUO/YIdlsNaYSgQHDyzgrL3TBC5iR5APDYSYs RiBKY2GTJr1Pq3kx96v1Aky3XlqyopHjBna6HWDtYOBZTSx2FmENDKPDVhl7DstA SK4OoTUXHBZG/R4GUby53p7q8IV7uO0PO55wwjMPSB0iI307WrA0NMIO2qfD8c7r E7BaD6/DToaCHJb5yxDAdEhInUkv5NExXYvzIWQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=L/F6vl PNr5aNDCrfxRK1UUFjheEnZ5cE8FBB5eiz/ZI=; b=lqWUVTfz16Xle/kvs1MxZO yCSGKOvD+n6Kld3r6OmIV02tYNk5m/toeHf+Z3210h28srv9dAIbE5d0U6vIO+l1 zau6wtUHcMBQbWkS2oZBWGJ05g+9CEoaCYZA0meUEJBEwfJUmkwMukfGSzfuagDQ M/u+KIa7nZXvBI/9IW76UPYeAGTER3joGzNMTKTO9P785tQ9GrMu1Bh5dsHR8zG6 rNlsv8PDTMfwVp4l7OiLd121r6tT9Bs36S9jywtsyN+UFnq+IiVd2Nrrlf2V6mEL vYaY7fY+KmZSyR7T/N7db4nl4hw2tHWoj/AA0xEYwgfh7dRcz0dV5sih32EMfgCw ==
X-ME-Sender: <xms:8cO6XWcK5J5r5niJ4ynJVTSJpatLA582fxLG00Gtth9WZEW-pqcTDg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddthedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdetlhgv gigvhicuofgvlhhnihhkohhvfdcuoegrrghmvghlnhhikhhovhesfhgrshhtmhgrihhlrd hfmheqnecuffhomhgrihhnpehivghtfhdrohhrghdphhhtthhpshhpvggtihhfihgvuggs hihrfhgtjeeiudeirdhsohenucfrrghrrghmpehmrghilhhfrhhomheprggrmhgvlhhnih hkohhvsehfrghsthhmrghilhdrfhhmnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:8cO6XeI_nsd3Gm_782SATuHnwLw2jXkcYbaRPYCd1bq8ebxDAf0-EQ> <xmx:8cO6XZ2AjwNa56KGbaOi7OvHJKC-hKY4rlZm24i7vD6mY_W51z0vew> <xmx:8cO6XYgrJnEVxz7YlrSDxOldYyRTIZ0U-qvvw-HuPkvp6jdjBmbLfw> <xmx:8sO6XYRPCXinCGLopBID0XbSLoTagglFHSM-FySdIMJp2kFfrk09ew>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id CA7BCC200A4; Thu, 31 Oct 2019 07:22:25 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-509-ge3ec61c-fmstable-20191030v1
Mime-Version: 1.0
Message-Id: <a9ebadcc-36ae-4bdb-af69-05486eef2569@www.fastmail.com>
In-Reply-To: <CAGL6epJgyr_VUYgKCgxDcP5ObKWErtDCHxaX7JusUYPXu=a6jQ@mail.gmail.com>
References: <157245577700.32490.10990766778571550817.idtracker@ietfa.amsl.com> <CAGL6epJgyr_VUYgKCgxDcP5ObKWErtDCHxaX7JusUYPXu=a6jQ@mail.gmail.com>
Date: Thu, 31 Oct 2019 11:21:18 +0000
From: Alexey Melnikov <aamelnikov@fastmail.fm>
To: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-sipcore-digest-scheme@ietf.org, "A. Jean Mahoney" <mahoney@nostrum.com>, sipcore-chairs@ietf.org, SIPCORE <sipcore@ietf.org>
Content-Type: multipart/alternative; boundary="547831dfe7cf45cd9c29384815c86f32"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/mTa5P3d6CWuehYpp6zsXpggPLVc>
Subject: Re: [sipcore] Alexey Melnikov's No Objection on draft-ietf-sipcore-digest-scheme-12: (with COMMENT)
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Oct 2019 11:22:29 -0000

Hi Rifaat,

On Wed, Oct 30, 2019, at 9:50 PM, Rifaat Shekh-Yusef wrote:
> Thanks Alexey!
> 
> I am fine with the first two comments, and will fix these in the coming version of the document.
> 
> I am not sure I follow the 3rd one. Why do you see the need for a minimum number of hex digits?
You do say that the number of hex digits match the hash lenght, so it is probably Ok. However empty value is never valid (and I am worried it might hit some boundary condition bug in implementations), so prohibiting it in ABNF would be the best.

Best Regards,
Alexey
> 
> Regards,
>  Rifaat
> 
> 
> 
> On Wed, Oct 30, 2019 at 1:16 PM Alexey Melnikov via Datatracker <noreply@ietf.org> wrote:
>> Alexey Melnikov has entered the following ballot position for
>>  draft-ietf-sipcore-digest-scheme-12: No Objection
>> 
>>  When responding, please keep the subject line intact and reply to all
>>  email addresses included in the To and CC lines. (Feel free to cut this
>>  introductory paragraph, however.)
>> 
>> 
>>  Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
>>  for more information about IESG DISCUSS and COMMENT positions.
>> 
>> 
>>  The document, along with other ballot positions, can be found here:
>> https://datatracker.ietf.org/doc/draft-ietf-sipcore-digest-scheme/
>> 
>> 
>> 
>>  ----------------------------------------------------------------------
>>  COMMENT:
>>  ----------------------------------------------------------------------
>> 
>>  I am agreeing with Alissa's DISCUSS.
>> 
>>  Also, I have a few comments of my own:
>> 
>>  1) Last para of Section 2.1:
>> 
>>  2.1. Hash Algorithms
>> 
>>  A UAS prioritizes which algorithm to use based on the ordering of the
>>  challenge header fields in the response it is preparing.
>> 
>>  This looks either wrong or confusing to me. I think you are just saying here
>>  that the order is decided by the server at this point.
>> 
>>  That
>>  process is specified in section 2.3 and parallels the process used in
>>  HTTP specified by [RFC7616].
>> 
>>  So based on the above, my suggested replacement for both sentences:
>> 
>>  A UAS prioritizes which algorithm to use based on its policy,
>>  which is specified in section 2.3 and parallels the process used in
>>  HTTP specified by [RFC7616].
>> 
>>  2) Last para of Section 2.4:
>> 
>>  If the UAC cannot respond to any of the challenges in the response,
>>  then it SHOULD abandon attempts to send the request unless a local
>>  policy dictates otherwise.
>> 
>>  Is trying other non Digest algorithms covered by "SHOULD abandon"?
>>  If yes, maybe you should make this clearer.
>> 
>>  For example, if the UAC does not have
>>  credentials or has stale credentials for any of the realms, the UAC
>>  will abandon the request.
>> 
>>  3) In Section 2.7:
>> 
>>  request-digest = LDQUOT *LHEX RDQUOT
>> 
>>  This now allows empty value. I suggest you specify a minimum number of hex
>>  digits allowed in the ABNF. Or at least change "*LHEX" to "2*LHEX".
>> 
>>