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

denis bider <denisbider.ietf@gmail.com> Mon, 27 March 2017 20:51 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 567B0129659 for <curdle@ietfa.amsl.com>; Mon, 27 Mar 2017 13:51:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, 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 UylBySEiCqmq for <curdle@ietfa.amsl.com>; Mon, 27 Mar 2017 13:51:28 -0700 (PDT)
Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (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 DCFEA120727 for <curdle@ietf.org>; Mon, 27 Mar 2017 13:51:27 -0700 (PDT)
Received: by mail-qt0-x22d.google.com with SMTP id x35so48678298qtc.2 for <curdle@ietf.org>; Mon, 27 Mar 2017 13:51:27 -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=xWYisLbVx1jlprZqciwPTKsYuaFRf36NZ9XfyFcpmG8=; b=Dr0XbMmh0DeJASniXySmR+Uhsp6RhFi5q5ynpjiIbCfnpRhWoZ9yUybUhdkis8r+PO UT/jvag5yUIyn1F1sYgdN3fTUoPZtciKAettYzMjY2Q75YWXuFVW32qs593i1Mal5DUA soup3cyZMsi0h0UXjsxRYLcn3TUGAd9N7Ei4qspWUV3BXL2bzuTBtLynb8TWTMRIy1CB T1KGYOMQXDbfagKrkZalmR7syRIOOnss0qtQqeI50z5Dxu0Csh4JM6I2Uf8yDA5M9zWN 3hqfC3Ha73REhhRXKZPszF7EEQuCN1yChHSNqxmJVOiVUB652LfZUBxuXYdf5ngVGM4y Zdyg==
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=xWYisLbVx1jlprZqciwPTKsYuaFRf36NZ9XfyFcpmG8=; b=s9LHUrbNt5kW2nurB6lGLmpjDwZohHkPq1Jq1XXfWr//4+uTYhRChxIH1UkYBHXu/g 3nTiAC4PmvH+7SZZpXS0WQ/x0WGmKG6Le1N4M/iH1t4Bpvf7+Aw1VU+6cLrKdoe73u8q u+UvgCGxJO4XxCbcTPQ7JILLc0TTHp+lgTlqKcT3NkRPb6DlhWP+6q+8zb5aJbak+qLY amGt3Ea4DckP7xXmp0BR/EnRgHVo5LKJI1hACQ4scVIYsWUPB6YdbtR/ufzseAC3F1Ef 6EbBCZH9e/T8XoeklQVHDU3P0uxjGbFI8DVbeJzqSSnO/sL2myRGDk4PDIr8NoInXGqQ gpkw==
X-Gm-Message-State: AFeK/H2lk15GICADiwtJ13YMwxA3HXmHdQFAxJETxtJrnL6ssxawo3awxLDcTWEDfs/Hkx+j3XVpFSyZdvdv1g==
X-Received: by 10.200.41.33 with SMTP id y30mr22349771qty.47.1490647887071; Mon, 27 Mar 2017 13:51:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.129.216 with HTTP; Mon, 27 Mar 2017 13:51:26 -0700 (PDT)
In-Reply-To: <20170327072447.GA2827@LK-Perkele-V2.elisa-laajakaista.fi>
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>
From: denis bider <denisbider.ietf@gmail.com>
Date: Mon, 27 Mar 2017 14:51:26 -0600
Message-ID: <CADPMZDAmuUKy_AJ9aYd4YYAmO5ZU-8z0P7EZwq2aG+jJM-kRaQ@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: Daniel Migault <daniel.migault@ericsson.com>, "curdle@ietf.org" <curdle@ietf.org>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
Content-Type: multipart/alternative; boundary="001a11406a1ecb54d0054bbc81b4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/5h0kdM3BWJ_4EW0KZ6YB1uC43cA>
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: Mon, 27 Mar 2017 20:51:30 -0000

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-
> standard-rsa-signatures-rsa-pss.htm
>
>
> -Ilari
>