
From nobody Thu Dec 23 16:28:39 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: dance@ietfa.amsl.com
Delivered-To: dance@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 866463A0CF8; Thu, 23 Dec 2021 16:28:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
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 aX750VbFJun3; Thu, 23 Dec 2021 16:28:33 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 345FF3A0CF9; Thu, 23 Dec 2021 16:28:32 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 6294D38E17; Thu, 23 Dec 2021 19:33:12 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0fVKxvrYD-73; Thu, 23 Dec 2021 19:33:11 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 2EBE038E16; Thu, 23 Dec 2021 19:33:11 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sandelman.ca; s=mail; t=1640305991; bh=FglzMtuao+aQa+jxH8XFa+mnJO2GiBWfSSnVYFOXO/o=; h=From:To:CC:Subject:In-Reply-To:References:Date:From; b=1AsYtDG/8AMgNj3ZMy2N1duENRvpx1HyVO/JE6j2mRcgPoA4R0BQdFhICNcAtEE/2 PvjZPZPzg32HJKt9Hgtwm6ep+yR0XCogFs1BMda0V1QOL+gBwG8h4KsI5fT0u5TJ7c F4OGU+FFk4j2KB9bXd5He1iiGv/LVDyZnZhPmTC9EBmQRNx4TATLMyB74nRhNN84Ph einnVb6zAoNAc/ArgVxKcxuYwPUlqZXrcCwUOT4176UU0Ll/MchSP9cY/p7jSjChBU ATLqqyESE2UHKqg2DumWM5g3yIs+wZsvzHXgbf7bON3ujWTHzwpBYifLtUW8OUC9LE IGfgjFaZyibtg==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id DC8F2A3; Thu, 23 Dec 2021 19:28:28 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Ash Wilson <ash.wilson=40valimail.com@dmarc.ietf.org>, "iotops\@ietf.org" <iotops@ietf.org>
CC: dance@ietf.org
In-Reply-To: <CAEfM=vS2-zgLLVNbD1Dtj4sig=pRZRmBf4Ge1+XGqfBY1H1B_g@mail.gmail.com>
References: <c58e3103bea80f4bcf9b55191d6c3066@mail.gmail.com> <AM8P190MB0979AB5D49205CA02B5308D7FD9F9@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <CAEfM=vS2-zgLLVNbD1Dtj4sig=pRZRmBf4Ge1+XGqfBY1H1B_g@mail.gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.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-sha512; protocol="application/pgp-signature"
Date: Thu, 23 Dec 2021 19:28:28 -0500
Message-ID: <10960.1640305708@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dance/5yammx6I3ul18igcMFgwKW6uPus>
Subject: Re: [Dance] [Iotops] Secure browsing local web resources
X-BeenThere: dance@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DANE Authentication for Network Clients Everywhere <dance.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dance>, <mailto:dance-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dance/>
List-Post: <mailto:dance@ietf.org>
List-Help: <mailto:dance-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dance>, <mailto:dance-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Dec 2021 00:28:39 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


sorry to pull an email thread out from a month ago.

Ash Wilson <ash.wilson=3D40valimail.com@dmarc.ietf.org> wrote:
    > We had a brief discussion at IETF 110 in the DANISH BoF (which has ev=
olved
    > into the DANCE WG) about how DNS-SD/mDNS might work to tie link-local
    > identities to DANE DNS records. This would give you the ability to ha=
ve a
    > universal server identifier/public key in DNS which the IoT TLS server
    > could claim and prove to a client device. The downside here is that D=
ANE is
    > not currently browser-supported, though it is supported in various TLS
    > libraries.

Leaving aside the implementation challenges (we can't even get LL-IPv6 into=
 browsers...)

What exactly would you put into the certificate here?
How would the tie-in work?  I'm not actually sure I think we need DANE.

If one put ethernet addresses into the certificate, and one did traditional
SLAAC to derive L3 Link-Local addresses (for the device) from that, then it
would trivially (with current APIs) link getpeername(2) to what the browser
sees in the certificate.

There would be privacy implications doing this that would require RCM to fu=
lly
solve.

