Re: [Curdle] comments on draft-ietf-curdle-rsa-sha2-03.txt

denis bider <denisbider.ietf@gmail.com> Sun, 09 April 2017 07:05 UTC

Return-Path: <denisbider.ietf@gmail.com>
X-Original-To: curdle@ietfa.amsl.com
Delivered-To: curdle@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18A2D127ABE for <curdle@ietfa.amsl.com>; Sun, 9 Apr 2017 00:05:22 -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=gmail.com
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 G_zdXMW_5xnI for <curdle@ietfa.amsl.com>; Sun, 9 Apr 2017 00:05:20 -0700 (PDT)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (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 BE501127071 for <curdle@ietf.org>; Sun, 9 Apr 2017 00:05:19 -0700 (PDT)
Received: by mail-qk0-x234.google.com with SMTP id p68so63862587qke.1 for <curdle@ietf.org>; Sun, 09 Apr 2017 00:05:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AKpiYNTUE7Jqx/IWye3pM6ORaFBw0myRRccYEjnilzo=; b=I+YQW9IgvpJ/7NSCRL/sXSt3rzRCemy2qOeknyJavFNd80o84yuhxQno8kgTQW+XRY tkCnnM+l8yvwR3mXg8p0Tu6tbmBVAK3njTdiAEtPMP7AZ+BGXxiSusH7nKJ1GBnTsUM9 M/K0/PHkhTuOFxyPekg9QPrUb2yQzIVZoxUbRXC25ovLmLLjW/7vMNDjEYLPbTtHtvrq wJQHjiYY+S4wSqtPSFPxGoIRU5LwgT8rsSag6uf63utwnjgz5uPXbrLyrXOS2TQEMeGi R/H+dZ+w5L1rpyLp4AVyHkqDuj61ASiCzad5VIeATQC/UqkIoLChLAxJr8zjVgRzhdr6 GQ2g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AKpiYNTUE7Jqx/IWye3pM6ORaFBw0myRRccYEjnilzo=; b=Dq7bZJC0xnZ7ODV+l1T5tys85ZUyDuqnRuDqpv1M1ejAclx2Z07dacVQSwaQXZqBP6 vvZ5wGsBDNuQRknhXe7XTa9g7aocSPMIoSn+VyKfWwqWWMpudeVO98fbGIfmfXoCt13u Xzb5F2FHCUvxV3B56qE7U/G3/LRyyGBw6xQK/t7xuafcv7HXjF7rdApGBrDtf+tNnfp0 uNzDGDwyNGCVPBq+AzLMCnhoEMdSpOolrB1ESYkvxee8Yhvln5Kcp/mqEl2N4/EDpRBm lGDd2nnrlGakn1YN91yH5UjtkgvIwoqedAS10I9WEPF77VYH3EWKFSXwvpLPMRA1jw7I /WcA==
X-Gm-Message-State: AFeK/H2YtpxHeOKWcRxn/iAho98ZDQVBc4gCvawsrfaCLjhCW+moc0HHU7mfFtvIVQnATu1UOR1wbPjuySY39w==
X-Received: by 10.55.144.6 with SMTP id s6mr43337471qkd.27.1491721518962; Sun, 09 Apr 2017 00:05:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.138.239 with HTTP; Sun, 9 Apr 2017 00:05:18 -0700 (PDT)
In-Reply-To: <CADZyTkm__w9zv4nG2fwLLncL8q7kS_LhqMAjCCRQJdUi8fEKdg@mail.gmail.com>
References: <CADPMZDByTiWov0vp2Tk1n9dnnkfwepO+UsAnh3rdsrbem2H=VQ@mail.gmail.com> <1490575901696.39454@cs.auckland.ac.nz> <CADPMZDDNZTznKBJ2-vf4MJFjP0Bx34ALF8JCVBhwv12Pdm=XcA@mail.gmail.com> <CADZyTk=L2mKheNkHQ+jtecspLnR2rGc1BajkTKQ0G3cynxkwow@mail.gmail.com> <20170327072447.GA2827@LK-Perkele-V2.elisa-laajakaista.fi> <CADPMZDAmuUKy_AJ9aYd4YYAmO5ZU-8z0P7EZwq2aG+jJM-kRaQ@mail.gmail.com> <CADZyTk=r9quAZxvyQgLd7PrvvhzoQ96s5CPqHcFNaGez8igYcw@mail.gmail.com> <CADZyTkm__w9zv4nG2fwLLncL8q7kS_LhqMAjCCRQJdUi8fEKdg@mail.gmail.com>
From: denis bider <denisbider.ietf@gmail.com>
Date: Sun, 09 Apr 2017 01:05:18 -0600
Message-ID: <CADPMZDD_+2CLXPOFkQFDaq-Me5EEm4W7py9OLGgONVBHHSPE2w@mail.gmail.com>
To: Daniel Migault <daniel.migault@ericsson.com>
Cc: "curdle@ietf.org" <curdle@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c0859683dde15054cb67b81"
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/ZpRUpQD_Qb1ez4_ZZpJXg3uaIXw>
Subject: Re: [Curdle] comments on draft-ietf-curdle-rsa-sha2-03.txt
X-BeenThere: curdle@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "List for discussion of potential new security area wg." <curdle.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/curdle>, <mailto:curdle-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/curdle/>
List-Post: <mailto:curdle@ietf.org>
List-Help: <mailto:curdle-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/curdle>, <mailto:curdle-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Apr 2017 07:05:22 -0000

I have:

- Applied these nits to the rsa-sha2 document, and submitted a new version.

- Applied a few nits that appeared to be relevant also to the ext-info
document, and submitted a new version.

With regard to this:

> -- Possible downref: Non-RFC (?) normative reference: ref. 'FIPS-180-4'

I have not made changes because a normative reference is appropriate here
for SHA-2, and there does not appear to be an RFC that could serve as an
alternative reference. Other past RFCs that address the use of SHA-2 also
use the FIPS standard as a normative reference.

denis


On Fri, Apr 7, 2017 at 1:49 PM, Daniel Migault <daniel.migault@ericsson.com>
wrote:

> In addition, I have also been requested by the IESG to add as an
> informative reference the link of the IANA page. In our case the link is
> the following one:
> https://www.iana.org/assignments/ssh-parameters/ssh-parameters.xhtml#ssh-
> parameters-19
>
> Yours,
> Daniel
>
> On Fri, Apr 7, 2017 at 2:43 PM, Daniel Migault <
> daniel.migault@ericsson.com> wrote:
>
>> Hi,
>>
>> In the chicago meeting [1], the consensus seems that even though pss
>> would be defined, there is no plane to implement nor to use it. I am
>> confirming this consensus on the mailing list. If you desagree with that,
>> please raise your opinion. If not we will move the draft forward.
>>
>> The nits tool on the current version provides teh following output:
>>
>> [1] https://www.ietf.org/proceedings/98/minutes/minutes-98-curdle-00.txt
>>
>>
>>   Checking nits according to http://www.ietf.org/id-info/checklist :
>>   ----------------------------------------------------------------------------
>>
>>   -- The draft header indicates that this document updates RFC4252, but the
>>      abstract doesn't seem to mention this, which it should.
>>
>>   -- The draft header indicates that this document updates RFC4253, but the
>>      abstract doesn't seem to mention this, which it should.
>>
>>   -- The document seems to lack a disclaimer for pre-RFC5378 work, but may
>>      have content which was first submitted before 10 November 2008.  If you
>>      have contacted all the original authors and they are all willing to grant
>>      the BCP78 rights to the IETF Trust, then this is fine, and you can ignore
>>      this comment.  If not, you may need to add the pre-RFC5378 disclaimer.
>>      (See the Legal Provisions document at
>>      http://trustee.ietf.org/license-info for more information.)
>>
>>
>>   Checking references for intended status: Proposed Standard
>>   ----------------------------------------------------------------------------
>>
>>      (See RFCs 3967 and 4897 for information about using normative references
>>      to lower-maturity documents in RFCs)
>>
>>   == Missing Reference: 'RFC3629' is mentioned on line 100, but not defined
>>
>>   == Unused Reference: 'RFC4250' is defined on line 298, but no explicit
>>      reference was found in the text
>>
>>   -- Possible downref: Non-RFC (?) normative reference: ref. 'FIPS-180-4'
>>
>>   ** Obsolete normative reference: RFC 3447
>>
>> yours,
>>
>> Daniel
>>
>>
>> On Mon, Mar 27, 2017 at 4:51 PM, denis bider <denisbider.ietf@gmail.com>
>> wrote:
>>
>>> That is a welcome assurance. If PSS is added, it sounds like something
>>> to mention in Security Considerations as a further argument against small
>>> keys.
>>>
>>> On Mon, Mar 27, 2017 at 1:24 AM, Ilari Liusvaara <
>>> ilariliusvaara@welho.com> wrote:
>>>
>>>> On Sun, Mar 26, 2017 at 10:50:02PM -0500, Daniel Migault wrote:
>>>> > Whether pss variant have to be added is up to the WG to decide. That I
>>>> > would be in favor is only one opinion ;-) [1] lists some advantages
>>>> of PSS
>>>> > vs PKCS1v1.5. Note that enabling a given key may be used by two
>>>> variants
>>>> > needs also some thoughts. I will raise the question during the
>>>> meeting, but
>>>> > discussion will be made on the mailing list.
>>>>
>>>> This thing came up in context of TLS 1.3.
>>>>
>>>> The probability PKCS#1v1.5 and PSS signature overlaps depends on key
>>>> size and salt size. Where overlap is defined as encoded message that
>>>> is valid in both PKCS#1v1.5 and PSS. These depend on hashing algorithm
>>>> and number of bits in n, but not precise value of n.
>>>>
>>>> TLS restricts salt length to be the same as hash length. Which makes
>>>> overlaps highly unlikely with key sizes >=2048 bits and hash sizes
>>>> <=512 bits. The problem being to control ~1000 bits using 512 bits.
>>>>
>>>> As key size decreases or salt size increases, the overlap probability
>>>> increases, and eventually overlaps become almost certain, and further
>>>> one gets multiple overlaps.
>>>>
>>>> >
>>>> > [1]
>>>> > https://www.emc.com/emc-plus/rsa-labs/historical/raising-sta
>>>> ndard-rsa-signatures-rsa-pss.htm
>>>>
>>>>
>>>> -Ilari
>>>>
>>>
>>>
>>> _______________________________________________
>>> Curdle mailing list
>>> Curdle@ietf.org
>>> https://www.ietf.org/mailman/listinfo/curdle
>>>
>>>
>>
>