Re: A New Triple-DES Key Wrap Algorithm
David Wagner <daw@cs.berkeley.edu> Mon, 15 February 1999 22:45 UTC
Received: (from majordomo@localhost) by mail.proper.com (8.8.8/8.8.5) id OAA20411 for ietf-smime-bks; Mon, 15 Feb 1999 14:45:45 -0800 (PST)
Received: from abraham.cs.berkeley.edu (abraham.CS.Berkeley.EDU [128.32.37.121]) by mail.proper.com (8.8.8/8.8.5) with ESMTP id OAA20407 for <ietf-smime@imc.org>; Mon, 15 Feb 1999 14:45:44 -0800 (PST)
Received: from joseph.cs.berkeley.edu (joseph.CS.Berkeley.EDU [128.32.37.122]) by abraham.cs.berkeley.edu (8.8.6/8.8.6) with ESMTP id OAA31449; Mon, 15 Feb 1999 14:44:04 -0800
Received: (from daw@localhost) by joseph.cs.berkeley.edu (8.8.5/local) id OAA03421; Mon, 15 Feb 1999 14:42:08 -0800
From: David Wagner <daw@cs.berkeley.edu>
Message-Id: <199902152242.OAA03421@joseph.cs.berkeley.edu>
Subject: Re: A New Triple-DES Key Wrap Algorithm
To: housley@spyrus.com
Date: Mon, 15 Feb 1999 14:42:01 -0800
Cc: burt@RSA.COM, BJUENEMAN@novell.com, cme@ACM.ORG, berson@anagram.com, bschanni@BayNetworks.com, kent@bbn.com, pcain@bbn.com, mhetzel@bell-labs.com, brickell@certco.com, djohnson@certicom.ca, schneier@counterpane.com, denning@cs.cosc.georgetown.edu, smid@csmes.ncsl.nist.gov, omura@cylink.com, carlisle.adams@entrust.com, paulv@entrust.com, Blake.Greenlee@greenlee.com, ietf-smime@imc.org, cjwagne@missi.ncsc.mil, jis@mit.edu, merkle@parc.xerox.com, BSnow@radium.ncsc.mil, ekr@rtfm.com, jlinn@securitydynamics.com, ams@terisa.com, rivest@theory.lcs.mit.edu, balenson@tis.com, denny@tis.com, acc@tycho.ncsc.mil, jhs@tycho.ncsc.mil, dickie@EMPIRE.eclipse.ncsc.mil, desmedt@uwm.edu, smatyas@us.ibm.com, daw@cs.berkeley.edu
In-Reply-To: <4.1.19990214204613.0098d710@mail.spyrus.com> from "Russ Housley" at Feb 15, 99 09:03:17 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-smime@imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>
> David: > > I had the same reaction to the 4 billion wrapped keys; however, there are > two reasons why we should address this issue. First, when mail list keys > are used, the same KEK is used to encrypt CEKs for every message sent to > the mail list. Depending on the activity on the mail list ad the > cryptoperiod of the KEK, the 4 billion wrapped keys might actually happen, > especially if severs ever communicated with each other using this facility. Ok. I certainly support a conservative approach! But I must say, my feeling is that if you ever encrypt 2^32 session keys under the same KEK, "birthday"-style weaknesses will be in the noise: you'll be in far-deeper trouble, because that KEK will start to look like an awfully fat target. In this scenario, I don't think the adversary is going to bother attacking the crypto (especially when this only divulges partial information about two session keys). Instead, he'll go after your KEK by other means (bribe your cleaning service to Trojan your computer, suck signal off the power lines, send a TEMPEST van in your direction, break in to your computer, social engineer his way into your secure facility, take a job at your company as a janitor, etc.) The right defense is to refresh your KEK's more frequently. (For instance, IPSEC expires keys based not just on time but also on # of blocks encrypted.) I'd argue that this is just prudent cryptographic hygiene. And once you do this, the cryptanalytic attacks go away. Taking this up a level, my initial reaction is that ietf-smime is optimizing for the wrong quantity. Maximizing the number of session keys you can encrypt under the same KEK is a second-order concern. It seems much more important to try really hard to reduce the risk that someone finds a subtle bug in your protocol. (And, if what I've heard is correct, subtle protocol properties are exactly the reason ietf-smime is devoting so much effort to key wrapping techniques.) If you accept this, then the complicated constructions proposed earlier may be exactly the wrong way to go; simplicity is arguably the most crucial quantity to optimize for. (And some provable security results can't hurt, either.) (Of course, simplicity is only a heuristic. For instance, Boyko's recent results on all-or-nothing transforms look very promising, and deserve more investigation. Even though the construction is not quite as simple as e.g. encrypt-and-MAC, provable security results are a great way to reduce the risk of subtle protocol failures. [One warning is that the proofs depend on the "random oracle" model and thus do not necessarily transfer to real-world scenarios -- but they are still very useful as validation that the basic approach is likely to be sound.]) > Second, given more time a cryptanalyst might find a better attack. I do > not like to start a standard's life with known flaws. Yes. This is a very good point, and normally this would be a very telling criticism. There's a saying: "attacks always get better". However, I feel that this case is different. Remember, Kaliski's attack (did I get the author right?) meets the proven lower bounds on security very closely. I would argue that in fact the existence of the attack should reassure us that the proofs of security were on the right track, rather than raising concerns that better attacks might be "out there". > I hope that others on this list will respond to your proposal. Me too... As a newbie to ietf-smime, I would definitely welcome feedback (and/or criticism: even "you have no clue, go away!")...
- A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Don Johnson
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Don Johnson
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Bruce Schneier
- RE: A New Triple-DES Key Wrap Algorithm Burt Kaliski
- Re: A New Triple-DES Key Wrap Algorithm Dr Stephen Henson
- RE: A New Triple-DES Key Wrap Algorithm Carl Ellison
- RE: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Peter Gutmann
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Peter Gutmann
- RE: Re: A New Triple-DES Key Wrap Algorithm bartley.o'malley
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm David Wagner
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Don Johnson
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Carl Ellison
- Re: A New Triple-DES Key Wrap Algorithm Snow, Brian D.
- Re: A New Triple-DES Key Wrap Algorithm Peter Gutmann
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- RE: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm David Wagner
- Re: A New Triple-DES Key Wrap Algorithm Stephen Kent
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Don Johnson
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- RE: A New Triple-DES Key Wrap Algorithm Burt Kaliski
- RE: A New Triple-DES Key Wrap Algorithm Burt Kaliski
- Re: A New Triple-DES Key Wrap Algorithm Peter Gutmann
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Don Johnson
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- RE: A New Triple-DES Key Wrap Algorithm Jim Schaad (Exchange)
- Re: A New Triple-DES Key Wrap Algorithm Dr Stephen Henson
- Re: A New Triple-DES Key Wrap Algorithm EKR
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Russ Housley
- New Triple-DES Key Wrap Algorithm Section Russ Housley
- RE: A New Triple-DES Key Wrap Algorithm Paul Van Oorschot
- Re: A New Triple-DES Key Wrap Algorithm Don Johnson
- Re: A New Triple-DES Key Wrap Algorithm Don Johnson
- RE: A New Triple-DES Key Wrap Algorithm Kevin Kingdon
- RE: A New Triple-DES Key Wrap Algorithm Don Johnson
- Re: A New Triple-DES Key Wrap Algorithm Bob Jueneman
- Re: A New Triple-DES Key Wrap Algorithm Peter Gutmann
- RE: A New Triple-DES Key Wrap Algorithm Burt Kaliski
- RE: A New Triple-DES Key Wrap Algorithm Tolga Acar