How would DANE help?

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmHFFCwACgkQgItw+93Q
3WVwbgf/bPi7P1sk4LwjTi1jGMsuXIEFNuCGq2KffBDKFoskrqgG7JUhZC7CzDnL
EiRD6H9sj5wyNiQRjKJ97bBUwly0KpqUIbtuqo+8CTWeCiKKBR8s+aZ9IXkMyymd
VL7oWFlHRFfPxVQS/N7blhvNfzgEejuMKwS4DoQ18ivLb2hBLynxtgmcVIei9ZY9
g+/TuumXh+Qw4G03RYu028ve4jcz4ZY43s3Gf4r7NX3PPUp+JuiPoSWpnuZOXg+Q
uDMQGLXsJSuO7fZvK8OYBq/ffdoNWhXBGLtJtTHbceUBWNaZrf3oNY4yfkJ09Avz
OOeEJcWZxFR/GpIYUGmILA1JJoJE3g==
=zPRS
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Fri Dec 24 09:50:22 2021
Return-Path: <ash.wilson@valimail.com>
X-Original-To: dance@ietfa.amsl.com
Delivered-To: dance@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E77C3A0E74 for <dance@ietfa.amsl.com>; Fri, 24 Dec 2021 09:50:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=valimail.com
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 ExkGtV9SPhVP for <dance@ietfa.amsl.com>; Fri, 24 Dec 2021 09:49:56 -0800 (PST)
Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C54283A0E75 for <dance@ietf.org>; Fri, 24 Dec 2021 09:49:56 -0800 (PST)
Received: by mail-qt1-x82f.google.com with SMTP id a1so8107132qtx.11 for <dance@ietf.org>; Fri, 24 Dec 2021 09:49:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=valimail.com; s=google2048; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AG0poXPd8tamixw5MlvymC7MTj9M4tS3um6NFU5GtIg=; b=ENT8QR0aoMua/iHY0jGsyd4wB9XeCSfm8G0dqlSSJc/6D4ZLuAhzoll9SV6WE2Klra QsC4dSZ1/lOB4aB7LCKwv4mQBBM/cRzUouL23TZUI4uVZa0l94meDcXv3pmoAy+DYB6T uOumOnA4WgfQ+Jvtkf+C4sRFV1YpwEZKV/VozZeqXzn3JU7++Osi01s6Raz+YC/2lI9C d9UYWvOlfo2obfSPe0DcND4+lQi8VM49S+KimoHDelxpPi6HVwTZgW0RfV/8Ae43/h0R Lw2TxIfDm+m6z35nH8zmcxJDr2XaJ/YthH8JGYrdLaaUOzixJnBTN3+AYOw5jfRauRE2 flGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AG0poXPd8tamixw5MlvymC7MTj9M4tS3um6NFU5GtIg=; b=QpdYHcJrk+dDqIZmyu9/AI0RvX96yNQ+spnY+h60WbbjxITDFH6MDXWw4fRypNvIjO NF2xxCAxXtf4fNu86fyEyfVifw5gEBaWoYWnVvFVXSPLpKfYB7rfnLlkTm2fJ6gnpes7 tl4N5YjKDiwrH+Qqu1h/xcEmtE5tB8nzer628HI+A0af7IfPh2CVsULbjf58/JpHOs9Y +9SeWcT1F3UZwipMad59bUAq8XpKpLaCu3+dOBsXeGLuk+01gczA5dRAKi5oEOGSPgCy FNXqYTDbO/sFaRkN18RpNc3ugHryLg4opvs8bRIexr5VdcnC9vXKyiSGt0nH9SsNDjvJ UCRw==
X-Gm-Message-State: AOAM530A13n1vH/oJfVFib0mCvolL+XpKB6s2mmSx9m7P6ZLHFbhlRhL 0OfBFyfX+U7A8uqjU50YWk9Nia4PWPepdFR18Jui3hH3pDLrqA==
X-Google-Smtp-Source: ABdhPJx25TbNkk++NulCp3YSycO/oVYi5zOj9dL2qXhUWChiTDMbgtwu9poDw5MUGDFA9aZoTCzQP2X0wBE/6BW4KrY=
X-Received: by 2002:a05:622a:394:: with SMTP id j20mr3040193qtx.578.1640368194417;  Fri, 24 Dec 2021 09:49:54 -0800 (PST)
MIME-Version: 1.0
References: <c58e3103bea80f4bcf9b55191d6c3066@mail.gmail.com> <AM8P190MB0979AB5D49205CA02B5308D7FD9F9@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <CAEfM=vS2-zgLLVNbD1Dtj4sig=pRZRmBf4Ge1+XGqfBY1H1B_g@mail.gmail.com> <10960.1640305708@localhost>
In-Reply-To: <10960.1640305708@localhost>
From: Ash Wilson <ash.wilson@valimail.com>
Date: Fri, 24 Dec 2021 09:49:43 -0800
Message-ID: <CAEfM=vRgRJES9TPv84Far4iNadShhFnOuVNiO9usO5eH0JBXfg@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Ash Wilson <ash.wilson=40valimail.com@dmarc.ietf.org>,  "iotops@ietf.org" <iotops@ietf.org>, dance@ietf.org
Content-Type: multipart/alternative; boundary="000000000000878bb605d3e7fb14"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dance/-3qq83UB4OkiGxEIWS0NvO3YDlc>
Subject: Re: [Dance] [Iotops] Secure browsing local web resources
X-BeenThere: dance@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DANE Authentication for Network Clients Everywhere <dance.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dance>, <mailto:dance-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dance/>
List-Post: <mailto:dance@ietf.org>
List-Help: <mailto:dance-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dance>, <mailto:dance-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Dec 2021 17:50:02 -0000

