Re: [Cfrg] how can CFRG improve cryptography in the Internet?
David McGrew <mcgrew@cisco.com> Mon, 10 February 2014 19:18 UTC
Return-Path: <mcgrew@cisco.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 801D51A0405 for <cfrg@ietfa.amsl.com>; Mon, 10 Feb 2014 11:18:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.349
X-Spam-Level:
X-Spam-Status: No, score=-12.349 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 9_BZ_LlWjgJo for <cfrg@ietfa.amsl.com>; Mon, 10 Feb 2014 11:18:25 -0800 (PST)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by ietfa.amsl.com (Postfix) with ESMTP id 0F8001A03C9 for <cfrg@irtf.org>; Mon, 10 Feb 2014 11:18:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10778; q=dns/txt; s=iport; t=1392059905; x=1393269505; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=BTNxKR/uVOB/bOP9DO9SUpLRD/dixas5oTjLiws6dE0=; b=dROHpdvUTsK77RBwGhOSvOiOLEiggXBIrZdjAaf5ahbqq8n2oAoEFXjS +Acnr7rhYr6zeYB1QPWCGvl1kgrT0p/uKk52gzlH6ifHD4DbMdEgx+EQS skrjjpGS3jShpjLrmHx3zFx27yuWdt+EPCpB2rYTGWIb/d3FCgZgPtd1M s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhcFAM8k+VKtJXG9/2dsb2JhbABWA4MMOMA4gRUWdIIlAQEBAwEBAQE1MwMFBQEMBAsRBAEBAQkWCAcJAwIBAgEPBh8JCAYNAQUCAgULBgGHVgMJCA3BOQ2HZReMVw+BNQoBBgFAEAcGC4QnBIlJinmBfYFsgTKFFYYWA4VAg0segSwBCBcE
X-IronPort-AV: E=Sophos;i="4.95,819,1384300800"; d="scan'208";a="303174232"
Received: from rcdn-core2-2.cisco.com ([173.37.113.189]) by rcdn-iport-4.cisco.com with ESMTP; 10 Feb 2014 19:18:22 +0000
Received: from [10.0.2.15] (rtp-mcgrew-8913.cisco.com [10.117.10.228]) by rcdn-core2-2.cisco.com (8.14.5/8.14.5) with ESMTP id s1AJILBn019292; Mon, 10 Feb 2014 19:18:21 GMT
Message-ID: <52F925FD.4030204@cisco.com>
Date: Mon, 10 Feb 2014 14:18:21 -0500
From: David McGrew <mcgrew@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9
MIME-Version: 1.0
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
References: <CACsn0ckOL8xdp5z7DdB9wyHhFpax0DhVXjsUMuGj39HgKk4YBA@mail.gmail.com> <52f50c59.aa1b8c0a.77c0.4985SMTPIN_ADDED_MISSING@mx.google.com> <CACsn0cnYkDwyAdwdf0+-JtksWu4NhKPr3L2emG2b3kFDe5v6hg@mail.gmail.com> <52F52E2D.8090104@cisco.com> <52F55236.1070800@gmx.net>
In-Reply-To: <52F55236.1070800@gmx.net>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "nmav@gnutls.org" <nmav@gnutls.org>
Subject: Re: [Cfrg] how can CFRG improve cryptography in the Internet?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Feb 2014 19:18:28 -0000
HI Hannes, On 02/07/2014 04:37 PM, Hannes Tschofenig wrote: > Hi David, > > good discussion points. > > Here are my views: > > a) If we look at the problems at the entire Internet software lifecycle, > as I did in > http://tools.ietf.org/html/draft-tschofenig-perpass-surveillance-01, > then I believe it is fair to say that the problems at the level of > cryptographic primitives are the least challenging issues with Internet > security. That's good news. thanks for chiming in, I think you are right regarding primitives; let me note that weak protocols and insecure deployment practices are perfectly in scope for CFRG as well as primitives. But the other major category of weakness, widespread exploitable vulnerabilities in software implementations, is one that is hugely important, and which is out of scope for CFRG. The problem of exploitable vulnerabilities doesn't get the air-time that it deserves, relative to the other issues. An exploit could force its victim to do all sorts of bad cryptographic practices, such as leak a key in an IV, or use a fixed or low-entropy key. > > The problems you mentioned with RADIUS have little to do with work that > would be done in the CFRG. RADIUS, similarly to Diameter, does not offer > end-to-end security and that's something that could be fixed in the IETF > (and there is work ongoing in the DIME working group for Diameter at > least). The main challenge, however, is the attitude problem of those > deploying the protocol. I agree about the attitude, but I don't agree that CFRG couldn't help. Surely we don't need new crypto mechanisms to solve the problems with RADIUS, but analyzing and documenting security issues and helping to socialize them with the IETF and the user base are all in charter and are worth doing. > > b) I do, however, believe that the CFRG could play an interesting role. > I am curious whether it would be possible to move some of the tasks that > are currently done in NIST to the IRTF, namely the cryptographic > algorithm selections. I know that this is a job that is today not done > by the IETF/IRTF but I believe it could be done since the ingredients are: > * open and transparent process for publishing, commenting, and selecting > an algorithm > * a suitable way for publishing these documents. > > Doing this work in a global standards organization also gives it more > credibility. I am also confident that the IETF/IRTF community could > reach out to researchers working on hash algorithms, encryption > algorithms, etc. > > Just a thought... Agree that IETF is and should be willing to act as an international standards body for crypto, and that CFRG could support that process. We need to be careful not to over-commit in this area, but if the IETF wanted CFRG to vet some crypto standards options, we should be able to do that. David > > Ciao > Hannes > > > On 02/07/2014 07:04 PM, David McGrew wrote: >> Hi All, >> >> it is healthy to have a discussion on what CFRG and IETF can do >> differently to improve security and privacy in the Internet. >> >> Ultimately, we are not limited by the current CFRG charter, but rather >> by our collective willingness to do the work that needs to be done, and >> I suppose on our ability to develop enough rough consensus about what >> needs to be done. We do have a charter that we need to stick to at >> present, but we can do more within that charter, and we can consider >> changes to the charter if we think those are needed. (Though note that >> we would need to get those changes approved.) >> >> An approach that might work for us is to develop replacement mechanisms >> for the ones in current use that we think need to be replaced, keeping >> in mind that the actual replacement might take ten years or so, or might >> never happen. At the same time, we can document the problems with >> existing mechanisms, to help provide a motivation for that replacement. >> >> It is worthwhile to keep in mind the interoperability problems that can >> be caused by changes in cryptography, and the inertia created by all of >> those millions of crypto implementations that are currently in use. We >> can't expect new crypto to appear in a five year old piece of software >> that is no longer supported by its creator, for instance, and that will >> slow down adoption of newer crypto, no matter how much better it is. >> As a practical matter, we also need to realize that many users of >> cryptography believe that there is no economic justification for >> deploying new crypto until breaking the old crypto scheme is so easy >> that a script kiddie can do it with a backtrack CD-ROM. The burden is >> on us to provide this justification. >> >> At the same time, I share the frustration that too much bad cryptography >> is in use, which should have been replaced long ago. The fact that it >> might take years to replace is no excuse not to start the process now. >> I'm thinking of RADIUS and other protocols that are used with >> human-generated passwords (and are not PAKE systems) in particular. It >> would be *great* to have CFRG document what protocols are bad, and how >> bad they are, in a way that we could demonstrate expert consensus on our >> opinions. If we did a decent job, I bet we could get a slot in front of >> the IESG or some other responsible IETF group. I am confident that, if >> we can offer IETF good information about the security of current >> standards, they will find a way to propagate and use that information. >> >> An aside: a history of crypto protocols at IETF might provide some >> useful perspective; maybe a couple of people who were involved would be >> willing to write up something? It might be useful to focus on one >> case study where things were done wrong, and one where things were done >> right. >> >> David >> >> On 02/07/2014 12:10 PM, Watson Ladd wrote: >>> On Fri, Feb 7, 2014 at 8:39 AM, Blumenthal, Uri - 0558 - MITLL >>> <uri@ll.mit.edu> wrote: >>>> Don Johnson, for one. Carl Meyer. (Yes, those guys who invented >>>> Lucifer and DES ciphers.) >>>> >>>> You keep forgetting (or simply aren't old enough to be aware?) of how >>>> things were done back when the "Cryptography: The New Dimension" book >>>> was published. >>>> >>>> The standard was "MAC, then Encrypt", and it had reasons for doing >>>> things in that order. In fact, SNMP was the first IETF protocol >>>> (circa 1992-1994) to diverge from that approach, and it took some >>>> flak for not doing what was the conventional wisdom of that day. >>> Was that flack informed? Or was it coming from people who didn't >>> really understand the mathematics behind crypto? Were those reasons >>> informed? Just because everyone was making the same mistakes doesn't >>> make those mistakes less serious. Even if we make Bellare-Nampare the >>> point at which no one should have done MAC then Encrypt, that was 13 >>> years ago. Bard explained BEAST 9 years before the demonstration. >>> >>> The best you can say is that the TLS WG was woefully slow in >>> responding to the changing situation. >>> >>>> Since then the priorities and the attacks changed, and now >>>> "Encrypt-then-MAC" is the standard. >>>> >>>> Watson, I'd like to join other suggesting that you become less >>>> combative here. I'm not a "peacenik" myself, but any patience has a >>>> limit. >>> What should the CFRG and the IETF do more broadly to ensure that >>> blunders as serious as the ones above don't happen again? What has the >>> CFRG done to ensure that other 90's era protocols have these problems >>> addressed, particularly when the WGs responsible have disbanded? >>> Should we simply let sleeping dogs lie, and work on ensuring that new >>> protocols don't make similar mistakes? >>> I'm here to fix the problems: explain what I need to do to fix them, >>> and I'll do it. >>> >>> Sincerely, >>> Watson >>>> -- >>>> Regards, >>>> Uri Blumenthal Voice: (781) 981-1638 >>>> Cyber Systems and Technology Fax: (781) 981-0186 >>>> MIT Lincoln Laboratory Cell: (339) 223-5363 >>>> 244 Wood Street Email: <uri@ll.mit.edu> >>>> Lexington, MA 02420-9185 >>>> >>>> Web: http://www.ll.mit.edu/CST/ >>>> >>>> >>>> >>>> MIT LL Root CA: >>>> >>>> <https://www.ll.mit.edu/labcertificateauthority.html> >>>> >>>> >>>> DSN: 478-5980 ask Lincoln ext.1638 >>>> >>>> ----- Original Message ----- >>>> From: Watson Ladd [mailto:watsonbladd@gmail.com] >>>> Sent: Friday, February 07, 2014 11:28 AM >>>> To: Nikos Mavrogiannopoulos <nmav@gnutls.org> >>>> Cc: cfrg@irtf.org <cfrg@irtf.org> >>>> Subject: Re: [Cfrg] NSA sabotaging crypto standards >>>> >>>> On Fri, Feb 7, 2014 at 8:11 AM, Nikos Mavrogiannopoulos >>>> <nmav@gnutls.org> wrote: >>>>> On 02/07/2014 04:59 PM, Watson Ladd wrote: >>>>> >>>>>> But let's go into detail about how well the cryptographers did in TLS. >>>>>> In 1995 Phil Rogaway tells everyone to use encrypt-then-MAC. >>>>> I believe you are oversimplifying things. Indeed Rogaway suggested >>>>> encrypt-then-MAC, but other cryptographers were suggesting >>>>> MAC-then-Encrypt (authenticate what is meant not what is sent). There >>>>> was also no attack known for MAC-then-encrypt. >>>> Show me one cryptographer who recommended MAC-then-Encrypt. >>>> Also, absence of known attacks is not the same as absence of attacks. >>>> Encrypt-then-MAC was the conservative choice. >>>> >>>>> In general it is very easy to see the obvious solution 20 years later, >>>>> but the challenge is to properly decide at the right time. >>>> It was obvious then: encrypt-then-MAC was known secure, while >>>> MAC-then-encrypt was not. >>>> Any excuse vanishes with Bellare-Nampare (2000). Of course, even if we >>>> take the best interpretation, the TLS WG frittered away 9 years after >>>> being informed of an attack. >>>> >>>> Sincerely, >>>> Watson Ladd >>>>> regards, >>>>> Nikos >>>>> >>>>> _______________________________________________ >>>>> Cfrg mailing list >>>>> Cfrg@irtf.org >>>>> http://www.irtf.org/mailman/listinfo/cfrg >>>> >>>> -- >>>> "Those who would give up Essential Liberty to purchase a little >>>> Temporary Safety deserve neither Liberty nor Safety." >>>> -- Benjamin Franklin >>>> _______________________________________________ >>>> Cfrg mailing list >>>> Cfrg@irtf.org >>>> http://www.irtf.org/mailman/listinfo/cfrg >>> >> _______________________________________________ >> Cfrg mailing list >> Cfrg@irtf.org >> http://www.irtf.org/mailman/listinfo/cfrg
- [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-03.t… internet-drafts
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Dan Harkins
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Watson Ladd
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… David McGrew
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Watson Ladd
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… David McGrew
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Dan Harkins
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Paul Lambert
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Watson Ladd
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Dan Harkins
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Yoav Nir
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Watson Ladd
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Mike Hamburg
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Dan Harkins
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Robert Ransom
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Watson Ladd
- Re: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-… Blumenthal, Uri - 0558 - MITLL
- Re: [Cfrg] 2^40. I can't exhibit it, but it exist… Paul Lambert
- Re: [Cfrg] 2^40. I can't exhibit it, but it exist… Michael Hamburg
- Re: [Cfrg] 2^40. I can't exhibit it, but it exist… Watson Ladd
- [Cfrg] publishing dragonfly (was: Re: 2^40. I can… David McGrew
- Re: [Cfrg] publishing dragonfly (was: Re: 2^40. I… Eggert, Lars
- Re: [Cfrg] publishing dragonfly (was: Re: 2^40. I… Manger, James
- Re: [Cfrg] publishing dragonfly (was: Re: 2^40. I… Eggert, Lars
- [Cfrg] NSA sabotaging crypto standards Manger, James
- Re: [Cfrg] NSA sabotaging crypto standards Alexandre Anzala-Yamajako
- Re: [Cfrg] how can CFRG improve cryptography in t… Rob Stradling
- Re: [Cfrg] NSA sabotaging crypto standards Eggert, Lars
- Re: [Cfrg] NSA sabotaging crypto standards Watson Ladd
- Re: [Cfrg] NSA sabotaging crypto standards Paul Hoffman
- Re: [Cfrg] NSA sabotaging crypto standards Watson Ladd
- Re: [Cfrg] NSA sabotaging crypto standards Paul Hoffman
- Re: [Cfrg] NSA sabotaging crypto standards David McGrew
- Re: [Cfrg] NSA sabotaging crypto standards Dan Harkins
- Re: [Cfrg] NSA sabotaging crypto standards Watson Ladd
- Re: [Cfrg] how can CFRG improve cryptography in t… David McGrew
- Re: [Cfrg] NSA sabotaging crypto standards Nikos Mavrogiannopoulos
- Re: [Cfrg] NSA sabotaging crypto standards Watson Ladd
- Re: [Cfrg] NSA sabotaging crypto standards Blumenthal, Uri - 0558 - MITLL
- Re: [Cfrg] NSA sabotaging crypto standards Watson Ladd
- [Cfrg] how can CFRG improve cryptography in the I… David McGrew
- Re: [Cfrg] how can CFRG improve cryptography in t… Daniel Kahn Gillmor
- Re: [Cfrg] NSA sabotaging crypto standards Blumenthal, Uri - 0558 - MITLL
- Re: [Cfrg] how can CFRG improve cryptography in t… Hannes Tschofenig
- Re: [Cfrg] how can CFRG improve cryptography in t… Rene Struik
- Re: [Cfrg] how can CFRG improve cryptography in t… Stephen Farrell
- Re: [Cfrg] how can CFRG improve cryptography in t… dan
- Re: [Cfrg] how can CFRG improve cryptography in t… Watson Ladd
- Re: [Cfrg] how can CFRG improve cryptography in t… Daniel Kahn Gillmor
- Re: [Cfrg] how can CFRG improve cryptography in t… David McGrew
- Re: [Cfrg] how can CFRG improve cryptography in t… Stephen Farrell
- Re: [Cfrg] how can CFRG improve cryptography in t… Tom Ritter
- Re: [Cfrg] how can CFRG improve cryptography in t… Igoe, Kevin M.
- Re: [Cfrg] how can CFRG improve cryptography in t… Hannes Tschofenig
- Re: [Cfrg] how can CFRG improve cryptography in t… Hannes Tschofenig
- Re: [Cfrg] how can CFRG improve cryptography in t… Hannes Tschofenig
- Re: [Cfrg] how can CFRG improve cryptography in t… David McGrew
- Re: [Cfrg] how can CFRG improve cryptography in t… Paul Lambert
- Re: [Cfrg] how can CFRG improve cryptography in t… Watson Ladd
- Re: [Cfrg] how can CFRG improve cryptography in t… Rene Struik
- Re: [Cfrg] how can CFRG improve cryptography in t… Geoffrey Waters
- Re: [Cfrg] how can CFRG improve cryptography in t… S Moonesamy
- Re: [Cfrg] how can CFRG improve cryptography in t… David McGrew