Re: [Tm-rid] IPv6 address encoding in commonName

Michael Richardson <mcr@sandelman.ca> Thu, 15 August 2019 13:32 UTC

Return-Path: <mcr@sandelman.ca>
X-Original-To: tm-rid@ietfa.amsl.com
Delivered-To: tm-rid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE30612006D for <tm-rid@ietfa.amsl.com>; Thu, 15 Aug 2019 06:32:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 Apo7WZb0FXwQ for <tm-rid@ietfa.amsl.com>; Thu, 15 Aug 2019 06:32:07 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2DD82120047 for <tm-rid@ietf.org>; Thu, 15 Aug 2019 06:32:07 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 3C5CE3818C for <tm-rid@ietf.org>; Thu, 15 Aug 2019 09:31:17 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 326ADE21 for <tm-rid@ietf.org>; Thu, 15 Aug 2019 09:32:06 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ca>
To: tm-rid@ietf.org
In-Reply-To: <dc596ccb-9c52-d3e6-bf3a-29e6ce929e95@labs.htt-consult.com>
References: <d02be2b0-ab7b-9c66-617d-0625ebf8cb16@htt-consult.com> <335d070b-79e1-899c-2c0a-77a7afc1cbbf@wisemo.com> <1835423d-c59a-60b4-007f-afe4545089d9@htt-consult.com> <2862.1565827429@localhost> <dc596ccb-9c52-d3e6-bf3a-29e6ce929e95@labs.htt-consult.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Thu, 15 Aug 2019 09:32:06 -0400
Message-ID: <5160.1565875926@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tm-rid/UX7WR_6jTO2bdSkC_s9L5h847pQ>
X-Mailman-Approved-At: Thu, 15 Aug 2019 07:21:45 -0700
Subject: Re: [Tm-rid] IPv6 address encoding in commonName
X-BeenThere: tm-rid@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Trustworthy Multipurpose RemoteID <tm-rid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tm-rid>, <mailto:tm-rid-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tm-rid/>
List-Post: <mailto:tm-rid@ietf.org>
List-Help: <mailto:tm-rid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tm-rid>, <mailto:tm-rid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Aug 2019 13:32:10 -0000

Robert Moskowitz <rgm@labs.htt-consult.com> wrote:
    > Given the HHIT prefix as in the example above, the reverse DNS for the
    > HDA/RRA can be calculated (first attempt in
    > draft-moskowitz-hierarchical-hip, but I am revising it) and additional
    > information learned.

    > In raw HHIT mode, you have the device's HHIT and thus the /64 prefix. 
    > That gets you to services to learn the HI to validate sigs, for example
    > and see if the HHIT revocated and such.

via reverse DNS, or something else?

Do your intermediate CAs have HHIT in the DN, or something else?

    > In fact, I am leaning toward a simple DNS structure:

    > hda.rra.hhit.tld    PTR    foo.com

    > and foo.com has lots of SRV RR for all the various services it
    > provides.  Why go through the allusion of rDNS in this case?

    > In client x.509 cert mode the issuerName is the CN like above.  But
    > again, the subjectName is empty and the SAN is the client HHIT. Well
    > the client HHIT prefix MUST be the same as that in the issuerName, so
    > why bother with that, other than x.509 says there is an issuerName...

Yes, we can deal with empty Subject DN for EE, but not, as you said, for
intermediates.

-- 
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [