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

Daniel Migault <daniel.migault@ericsson.com> Sun, 09 April 2017 17:56 UTC

Return-Path: <mglt.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 D8D42126D05 for <curdle@ietfa.amsl.com>; Sun, 9 Apr 2017 10:56:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.398
X-Spam-Level:
X-Spam-Status: No, score=-2.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 GBZu_akOOBoM for <curdle@ietfa.amsl.com>; Sun, 9 Apr 2017 10:56:31 -0700 (PDT)
Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 971891243F6 for <curdle@ietf.org>; Sun, 9 Apr 2017 10:56:30 -0700 (PDT)
Received: by mail-lf0-x232.google.com with SMTP id 75so1211298lfs.2 for <curdle@ietf.org>; Sun, 09 Apr 2017 10:56:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=X4Trpx1JLFlPAdQmVYBYZwaZo+wdGXjSAXFt2MW8gzc=; b=CIYHveCTlCbELkeqisgO3Ttm0dy7lnrqDiocRpfJRvinUufYAuInqRs6RkO/DZpErf F/Y6Aky7h7Vj5DSmkC8zhkHUZ2IGTDUA8cwA11Jh8Kl56yr6cBibG/klMiaCh/nKhwL3 rAztSgV0BJH7gj1aNNGP+lzFEzd3XUqIsbm+V/Rdm+12wKi3yjws2m2ylxKyqKDFlF/l LY1Vs9Slt8EsBBOCX7s5PfnKNh37O5N1sxraoGsdznHNY5a34ixdNSR8rJnNfiWCg/X5 xKt1VZ/n082wjLYiWnQZcjXL+QjhrxbTBPxHooj/W42BzitrU5D8LmJbVDtNXDXL/Fw+ JWkA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=X4Trpx1JLFlPAdQmVYBYZwaZo+wdGXjSAXFt2MW8gzc=; b=Cf0xxmgVmby5De+hzQWkjk7/TUQeJpehGKb45m+2l8AY/DChKg/LRbQ6qn20aY0fgj leaMbxzPzlviUR7ED9xM88nsVpsnPb8S6Mz3VIi9BugY7GYmhArSSLQCzwtvaa9YpZ/v ZR6bjl9iPbWiCvniBYV2+/15Cqo2CixINDTtiPsl8NTxLtbvDNvlNaWi7svcdUyeeRMW LHjlSJbf24ZllA4iME4iEtF6RHD4LfgSY6i4aD8ZB2Kvp1Y+XoKs350+jrwaxXDbhryd B4od9IgxZAylENUzApH6Z49ryCM+sv9pGTcZSLz3WyPGzvkh3GSnlZkhIQdqMQ//GCeM s32w==
X-Gm-Message-State: AN3rC/6ahFSEnnnbD3n7Cx4duqMJNm4t97B0PCU3fSDl6Wyacwk6uoac94MWbkNigmtLMa/EMHmyUDXkIHeVwQ==
X-Received: by 10.25.219.91 with SMTP id s88mr660782lfg.174.1491760588816; Sun, 09 Apr 2017 10:56:28 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.69.85 with HTTP; Sun, 9 Apr 2017 10:56:28 -0700 (PDT)
In-Reply-To: <CADPMZDD_+2CLXPOFkQFDaq-Me5EEm4W7py9OLGgONVBHHSPE2w@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> <CADPMZDD_+2CLXPOFkQFDaq-Me5EEm4W7py9OLGgONVBHHSPE2w@mail.gmail.com>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Sun, 09 Apr 2017 13:56:28 -0400
X-Google-Sender-Auth: PYwtnrnHIYQliCJ1uFhwrnhR9BU
Message-ID: <CADZyTk=rFDXGZsA8WnXdGF73oeSi6Nu0uQa5-GY-77RrBpWCRw@mail.gmail.com>
To: denis bider <denisbider.ietf@gmail.com>
Cc: "curdle@ietf.org" <curdle@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c05edfafc886d054cbf93be"
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/F2TOm7P7FCzkOpFbsyu67OK9EyU>
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 17:56:34 -0000

Hi,

Thanks. It looks to me we are ready to go with this version.

Yours,
Daniel

On Sun, Apr 9, 2017 at 3:05 AM, denis bider <denisbider.ietf@gmail.com>
wrote:

> 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
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Curdle mailing list
> Curdle@ietf.org
> https://www.ietf.org/mailman/listinfo/curdle
>
>