Re: [Trans] DNS for CT

"Paul Hoffman" <paul.hoffman@vpnc.org> Wed, 24 February 2016 00:12 UTC

Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38EE61B39E0 for <trans@ietfa.amsl.com>; Tue, 23 Feb 2016 16:12:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level:
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] autolearn=no
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 XTCQ5-Iq-yuy for <trans@ietfa.amsl.com>; Tue, 23 Feb 2016 16:12:17 -0800 (PST)
Received: from hoffman.proper.com (Opus1.Proper.COM [207.182.41.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 569D31B2E6A for <trans@ietf.org>; Tue, 23 Feb 2016 16:12:17 -0800 (PST)
Received: from [10.32.60.83] (50-1-98-216.dsl.dynamic.fusionbroadband.com [50.1.98.216]) (authenticated bits=0) by hoffman.proper.com (8.15.2/8.14.9) with ESMTPSA id u1O0CAnv027835 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Feb 2016 17:12:12 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 50-1-98-216.dsl.dynamic.fusionbroadband.com [50.1.98.216] claimed to be [10.32.60.83]
From: Paul Hoffman <paul.hoffman@vpnc.org>
To: Ben Laurie <benl@google.com>
Date: Tue, 23 Feb 2016 16:12:09 -0800
Message-ID: <34C51BE8-D9CF-4455-A89E-BCCD29DCDEB6@vpnc.org>
In-Reply-To: <CABrd9SQs77jBeTf7Z-M0b9zbKG6=L3Ho020FvNDE5SNRyk=Tig@mail.gmail.com>
References: <CABrd9SQs77jBeTf7Z-M0b9zbKG6=L3Ho020FvNDE5SNRyk=Tig@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Mailer: MailMate (1.9.3r5187)
Archived-At: <http://mailarchive.ietf.org/arch/msg/trans/48vWU-Sbx_FhERb97B3w5xnAk0k>
X-Mailman-Approved-At: Tue, 23 Feb 2016 16:45:39 -0800
Cc: Pierre Phaneuf <pphaneuf@google.com>, "trans@ietf.org" <trans@ietf.org>, "certificate-transparency@googlegroups.com" <certificate-transparency@googlegroups.com>
Subject: Re: [Trans] DNS for CT
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Public Notary Transparency working group discussion list <trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>, <mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>, <mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Feb 2016 00:12:18 -0000

On 23 Feb 2016, at 8:00, Ben Laurie wrote:

> As we've mentioned several times, we've been working on a way to 
> retrieve
> CT data over DNS to improve the privacy properties of inclusion 
> proofs.

This is a good idea, and the motivation mentioned in the not-yet-a-draft 
is good. However, I have some questions about the protocol that you 
show.

> https://github.com/google/certificate-transparency-rfcs/blob/master/dns/draft-ct-over-dns.md

1) Why do you create a new Opcode for the header? These are kind of 
precious values. You are already using prefixes on the QNAME for STH 
queries; you could easily do so for the others as well.

2) Standard practice these days is to have prefixed labels start with an 
underscore (_).

3) In the STH Query example, the Question section in the response is 
different than the Question section in the request. I hope this is a 
typo, given that RFC 1034 says that the two must be the same.

4) If you sure that the RData values for the responses are less than 256 
characters, that's fine; if they can be longer than that, you should 
probably add a note about the TXT records having more than one 
character-data string.

--Paul Hoffman