Re: [saag] AD review of draft-iab-crypto-alg-agility-06

Viktor Dukhovni <ietf-dane@dukhovni.org> Tue, 25 August 2015 21:44 UTC

Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6170E1A8789 for <saag@ietfa.amsl.com>; Tue, 25 Aug 2015 14:44:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] 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 w-nsC1BOCQbV for <saag@ietfa.amsl.com>; Tue, 25 Aug 2015 14:44:12 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3C2231A8AC4 for <saag@ietf.org>; Tue, 25 Aug 2015 14:44:12 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 6EDFB284B56; Tue, 25 Aug 2015 21:44:11 +0000 (UTC)
Date: Tue, 25 Aug 2015 21:44:11 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: saag@ietf.org
Message-ID: <20150825214411.GS9021@mournblade.imrryr.org>
References: <CAHbuEH7B3_G9vAhw=U2tuz-Uh8mKMUfL6s=H+BOG96FDZaACig@mail.gmail.com> <20150824212907.GN9021@mournblade.imrryr.org> <619ffebb05ba4e2a9af03a6dcc768d6e@ustx2ex-dag1mb2.msg.corp.akamai.com> <20150824215037.GO9021@mournblade.imrryr.org> <9A043F3CF02CD34C8E74AC1594475C73F4AE62A1@uxcn10-5.UoA.auckland.ac.nz> <20150825134333.GX9021@mournblade.imrryr.org> <6b5167f3d0684a8a91caa6d37dec65e3@ustx2ex-dag1mb2.msg.corp.akamai.com> <20150825160627.GH9021@mournblade.imrryr.org> <CAHbuEH5r5s8ofChzt0_Rd8dxKqf8KXLDteYw8RSBX43nyFrN+A@mail.gmail.com> <2E7E9F38-DA68-4933-AD67-CF2A8E51B4F7@dukhovni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2E7E9F38-DA68-4933-AD67-CF2A8E51B4F7@dukhovni.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/saag/iqhBq_j_hAMH03pUVWAQzd6DjCA>
Subject: Re: [saag] AD review of draft-iab-crypto-alg-agility-06
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: saag@ietf.org
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Aug 2015 21:44:14 -0000

On Tue, Aug 25, 2015 at 01:39:39PM -0400, Viktor Dukhovni wrote:

> > I don't think anyone is saying that bad crypto isn't better than no
> > crypto, but how we define OS and continue to use the definition may
> > matter for algorithm and cipher suite deprecation efforts.  It's long
> > been a practice for legacy systems to continue to use deprecated
> > protocols, algorithms and cipher suites, but we've said they are not
> > in compliance with RFCXXXX.  Do we really want to start down a path of
> > saying it's okay because it falls under OS?  I'd rather not.  We would
> > get to about the same result, but perhaps we could have more success
> > with deprecation transitions if these older options are not 'blessed'.
> 
> How to position deprecation is more of a marketing than a technical
> question.  I agree that we don't want to dilute the message that
> deprecated ciphers should be phased out as quickly as possible.
> OS is not a license to indefinitely ignore deprecation.
> 
> The key issue is what "as quickly as possible" means.  For OS, it is likely
> to mean that the process takes longer, because the relative priorities of
> interoperability and security are different than with non-OS designs.
> 
> So by all means, publish unequivocal deprecation of RC4, ... but expect
> that OS applications will take some time to act on such publications and
> rightly so.

I should note, that premature deprecation of algorithms and/or
protocol features by library maintainers who are not attuned to
the needs of OS applications is already having detrimental effects.

For example, LibreSSL 2.2.2 has not only removed support for SSL
2.0 and SSL 3.0, but has also removed TLS server support for
SSL-2.0-compatible HELLO.

This means that servers linked with LibresSSL are unable to complete
a TLS handshake with clients that have not yet disabled SSL 2.0
and are still sending SSLv2-compatible HELLO.

Such clients are not uncommon.  The Postfix user who ran into this
problem reverted to linking Postfix with OpenSSL.  In the OpenSSL
"master" branch (future 1.1.0), SSL 2.0 and SSL 3.0 are disabled
just like in LibreSSL 2.2.2, but support for SSLv2-compatible HELLO
is retained (on servers, but the client code will never send such
a HELLO).

It takes care and sound judgement to preserve interoperability,
and not all applications have the same needs.  So while the
"marketing" message needs to be clear and unequivocal (stop using
obsolete crypto), in libraries the underlying technical changes to
support that need to be constructed more carefully, and final
removal may be the last step of a process that happens across
multiple releases that gradually reduce support. 
    
    * Remove from use by default.
    * Reduce relative preference.
    * Require non-default compile-time options to enable.
    * Remove the code.

Applications can move more aggressively, and use appropriate APIs
to disable obsolete crypto faster because they are better positioned
to know where to draw the line between security and interoperability
with legacy systems.

-- 
	Viktor.