--000000000000878bb605d3e7fb14
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Michael,

For a device with DANE ID a1b2c3._device.mfr.example, with an HTTPS service=
:

  mDNS Announce:
      The device announces its own IP at ${HASH}.local where ${HASH} is a
truncated hash of the DANE ID (using an approach like
https://datatracker.ietf.org/doc/html/rfc8162#section-3, but hashing the
entire DANE ID)

  IP address resolution:
      If there are no A or AAAA DNS records for a1b2c3._device.mfr.example,
the client device uses ${HASH}.local for IP address lookup.
      It may be worthwhile to signal via a TXT (or some other) record at
a1b2c3._device.mfr.example that the device is expected to announce using
this pattern over mDNS. Only use mDNS for IP lookup if the responsible
organization (domain owner) indicates such behavior is expected, and if
there is no conflicting SRV record configured.

  Establishing a connection:
      Client software establishes a TLS session with the device using the
IP address from mDNS, the DANE ID for SNI, and verifies the presented
server certificate against the TLSA record at a1b2c3._device.mfr.example.

It's worth noting that
https://datatracker.ietf.org/doc/html/rfc7673#section-4.1 describes what
might be an easier and more flexible way to convey the mDNS name, using an
SRV record, instead of computing the ${HASH}.local identifier within the
client software.


On Thu, Dec 23, 2021 at 4:28 PM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> sorry to pull an email thread out from a month ago.
>
> Ash Wilson <ash.wilson=3D40valimail.com@dmarc.ietf.org> wrote:
>     > We had a brief discussion at IETF 110 in the DANISH BoF (which has
> evolved
>     > into the DANCE WG) about how DNS-SD/mDNS might work to tie link-loc=
al
>     > identities to DANE DNS records. This would give you the ability to
> have a
>     > universal server identifier/public key in DNS which the IoT TLS
> server
>     > could claim and prove to a client device. The downside here is that
> DANE is
>     > not currently browser-supported, though it is supported in various
> TLS
>     > libraries.
>
> Leaving aside the implementation challenges (we can't even get LL-IPv6
> into browsers...)
>
> What exactly would you put into the certificate here?
> How would the tie-in work?  I'm not actually sure I think we need DANE.
>
> If one put ethernet addresses into the certificate, and one did tradition=
al
> SLAAC to derive L3 Link-Local addresses (for the device) from that, then =
it
> would trivially (with current APIs) link getpeername(2) to what the brows=
er
> sees in the certificate.
>
> There would be privacy implications doing this that would require RCM to
> fully
> solve.
>
> How would DANE help?
>
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consul=
ting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>
>
>
>
> --
> Dance mailing list
> Dance@ietf.org
> https://www.ietf.org/mailman/listinfo/dance
>


--=20

*Ash Wilson * | Technical Director
*e:* ash.wilson@valimail.com

