Re: [Mimi] Another discovery strawman

Richard Barnes <rlb@ipv.sx> Fri, 15 September 2023 13:49 UTC

Return-Path: <rlb@ipv.sx>
X-Original-To: mimi@ietfa.amsl.com
Delivered-To: mimi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4604EC151552 for <mimi@ietfa.amsl.com>; Fri, 15 Sep 2023 06:49:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.896
X-Spam-Level:
X-Spam-Status: No, score=-6.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_FILL_THIS_FORM_SHORT=0.01, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ipv-sx.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T3d9IFcVM4vL for <mimi@ietfa.amsl.com>; Fri, 15 Sep 2023 06:49:23 -0700 (PDT)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98D96C15152F for <mimi@ietf.org>; Fri, 15 Sep 2023 06:49:23 -0700 (PDT)
Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-52a5c0d949eso2496595a12.0 for <mimi@ietf.org>; Fri, 15 Sep 2023 06:49:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20230601.gappssmtp.com; s=20230601; t=1694785762; x=1695390562; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=785r+CWYyPe2IypKLIcvNk2Jw1VMLNY3rrCdkJRLcAY=; b=Bf2dShcl+OSkFTUZFlGt+i61Si4kO1yMxRiHOE3hfsm1/r0xon+Depy5QwfJu2ew5h Kmks5H5LOJUC0fYcmmNcr6TZ4Gt/SKF5sSNzpcDS3z7MjnsnX962pie73pJLbuYZTaXy AJPOkYcrLHjO+F9tJt9dQvaBtls83Q91yIhrPDyEkoe0HSzHTG9W+Pwxv845RrMna2e2 nIyljJIHphVWIDyevDCzad6aVt+bJ6JmQp9iKN9Uc8ueWqC4Eca30kr6MMNVoCsMOqsK ukGc46QZ4AVbtpfYfAzLCh10+IGZdGlHhgMXwJ8Bq7Dh2TTP62kB6wflGWT4MfSEBshq rykg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694785762; x=1695390562; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=785r+CWYyPe2IypKLIcvNk2Jw1VMLNY3rrCdkJRLcAY=; b=vXfsfVtyMrU9iLwYO/AY7cHvjQlVd7o3hKsbClDB/YNJAOV/G0tTkr/7VMV0rpGw8U ytJlSmbLr2cVlMj8e/b9AdnAqRAf/iaNkGcQTgv1HN00b2VgOX/ieXE1LvV4fDwS1iM2 axwhYt2ezeDGuzJI0ZULOjoWox59qf6cCoCiNjzZIUkpdPTEBETGOj0QSNYm1C0djS0f xLTiOH4Jqh1NvXx12gZp3JOAknuNZXEjM6MZWQrtXBPmHnkHnLPNrlA4rFXXXst3EmIQ uWeQVMOOIAh577pxUcIBM7/vHabx4QJiR1W0Xmczc5zbCz99IbtepvFDr1k9PzHbCAHn z55g==
X-Gm-Message-State: AOJu0YwNi6Yd52YWluLp/31efI+WoUErgl7kS/aejSEskfre9TlUnW+B y3/UJ3jop+G4WP9Be3GIZOz2BV8XpiU//DFW/FIqmHTDcARCkkxoJY0=
X-Google-Smtp-Source: AGHT+IFxc+tNZ7xyCqw+seYTQSz4pZw1ZTqy/wNwZuSgJhoPYOgbQlD+C2XspdDCvz2O2Q8aLiptyuGB7/o/uTnn9nU=
X-Received: by 2002:a17:906:8456:b0:99d:fd65:dbb2 with SMTP id e22-20020a170906845600b0099dfd65dbb2mr1475557ejy.33.1694785761609; Fri, 15 Sep 2023 06:49:21 -0700 (PDT)
MIME-Version: 1.0
References: <CAL02cgTdB2OFZ152x1-1bvKu7c=CQv=_9SB8x=__0WMfAuUnoQ@mail.gmail.com> <CAAQiQRdLFPbXseR+ND92dv5aMSF5NRbVMzNHcj0i48=4r44nmQ@mail.gmail.com> <CAL02cgRK9M37ZkJvq2iw8wjTeygRnj043ydJ1CRN4TigV6pqEg@mail.gmail.com> <CAAQiQRdoEe89+FhFOPKBprGXEbT5sGQDs406FfF_-GYdmQLAxA@mail.gmail.com> <CAL02cgSbaGfMQTqZYAArY71TfskOTkyO4a4tHzQCpMnDQs5R1Q@mail.gmail.com> <CAAQiQRfNno3-u3gp2LGE-H4evrNbFgvzitL3SZxjgmJvmgrrOw@mail.gmail.com> <CABcZeBNfczgzvcqj2qQa68gsxj7OGmWFPft0z=P3Ases6DWHng@mail.gmail.com> <CAAQiQRc-=M5WQnjNN9Y6nyu=TC-g6d08QxjZhoSEPymT2i_Agg@mail.gmail.com> <CABcZeBOrJCop48aH_Zg3RN6vAxenAiOaRab4xWUidbok7kmJZQ@mail.gmail.com>
In-Reply-To: <CABcZeBOrJCop48aH_Zg3RN6vAxenAiOaRab4xWUidbok7kmJZQ@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Fri, 15 Sep 2023 09:49:10 -0400
Message-ID: <CAL02cgToxWE4cifKYTP5NWwpn6Ur84YLmQfaVY7-T-qvNX43Ag@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Andrew Newton <andy@hxr.us>, mimi@ietf.org
Content-Type: multipart/alternative; boundary="0000000000004a9f040605660fa6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mimi/5nt18LvsAp_XNdSgZWYpCtpfqic>
Subject: Re: [Mimi] Another discovery strawman
X-BeenThere: mimi@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: More Instant Messaging Interoperability <mimi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mimi>, <mailto:mimi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mimi/>
List-Post: <mailto:mimi@ietf.org>
List-Help: <mailto:mimi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mimi>, <mailto:mimi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Sep 2023 13:49:24 -0000

