Re: [TLS] I-D Action: draft-ietf-tls-chacha20-poly1305-00.txt

mrex@sap.com (Martin Rex) Tue, 16 June 2015 16:24 UTC

Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE6CF1B2EF8 for <tls@ietfa.amsl.com>; Tue, 16 Jun 2015 09:24:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.551
X-Spam-Level:
X-Spam-Status: No, score=-6.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] 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 U_8fohpTO6yL for <tls@ietfa.amsl.com>; Tue, 16 Jun 2015 09:24:17 -0700 (PDT)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E482A1B2EFC for <tls@ietf.org>; Tue, 16 Jun 2015 09:24:16 -0700 (PDT)
Received: from mail05.wdf.sap.corp (mail05.sap.corp [194.39.131.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id C5AC6445BB; Tue, 16 Jun 2015 18:24:14 +0200 (CEST)
X-purgate-ID: 152705::1434471854-00005316-69063CCC/0/0
X-purgate-size: 1541
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate-type: clean
X-SAP-SPAM-Status: clean
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail05.wdf.sap.corp (Postfix) with ESMTP id B76E54082E; Tue, 16 Jun 2015 18:24:14 +0200 (CEST)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id AA50A1A141; Tue, 16 Jun 2015 18:24:14 +0200 (CEST)
In-Reply-To: <5376091.DEdtQA7Asb@pintsize.usersys.redhat.com>
To: Hubert Kario <hkario@redhat.com>
Date: Tue, 16 Jun 2015 18:24:14 +0200
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20150616162414.AA50A1A141@ld9781.wdf.sap.corp>
From: mrex@sap.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/zKoYVtOE1zeL5nzK7T6U5aREEhs>
Cc: Simon Josefsson <simon@josefsson.org>, tls@ietf.org
Subject: Re: [TLS] I-D Action: draft-ietf-tls-chacha20-poly1305-00.txt
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: mrex@sap.com
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jun 2015 16:24:19 -0000

Hubert Kario wrote:

>>> 
>>> That's a violation of the engineering requirements :) If you don't
>>> need server authenticity, then you don't ask for it. If you ask for
>>> it, then you have to validate it.
>> 
>> It may appear that way -- but implementing support for ANON ciphers is
>> more work than NOT implementing support for certificate validation.
>> Supporting ANON in standards, implementation, testing/QA etc carry a
>> cost.  We should strive towards offsetting costs with use-cases that can
>> motivate the costs.
> 
> From QA perspective it's easier to test a specific ciphersuite than to test 
> some obscure option that disables signature verification that every 
> application names differently.
> 
> A(EC)DH ciphersutes are well known and used configuration option, "disable 
> signature verification on ServerKeyExchange" is not.


There may be SSL/TLS implementations that do not implement any of the
DH_anon/ECDH_anon cipher suites.  Our implementation does not implement them.
So for use with SMTP+TLS (which we do support) DH_anon may simply not be an
option.

But we also do not allow application programmers to skip certificate
path validation (that is only possible at the low-level APIs and used
by the SMTP+TLS/STARTTLS code.

The problem that I have with DH_anon/ECDH_anon is that it is equal
to TLS with Alzheimer.  Not being able to authenticate the server
is a problem, but also being unable to re-recognize a previous
communication peer is significantly worse.


-Martin