Re: [dane] DANE Testing

Viktor Dukhovni <viktor1dane@dukhovni.org> Fri, 21 February 2014 22:41 UTC

Return-Path: <viktor1dane@dukhovni.org>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 845831A0291 for <dane@ietfa.amsl.com>; Fri, 21 Feb 2014 14:41:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 NdLcFckVL5UM for <dane@ietfa.amsl.com>; Fri, 21 Feb 2014 14:41:34 -0800 (PST)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) by ietfa.amsl.com (Postfix) with ESMTP id 94BBA1A0152 for <dane@ietf.org>; Fri, 21 Feb 2014 14:41:34 -0800 (PST)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id B505B2AB25A; Fri, 21 Feb 2014 22:41:28 +0000 (UTC)
Date: Fri, 21 Feb 2014 22:41:28 +0000
From: Viktor Dukhovni <viktor1dane@dukhovni.org>
To: dane@ietf.org
Message-ID: <20140221224128.GX278@mournblade.imrryr.org>
References: <5307B4BE.9010706@nist.gov> <20140221213819.GV278@mournblade.imrryr.org> <5307CAFC.1090205@nist.gov>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <5307CAFC.1090205@nist.gov>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/dane/18t1qLwuw9b5SDr86-1RJOKSNLo
Subject: Re: [dane] DANE Testing
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: dane@ietf.org
List-Id: DNS-based Authentication of Named Entities <dane.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dane>, <mailto:dane-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dane/>
List-Post: <mailto:dane@ietf.org>
List-Help: <mailto:dane-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dane>, <mailto:dane-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Feb 2014 22:41:37 -0000

On Fri, Feb 21, 2014 at 04:54:04PM -0500, Stephen Nightingale wrote:

> >So results from GnuTLS DANE verification can be misleading.
>
> I should point out that I am not using GnuTLS idea of DANE
> verification. I'm getting the cert chain passed up and doing my own
> DANE verification. For this purpose I had to modify the
> python-gnutls-1.2.5 interface to GnuTLS, to pass in a certificate
> chain, since in the download it only passes in a single end cert.

OK, but with DANE-TA(2) now you have the rather difficult task of
performing PKIX validation of a complete trust chain.  I forget
what your approach was for this.  Are you checking all the expiration
dates, signatures, basic constraints, name constraints, pathlength
constraints, performing name checks, ... That's a lot of difficult
code.

-- 
	Viktor.