I think we're talking past each other a little bit here.  Let me try to
reset context from the top.

IIUC the following properties of the MIMI ecosystem are pretty well
established:
* Each user will have an SSI with each application they use
* Each SSI may be mapped to one or more SIIs
* The SSIs will have some encoding that represents both the user and the
application provider
* The SIIs may be of many types, e.g., E.164 addresses or email addresses
where the domain is not the application provider
* ... but what makes an SII an SII is that it does *not* indicate an
application provider, since it is service==provider-independent
* Resolving an SSI is straightforward; you just ask the application
provider indicated in the SSI for information about the user
* Resolving an SII is the "discovery" problem

Vittorio's draft confuses SSI resolution and SII resolution, and in any
case, the DNS isn't good for either.  For SSIs, as noted elsewhere in the
thread, it blurs the distinction between provider and user, and provides a
mediocre, 1980s-grade query interface.   For SIIs, in addition to the above
weaknesses, it would require mapping any SII namespace into the DNS, which
has already been tried for both E.164 numbers (ENUM, RFC 3761) and email
addresses (e.g., SMIMEA, RFC 8162), and failed to achieve traction in
either case.

So unless you really want to argue that DNS is a better query interface for
resolving (user, domain) identifiers than say WebFinger or some .well-known
thing, I don't think there's really a role for DNS to play here.  (Other
than serving boring old A records)

--Richard


On Fri, Sep 15, 2023 at 9:26 AM Eric Rescorla <ekr@rtfm.com> wrote:

>
>
> On Fri, Sep 15, 2023 at 5:38 AM Andrew Newton <andy@hxr.us> wrote:
>
>> On Thu, Sep 14, 2023 at 7:48 PM Eric Rescorla <ekr@rtfm.com> wrote:
>> >
>> >
>> >
>> > On Thu, Sep 14, 2023 at 9:57 AM Andrew Newton <andy@hxr.us> wrote:
>> >>
>> >> You had me until the "no CDNs" part. :) It does strike me that
>> >> WebFinger might be more appropriate than a new DNS RR for this use
>> >> case. That said, the attractiveness of this solution is that it
>> >> doesn't rely on "hope".
>> >
>> >
>> > In what way doesn't it rely on hope? It starts from the premise that
>> we're not going to use the main type of identifier (E.164 numbers) that are
>> used for the vast majority of messaging users.
>>
>> Users MAY have phone numbers, but they use contact lists.
>
>
> And those contact lists contain phone E.164 numbers.
>
>
> I agree that
>> if an SII can be ANY identifier then the DNS solution has issues, but
>> it is not clear (at least to me) that such a requirement exists.
>>
>
> Well, I'm not sure what would persuade you, but as the situation currently
> stands, a large fraction of the accounts with the current gatekeepers use
> E.164 identifiers, by which I mean that they are not only what people use
> to authenticate to the gatekeeper but how they address each other.
> It's hard to see how we can have a viable system that those gatekeepers
> adopt if we require them to change that.
>
> -Ekr
>
>
>
>