Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.txt
Russ Housley <housley@vigilsec.com> Sat, 07 November 2015 01:12 UTC
Return-Path: <housley@vigilsec.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EAFB31ACDFD; Fri, 6 Nov 2015 17:12:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.899
X-Spam-Level:
X-Spam-Status: No, score=-101.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100] autolearn=ham
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 nC4Usf4ypvcS; Fri, 6 Nov 2015 17:12:35 -0800 (PST)
Received: from odin.smetech.net (x-bolt-wan.smeinc.net [209.135.219.146]) by ietfa.amsl.com (Postfix) with ESMTP id A47141ACECD; Fri, 6 Nov 2015 17:12:35 -0800 (PST)
Received: from localhost (unknown [209.135.209.5]) by odin.smetech.net (Postfix) with ESMTP id D1E72F2417B; Fri, 6 Nov 2015 20:12:24 -0500 (EST)
X-Virus-Scanned: amavisd-new at smetech.net
Received: from odin.smetech.net ([209.135.209.4]) by localhost (ronin.smeinc.net [209.135.209.5]) (amavisd-new, port 10024) with ESMTP id OQj+SdQN6nX5; Fri, 6 Nov 2015 20:10:59 -0500 (EST)
Received: from [5.5.33.86] (vpn.snozzages.com [204.42.252.17]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by odin.smetech.net (Postfix) with ESMTP id 8E690F2416C; Fri, 6 Nov 2015 20:11:55 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: multipart/alternative; boundary="Apple-Mail-28-400055924"
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <CACsn0cmkwmMESDpG6tgMmszHuvxXZrE7QOSXkUrxgZsH31JknQ@mail.gmail.com>
Date: Fri, 06 Nov 2015 20:11:30 -0500
Message-Id: <A5E65DB3-FA36-4F14-BE33-57E683F1D060@vigilsec.com>
References: <20151019193635.30765.20164.idtracker@ietfa.amsl.com> <CAM_a8JxB3FcfqSr8z2FUVxsY9Fw0kcAaJ8CHN+W4VY+5D_oyEQ@mail.gmail.com> <CACsn0cn=pZa4Yhhn4qojQN96=Jv6J1GU6JD4MKP5iHAFXn=RpA@mail.gmail.com> <362f4b9abe57495c902f9ccb968b3b7c@XCH-ALN-004.cisco.com> <CACsn0c=M4vx2nAS36Hyz9ouWa_aX136EgKo--TszJsqGW0D2iQ@mail.gmail.com> <563C93DB.4010204@huelsing.net> <CACsn0cmkwmMESDpG6tgMmszHuvxXZrE7QOSXkUrxgZsH31JknQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
X-Mailer: Apple Mail (2.1085)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/63Bm7cEwUQEuyz3G2pu2JyS6CZY>
Cc: cfrg@ietf.org, IETF Internet-Drafts <internet-drafts@ietf.org>
Subject: Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Nov 2015 01:12:38 -0000
Watson: > > It is true that there exists a bunch of scenarios where you should stay > > away from stateful schemes as Zooko and Watson mentioned. Usage on > > virtual machines is probably the most important one. That was also the > > main motivation to develop SPHINCS. However, SPHINCS has two drawbacks: > > It's signatures are rather large with 41kB and signing becomes really > > slow on resource constrained devices [1]. Although verification time is > > not too bad, it is significantly slower than XMSS. That's why it might > > be reasonable to use a stateful scheme in such scenarios. Especially on > > smart cards and similar resource constrained devices I would clearly > > suggest to go for one of the stateful schemes instead of SPHINCS. For > > those it is possible to make sure that a signature is only returned > > after the new key state was written to NVM, it is also known how to > > protect against fault attacks that try to change the stored index: you > > can use a forward secure version of XMSS, in that case no information > > about previous one-time keys is left on a card. Consequently, such a > > fault attack would simply be a DOS attack (given that this requires > > direct access to the hardware this could also be achieved easier by an > > attacker). There are other, similar scenarios where it is also easily > > possible to prevent copies of the secret key. (Note: Only signing (SK) > > is stateful, verification (PK) is stateless, I was not sure if this was > > clear from some comments) > > Let's consider this further. There is no backup: if you sit on that card, or put it in the microwave because it's wet and needs to be dried out, the key dies. So if this card is the only copy of the key needed to update every router in the world, I doubt anyone is comfortable with that. > > Stateful schemes seem to have a very small range of application. > I naive approach to backup could lead to a serious security problem, but there are approach to backup that ensure that tree nodes are not reused. For example, one could assign a subtree to each of the hardware modules that have the private key. If one of them fails, then the signature space is lost, but there is not a security failure. Russ
- [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.txt internet-drafts
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… Zooko Wilcox-OHearn
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… Watson Ladd
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… Panos Kampanakis (pkampana)
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… Andy Lutomirski
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… David McGrew (mcgrew)
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… Watson Ladd
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… David McGrew (mcgrew)
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… A.Huelsing
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… Watson Ladd
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… Russ Housley
- Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-03.… A.Huelsing