Re: [dane] Anyone interested in writing a DANE tutorial?

Pieter Lexis <pieter.lexis@os3.nl> Wed, 26 September 2012 21:12 UTC

Return-Path: <pieter.lexis@os3.nl>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59A3421F85EF for <dane@ietfa.amsl.com>; Wed, 26 Sep 2012 14:12:06 -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=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yRCJi8pWYNsO for <dane@ietfa.amsl.com>; Wed, 26 Sep 2012 14:12:05 -0700 (PDT)
Received: from mail.serv.os3.nl (mail.serv.os3.nl [IPv6:2001:610:158:960::25]) by ietfa.amsl.com (Postfix) with ESMTP id 6715421F85D5 for <dane@ietf.org>; Wed, 26 Sep 2012 14:12:05 -0700 (PDT)
Received: from smtp.os3.nl (smtp.os3.nl [IPv6:2001:610:158:960::119]) by mail.serv.os3.nl (Postfix) with ESMTP id 9BEFE17B5D0; Wed, 26 Sep 2012 23:12:03 +0200 (CEST)
Received: from [IPv6:2001:980:5dd1:1:54ed:55ca:7d13:b7ff] (unknown [IPv6:2001:980:5dd1:1:54ed:55ca:7d13:b7ff]) by smtp.os3.nl (Postfix) with ESMTPSA id 4934717B5CF; Wed, 26 Sep 2012 23:12:03 +0200 (CEST)
Message-ID: <50636FA2.6050403@os3.nl>
Date: Wed, 26 Sep 2012 23:12:02 +0200
From: Pieter Lexis <pieter.lexis@os3.nl>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0
MIME-Version: 1.0
To: dan-ietf@danyork.org
References: <699F0F4D-3E06-44F5-88A4-40C1FC569E98@danyork.org>
In-Reply-To: <699F0F4D-3E06-44F5-88A4-40C1FC569E98@danyork.org>
X-Enigmail-Version: 1.4.4
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: dane@ietf.org
Subject: Re: [dane] Anyone interested in writing a DANE tutorial?
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
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: Wed, 26 Sep 2012 21:12:06 -0000

Hi Dan,

On 09/26/2012 08:27 PM, Dan York wrote:
> If we had a page that was a simple set of steps it would be something
>  we could pass around and encourage people to consider doing.  I'm
> thinking of something like:
> 
> Existing certificate:
>  - get a copy of your TLS certificate
>  - generate the appropriate hash using ____
>  - create a DNS record that looks like "........."
>  - publish record (including DNSSEC signing) and celebrate
> 
> New certificate
>   - generate a new TLS certificate using ____
>   - install certificate in your web server (perhaps assume Apache for
> the tutorial)
>   - generate the appropriate hash using ____
>  - create a DNS record that looks like "........."
>  - publish record (including DNSSEC signing) and celebrate
>
> Now those steps may not be complete... this is just a first thought...
> and given that I've never deployed a TLSA record (but would like to) I
> don't know the exact steps. 

Looks good to me. Appendix A.4 of RFC 6698[0] describes the way to do it
(it is similar to DNSSEC key-rollover). I would recommend reading
Appendix A in full to understand the implication of certain choices of
matching type and selector.

As for tooling, I wrote a (proof of concept) tool called 'swede'[2] in
January of this year (and updated it when needed). It has been used to
create the Examples (Appendix C) in RFC 6698. The code is a bit messy,
but it works. I'm currently re-implementing it in a more maintainable
fashion (hopefully finished within a few weeks, but you never know).

> Even if someone could sketch out the basic outline of the commands one
> would use for the steps above, I'd be glad to write some text narrative
> explaining the commands.

I'd say try: swede and ask me or the mailing list for feedback when you
publish your articles.

Cheers,

Pieter

1 - http://tools.ietf.org/html/rfc6698#appendix-A.4
2 - https://github.com/pieterlexis/swede