This email and all data transmitted with it contains confidential and/or
proprietary information intended solely for the use of individual(s)
authorized to receive it. If you are not an intended and authorized
recipient you are hereby notified of any use, disclosure, copying or
distribution of the information included in this transmission is prohibited
and may be unlawful. Please immediately notify the sender by replying to
this email and then delete it from your system.

--000000000000878bb605d3e7fb14
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Michael,<div><br></div><div>For a device with DANE ID a=
1b2c3._device.mfr.example, with an HTTPS service:</div><div><br></div><div>=
=C2=A0 mDNS Announce:</div><div>=C2=A0 =C2=A0 =C2=A0 The device announces i=
ts own IP at ${HASH}.local where ${HASH} is a truncated hash of the DANE ID=
 (using an approach like <a href=3D"https://datatracker.ietf.org/doc/html/r=
fc8162#section-3">https://datatracker.ietf.org/doc/html/rfc8162#section-3</=
a>, but hashing the entire DANE ID)</div><div><br></div><div>=C2=A0 IP addr=
ess resolution:</div><div>=C2=A0 =C2=A0 =C2=A0 If there are no A or AAAA DN=
S records for a1b2c3._device.mfr.example, the client device uses ${HASH}.lo=
cal for IP address lookup.=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 It may be w=
orthwhile to signal via a TXT (or some other) record at a1b2c3._device.mfr.=
example that the device is expected to announce using this pattern over mDN=
S. Only use mDNS for IP lookup if the responsible organization (domain owne=
r) indicates such behavior is expected,=C2=A0and if there is no conflicting=
 SRV record configured.</div><div><br></div><div>=C2=A0 Establishing a conn=
ection:</div><div>=C2=A0 =C2=A0 =C2=A0 Client software establishes a TLS se=
ssion with the device using the IP address from mDNS, the DANE ID for SNI, =
and verifies the presented server certificate against the TLSA record at a1=
b2c3._device.mfr.example.</div><div><br></div><div>It&#39;s worth noting th=
at=C2=A0<a href=3D"https://datatracker.ietf.org/doc/html/rfc7673#section-4.=
1">https://datatracker.ietf.org/doc/html/rfc7673#section-4.1</a> describes =
what might be an easier and more flexible way to convey the mDNS name, usin=
g an SRV record, instead of computing the ${HASH}.local identifier within t=
he client software.</div><div><br></div></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec 23, 2021 at 4:28 PM Mic=
hael Richardson &lt;<a href=3D"mailto:mcr%2Bietf@sandelman.ca">mcr+ietf@san=
delman.ca</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><br>
sorry to pull an email thread out from a month ago.<br>
<br>
Ash Wilson &lt;ash.wilson=3D<a href=3D"mailto:40valimail.com@dmarc.ietf.org=
" target=3D"_blank">40valimail.com@dmarc.ietf.org</a>&gt; wrote:<br>
=C2=A0 =C2=A0 &gt; We had a brief discussion at IETF 110 in the DANISH BoF =
(which has evolved<br>
=C2=A0 =C2=A0 &gt; into the DANCE WG) about how DNS-SD/mDNS might work to t=
ie link-local<br>
=C2=A0 =C2=A0 &gt; identities to DANE DNS records. This would give you the =
ability to have a<br>
=C2=A0 =C2=A0 &gt; universal server identifier/public key in DNS which the =
IoT TLS server<br>
=C2=A0 =C2=A0 &gt; could claim and prove to a client device. The downside h=
ere is that DANE is<br>
=C2=A0 =C2=A0 &gt; not currently browser-supported, though it is supported =
in various TLS<br>
=C2=A0 =C2=A0 &gt; libraries.<br>
<br>
Leaving aside the implementation challenges (we can&#39;t even get LL-IPv6 =
into browsers...)<br>
<br>
What exactly would you put into the certificate here?<br>
How would the tie-in work?=C2=A0 I&#39;m not actually sure I think we need =
DANE.<br>
<br>
If one put ethernet addresses into the certificate, and one did traditional=
<br>
SLAAC to derive L3 Link-Local addresses (for the device) from that, then it=
<br>
would trivially (with current APIs) link getpeername(2) to what the browser=
<br>
sees in the certificate.<br>
<br>
There would be privacy implications doing this that would require RCM to fu=
lly<br>
solve.<br>
<br>
How would DANE help?<br>
<br>
--<br>
Michael Richardson &lt;<a href=3D"mailto:mcr%2BIETF@sandelman.ca" target=3D=
"_blank">mcr+IETF@sandelman.ca</a>&gt;=C2=A0 =C2=A0. o O ( IPv6 I=C3=B8T co=
nsulting )<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sandelman Software Works Inc, Otta=
wa and Worldwide<br>
<br>
<br>
<br>
<br>
-- <br>
Dance mailing list<br>
<a href=3D"mailto:Dance@ietf.org" target=3D"_blank">Dance@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/dance" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/dance</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature"><span><p dir=3D"ltr" style=3D"line-height:1.656;=
margin-top:0pt;margin-bottom:0pt"></p><div style=3D"text-align:left"><span =
style=3D"vertical-align:baseline;white-space:pre-wrap;font-size:small;font-=
family:Arial"><b>Ash Wilson </b></span><b></b><span style=3D"font-family:Ar=
ial;font-size:small;white-space:pre-wrap"> | Technical Director</span></div=
><span style=3D"vertical-align:baseline;white-space:pre-wrap;font-size:smal=
l;font-family:Arial"><div style=3D"text-align:left"><span style=3D"vertical=
-align:baseline"><b>e:</b></span><span style=3D"vertical-align:baseline"> <=
a href=3D"mailto:ash.wilson@valimail.com" target=3D"_blank">ash.wilson@vali=
mail.com</a> </span><span></span></div><div style=3D"text-align:left"><img =
style=3D"width: 175px; height: 43px;" src=3D"https://hosted-packages.s3-us-=
west-1.amazonaws.com/Valimail+Logo.png"></div></span><p dir=3D"ltr" style=
=3D"background-color:rgb(255,255,255);line-height:1.38;margin-top:0pt;margi=
n-bottom:0pt"><font face=3D"Arial" color=3D"#666666"><span style=3D"font-si=
ze:10.6667px;white-space:pre-wrap">This email and all data transmitted with=
 it contains confidential and/or proprietary information intended solely fo=
