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

Daniel Migault <daniel.migault@ericsson.com> Fri, 07 April 2017 19:49 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 50310126C7A for <curdle@ietfa.amsl.com>; Fri, 7 Apr 2017 12:49:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level:
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.197, 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 NwVMhlggC2Zj for <curdle@ietfa.amsl.com>; Fri, 7 Apr 2017 12:49:24 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 AC316126BFD for <curdle@ietf.org>; Fri, 7 Apr 2017 12:49:23 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id s141so11634161lfe.3 for <curdle@ietf.org>; Fri, 07 Apr 2017 12:49:23 -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=zbu3INOvAWdWqXQfDCDjrV/G6bVNqMq9R7GUuPTSxZg=; b=o5Ra+sfMJ5OM/lcPtZnYryjG4c8GS7RRu7lbclYyHq6ycTjNj/yu+RFkYbEaGjQ12C APxkqU7INczaCIwvi7OXMV2CztvFxCKI86yLS+mNq5zivJXE2kVIdI8+nfl6mWAlnSdA Xr7IosZ7nLoeCnrwI27SpqafjFt1sqKkWW2cmHSRUia1ms/8lrjfPgYrmt7NdmXMW1kM QaOaoWRyXeD7hX6qr1DYEgAIdpvDCqd8kbYyJYHbQT+dscQpPsrjee8nQYNpe/UT8ot8 Wh1NMyP9UVdFo+fUh5ahoAe4KFGiLknWAhsdKWVZSv5TVzOEvjfnbgCMYbzW5uco/gO6 7BFw==
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=zbu3INOvAWdWqXQfDCDjrV/G6bVNqMq9R7GUuPTSxZg=; b=tKM9ogFdjZZ+0ni0jmwX3nuoX8eUtKFrN3bicClFVlmseZ7gg9XK/E2WCEyq2+SjK4 UHWVrkfTlpjHnEVYlC3RkkUciRJ8USZsTLSGizp6P+dZapUu30529jIpu73thYRyGMA3 7syXc9SHX65kLL+w6NiVkMECKY4vqhagc6LBJS/3i6O4SWwBMJhIUBkCWmeyYWGAG6AE g2wVCiO6Eqw4METLU4xFJRr7OBLCpq8jrrBPNg2QPJda2snH5OSsDvzG7bH+A+Z+qMCS HR8eeSSMFyQfxF1zXl+r7reeNvoMFP8F3tx0t/IQ/zBstIo0pXY3RVj3wUo0gdE/Tv2p tAHw==
X-Gm-Message-State: AFeK/H3/qRE/te/+EsJHQqNrKv+hZg/V6v1CowoMN6XJT6LzcVwVzykT6vy4RCXOl2iT1pyQj5hoAB9IR7DTdA==
X-Received: by 10.46.33.135 with SMTP id h7mr12129961lji.96.1491594561957; Fri, 07 Apr 2017 12:49:21 -0700 (PDT)
MIME-Version: 1.0
Sender: mglt.ietf@gmail.com
Received: by 10.46.69.85 with HTTP; Fri, 7 Apr 2017 12:49:21 -0700 (PDT)
In-Reply-To: <CADZyTk=r9quAZxvyQgLd7PrvvhzoQ96s5CPqHcFNaGez8igYcw@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>
From: Daniel Migault <daniel.migault@ericsson.com>
Date: Fri, 07 Apr 2017 15:49:21 -0400
X-Google-Sender-Auth: hIXAdlNORh3z-NMG3Mq_-BIEuAI
Message-ID: <CADZyTkm__w9zv4nG2fwLLncL8q7kS_LhqMAjCCRQJdUi8fEKdg@mail.gmail.com>
To: denis bider <denisbider.ietf@gmail.com>
Cc: Ilari Liusvaara <ilariliusvaara@welho.com>, "curdle@ietf.org" <curdle@ietf.org>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
Content-Type: multipart/alternative; boundary="001a1142b63203b676054c98ecc0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/oo2pCDBJROoh1v2YGNW2jdMFwmY>
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: Fri, 07 Apr 2017 19:49:27 -0000

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
>>
>>
>