Re: [stir] Choice of STIR signature algorithm
"Peterson, Jon" <jon.peterson@neustar.biz> Tue, 05 April 2016 18:08 UTC
Return-Path: <jon.peterson@neustar.biz>
X-Original-To: stir@ietfa.amsl.com
Delivered-To: stir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB5C412D7BE for <stir@ietfa.amsl.com>; Tue, 5 Apr 2016 11:08:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.601
X-Spam-Level:
X-Spam-Status: No, score=-102.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=ham autolearn_force=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 cK28r7dsD93x for <stir@ietfa.amsl.com>; Tue, 5 Apr 2016 11:08:04 -0700 (PDT)
Received: from mx0b-0018ba01.pphosted.com (mx0b-0018ba01.pphosted.com [67.231.157.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC9A912D13D for <stir@ietf.org>; Tue, 5 Apr 2016 11:08:03 -0700 (PDT)
Received: from pps.filterd (m0078668.ppops.net [127.0.0.1]) by mx0b-0018ba01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u35I2W6a012205; Tue, 5 Apr 2016 14:07:56 -0400
Received: from stntexhc12.cis.neustar.com ([156.154.17.216]) by mx0b-0018ba01.pphosted.com with ESMTP id 222xkduy1c-1 (version=TLSv1 cipher=AES128-SHA bits=128 verify=NOT); Tue, 05 Apr 2016 14:07:56 -0400
Received: from STNTEXMB10.cis.neustar.com ([169.254.5.49]) by stntexhc12.cis.neustar.com ([::1]) with mapi id 14.03.0279.002; Tue, 5 Apr 2016 14:07:55 -0400
From: "Peterson, Jon" <jon.peterson@neustar.biz>
To: John Mattsson <john.mattsson@ericsson.com>
Thread-Topic: [stir] Choice of STIR signature algorithm
Thread-Index: AQHRj2YTntt3b3ZzjUyODuhm37BkpA==
Date: Tue, 05 Apr 2016 18:07:54 +0000
Message-ID: <1A843300-AEB7-4EC6-8256-C88F6847B82E@neustar.biz>
References: <D32953D1.4770F%john.mattsson@ericsson.com>
In-Reply-To: <D32953D1.4770F%john.mattsson@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-04-05_11:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1604050260
Archived-At: <http://mailarchive.ietf.org/arch/msg/stir/v1rwpLW6hlm6rlznhD3zpirelXM>
Cc: "stir@ietf.org" <stir@ietf.org>
Subject: Re: [stir] Choice of STIR signature algorithm
X-BeenThere: stir@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Secure Telephone Identity Revisited <stir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stir>, <mailto:stir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/stir/>
List-Post: <mailto:stir@ietf.org>
List-Help: <mailto:stir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stir>, <mailto:stir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2016 18:08:17 -0000
To date we have not moved this to EC because (at least as far as I understand things) many elements of web PKI, including many CAs, don't support these algorithms yet. If our assessment of that is changing, then let's revisit it. Jon Peterson Neustar, Inc. Sent from my iPad > On Apr 5, 2016, at 11:37 AM, John Mattsson <john.mattsson@ericsson.com> wrote: > > I think there are several strong reasons to change the default signature > algorithm in draft-ietf-stir-rfc4474bis and draft-ietf-stir-passport. The > current default algorithm is RS256 (RSASSA-PKCS1-v1_5 using SHA-256), but > I cannot find any number for MTI/Recommended/Minimum/Default key length. > > 1. RSA signing is extremely slow compared to modern alternatives. On a > Core i5-6600, ES256 (ECDSA using P-256 and SHA-256) is 21 times faster > than RSA-2048, and Ed25519 is 67 times faster > (https://bench.cr.yp.to/results-sign.html) As RSA-2048 is normally > classified as roughly 112-bit security (RFC3766, NIST, ENISA), a more fair > comparison is with RSA-3072, and then ES256 is 52 times faster and Ed25519 > is 169 times faster. > > 2. RSA signatures are much larger than their ECC counterparts. RSA-2048 > signatures are 256 bytes and RSA-3072 signatures are 384 bytes, while > ES256 and Ed25519 signatures are only 64 bytes. > > 3. PKCS1-v1_5 is not a very good algorithm. It has no security proofs, no > advantages, is disrecommended by ENISA (European Union Agency for Network > and Information Security), and has been replaced in TLS 1.3. I do not > think this is the algorithm we should use in STIR. > > I think the right algorithm choice for STIR is ES256 or Ed25519. > Signature processing is likely the main burden for the Authentication > Service, and changing from RSA to ECC significantly reduces the amount of > hardware needed, and therefore the cost. A single 3.3 Ghz Skylake core can > do only 400 RSA-3072 or 1,000 RSA-2048 signatures per second, but 21,000 > ES256 or 68,000 Ed25519 signatures per second. RSA verification is a bit > faster than ECC, but the different is much smaller that for signing, > RSA-3072 verifications are e.g. twice as fast as Ed25519 verifications. > > Cheers, > John > > > ------------------------------------------------------------------ > JOHN MATTSSON > MSc Engineering Physics, MSc Business Administration and Economics > Ericsson IETF Security Coordinator > Senior Researcher, Security > > _______________________________________________ > stir mailing list > stir@ietf.org > https://www.ietf.org/mailman/listinfo/stir
- Re: [stir] Choice of STIR signature algorithm Sean Turner
- [stir] Choice of STIR signature algorithm John Mattsson
- Re: [stir] Choice of STIR signature algorithm Chris Wendt
- Re: [stir] Choice of STIR signature algorithm DOLLY, MARTIN C
- Re: [stir] Choice of STIR signature algorithm John Mattsson
- Re: [stir] Choice of STIR signature algorithm Peterson, Jon
- Re: [stir] Choice of STIR signature algorithm John Mattsson
- Re: [stir] Choice of STIR signature algorithm Richard Shockey
- Re: [stir] Choice of STIR signature algorithm Russ Housley
- Re: [stir] Choice of STIR signature algorithm Richard Shockey
- Re: [stir] Choice of STIR signature algorithm Robert Sparks
- Re: [stir] Choice of STIR signature algorithm Richard Shockey
- Re: [stir] Choice of STIR signature algorithm Eric Burger
- Re: [stir] Choice of STIR signature algorithm Eric Burger
- Re: [stir] Choice of STIR signature algorithm Chris Wendt
- Re: [stir] Choice of STIR signature algorithm Richard Shockey
- Re: [stir] Choice of STIR signature algorithm John Mattsson
- Re: [stir] Choice of STIR signature algorithm Russ Housley
- Re: [stir] Choice of STIR signature algorithm Chris Wendt
- Re: [stir] Choice of STIR signature algorithm Richard Shockey
- Re: [stir] Choice of STIR signature algorithm Gorman, Pierce A [CTO]
- Re: [stir] Choice of STIR signature algorithm Richard Shockey
- Re: [stir] Choice of STIR signature algorithm Chris Wendt
- Re: [stir] Choice of STIR signature algorithm Eric Burger
- Re: [stir] Choice of STIR signature algorithm Russ Housley
- Re: [stir] Choice of STIR signature algorithm Eric Burger
- Re: [stir] Choice of STIR signature algorithm Chris Wendt
- Re: [stir] Choice of STIR signature algorithm Peterson, Jon
- Re: [stir] Choice of STIR signature algorithm Eric Rescorla
- Re: [stir] Choice of STIR signature algorithm Russ Housley
- Re: [stir] Choice of STIR signature algorithm Eric Rescorla
- Re: [stir] Choice of STIR signature algorithm DOLLY, MARTIN C
- Re: [stir] Choice of STIR signature algorithm Eric Rescorla
- Re: [stir] Choice of STIR signature algorithm Chris Wendt
- Re: [stir] Choice of STIR signature algorithm Chris Wendt
- Re: [stir] Choice of STIR signature algorithm Eric Burger
- Re: [stir] Choice of STIR signature algorithm Russ Housley