r the use of individual(s) authorized to receive it. If you are not an inte=
nded and authorized recipient you are hereby notified of any use, disclosur=
e, copying or distribution of the information included in this transmission=
 is prohibited and may be unlawful. Please immediately notify the sender by=
 replying to this email and then delete it from your system.</span></font><=
/p></span></div>

--000000000000878bb605d3e7fb14--


From nobody Fri Dec 24 13:19:57 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: dance@ietfa.amsl.com
Delivered-To: dance@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA0623A1105; Fri, 24 Dec 2021 13:19:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
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 02rZXTb8EhBB; Fri, 24 Dec 2021 13:19:46 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 688FD3A0840; Fri, 24 Dec 2021 13:19:44 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 8188D38B6A; Fri, 24 Dec 2021 16:24:28 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xv6bzIVVZhtb; Fri, 24 Dec 2021 16:24:26 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id D73D238B69; Fri, 24 Dec 2021 16:24:26 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sandelman.ca; s=mail; t=1640381066; bh=G6uookN4NwW4WgE+iwMc8XPAysNZdsOvR/DZSdpD7oc=; h=From:To:Subject:In-Reply-To:References:Date:From; b=7iaN24gcpfBzlFdb464SyDxdnLg2T/AaTj3/XC2McYTeJFiTsEGYDEGMYvBjo2DOb slEJNPaLGqWZi4rS+T7rHy40K2i4a82vasaehb9EkYeoeIoS7L+wZyJp9tEOqVJE1h WBYjXIHPEHgtCQHZfNMR5qHU/Cuh3YRNxD8/erUFhUe7fDO4P/lQDOVP6LlYXTN+4z GUBjPfrBcEyoJgD0P8PZH1Z9b1eZwoey7efQ7Zd/WlBKJcg2m067uhbVxmUo9ler7k t/CsumxHLZ6Hs5C87KJd1kn0+IZEgynauc114kwBNnoEAnQr367rS0X76W4g1csMzj qeBUAO+qU03cQ==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 4686A48F; Fri, 24 Dec 2021 16:19:41 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Ash Wilson <ash.wilson@valimail.com>, "iotops\@ietf.org" <iotops@ietf.org>, dance@ietf.org
In-Reply-To: <CAEfM=vRgRJES9TPv84Far4iNadShhFnOuVNiO9usO5eH0JBXfg@mail.gmail.com>
References: <c58e3103bea80f4bcf9b55191d6c3066@mail.gmail.com> <AM8P190MB0979AB5D49205CA02B5308D7FD9F9@AM8P190MB0979.EURP190.PROD.OUTLOOK.COM> <CAEfM=vS2-zgLLVNbD1Dtj4sig=pRZRmBf4Ge1+XGqfBY1H1B_g@mail.gmail.com> <10960.1640305708@localhost> <CAEfM=vRgRJES9TPv84Far4iNadShhFnOuVNiO9usO5eH0JBXfg@mail.gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.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-sha512; protocol="application/pgp-signature"
Date: Fri, 24 Dec 2021 16:19:41 -0500
Message-ID: <20764.1640380781@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dance/BDx7aNt7FxFKisFKZnl4vJjEU4g>
Subject: Re: [Dance] [Iotops] Secure browsing local web resources
X-BeenThere: dance@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DANE Authentication for Network Clients Everywhere <dance.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dance>, <mailto:dance-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dance/>
List-Post: <mailto:dance@ietf.org>
List-Help: <mailto:dance-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dance>, <mailto:dance-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Dec 2021 21:19:50 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Ash Wilson <ash.wilson@valimail.com> wrote:
    > For a device with DANE ID a1b2c3._device.mfr.example, with an HTTPS
    > service:

