Re: [TLS] Using RSA PSS in TLS

Hanno Böck <hanno@hboeck.de> Thu, 15 January 2015 00:31 UTC

Return-Path: <hanno@hboeck.de>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1EB81B2A72 for <tls@ietfa.amsl.com>; Wed, 14 Jan 2015 16:31:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level:
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MANGLED_BACK=2.3, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no
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 izZzb-GyUtOq for <tls@ietfa.amsl.com>; Wed, 14 Jan 2015 16:31:54 -0800 (PST)
Received: from zucker2.schokokeks.org (zucker2.schokokeks.org [178.63.68.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE5AC1B2AB8 for <tls@ietf.org>; Wed, 14 Jan 2015 16:31:51 -0800 (PST)
Received: from pc (ip5b400166.dynamic.kabel-deutschland.de [::ffff:91.64.1.102]) (AUTH: LOGIN hanno-default@schokokeks.org, TLS: TLSv1/SSLv3, 128bits, ECDHE-RSA-AES128-GCM-SHA256) by zucker.schokokeks.org with ESMTPSA; Thu, 15 Jan 2015 01:31:49 +0100 id 0000000000000058.0000000054B70A75.00007B2C
Date: Thu, 15 Jan 2015 01:31:49 +0100
From: Hanno Böck <hanno@hboeck.de>
To: tls@ietf.org
Message-ID: <20150115013149.0185bea4@pc>
In-Reply-To: <CAK9dnSzJ3SzO0aBAU5RvywjU-HQ1o12De8+PYUuyy1sUdR7+CA@mail.gmail.com>
References: <525BADBD.8020007@secunet.com> <54B67A19.9010507@redhat.com> <CAK9dnSzJ3SzO0aBAU5RvywjU-HQ1o12De8+PYUuyy1sUdR7+CA@mail.gmail.com>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=_zucker.schokokeks.org-31532-1421281909-0001-2"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/xbcWOaIXe4G4AgbJxLzodQQKzTE>
Subject: Re: [TLS] Using RSA PSS in TLS
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jan 2015 00:31:55 -0000

On Wed, 14 Jan 2015 15:32:42 +0100
CodesInChaos <codesinchaos@gmail.com> wrote:

> I consider the risk of PKCS#1v1.5 encryption far bigger than the risk
> of PKCS#1v1.5 signatures.
> I'm not aware of any attack against  PKCS#1v1.5 signatures, they
> merely lack a security proof.

Bleichenbacher's signature forgery attack [1], which has recently been
re-discovered in combination with some ASN.1 issues under the name
BERserk [2].

Sure, these are "mere implementation issues". You can do PKCS #1 1.5
signatures right - just like you can do PKCS #1 1.5 encryption right.
It's just that people did it wrong multiple times. I don't see simliar
risks with PSS, it's the much more robust solution.


[1] https://www.ietf.org/mail-archive/web/openpgp/current/msg00999.html
[2] http://www.intelsecurity.com/advanced-threat-research/
-- 
Hanno Böck
http://hboeck.de/

mail/jabber: hanno@hboeck.de
GPG: BBB51E42