...

    > mDNS Announce:
    > The device announces its own IP at ${HASH}.local where ${HASH} is a
    > truncated hash of the DANE ID (using an approach like
    > https://datatracker.ietf.org/doc/html/rfc8162#section-3, but hashing =
the
    > entire DANE ID)

    > IP address resolution:
    > If there are no A or AAAA DNS records for a1b2c3._device.mfr.example,
    > the client device uses ${HASH}.local for IP address lookup.

My reading of RFC6763 suggests that the lookup for ${HASH}.local could retu=
rn
a SRV record specifying where to connect, and the reference could be a FQDN
("a1b2c3._device.mfr.example"), and there could be a AAAA (A) RR returned as
additional data.   I investigated trying to configure this, but no software=
 I
found could comprehend it without a lot of rework.

    > Establishing a connection:
    > Client software establishes a TLS session with the device using the
    > IP address from mDNS, the DANE ID for SNI, and verifies the presented
    > server certificate against the TLSA record at a1b2c3._device.mfr.exam=
ple.

So, I think that you've just described an entirely new RFC6125 mechanism.
This is where I think that we get into trouble.

I'm not I see what DANE contributes anything here.  Wouldn't everything be
the same if the server certificate was transmitted inband?  If the client
knows to map the ${HASH}.local to a1b2c3._device.mfr.example, then aren't w=
e done?

    > It's worth noting that
    > https://datatracker.ietf.org/doc/html/rfc7673#section-4.1 describes w=
hat
    > might be an easier and more flexible way to convey the mDNS name, usi=
ng an
    > SRV record, instead of computing the ${HASH}.local identifier within =
the
    > client software.

I wonder if I'm describing the same thing above.


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmHGOW0ACgkQgItw+93Q
3WVpzAf+PggEyPXuEpO3GXdw7tB1llRi+qTqQlt8698ZgGYzWeuSD61LSD/iPCEx
6ssmgJCfgNO/ZQrhLZqKlD3N3Rdab1Kw2MhV4Cdbb2HIUuzkI1ItswT5gSjPgjU+
hcIgenTtNPwosjAW5dqVnsl5dPB+VVpV8Ejq3gc1IS+MPFoba1rdARZxaidNiK3n
hCul6pVdYi8yVrcRqJWCJKU8nE0hTaUuQ/nDhul1ESQINLQwNsBAmD1qkN0Cebqp
xsVksZsEzGmG4XiHv9w/YDkGAAkeyQRVUcW/IpWtzmUNGbqAi0aNWpcgVHXby9mP
RL6tagO3MwlHXpbBzLwJvxVDX4xC7Q==
=k8A6
-----END PGP SIGNATURE-----
--=-=-=--

