[OAUTH-WG] Re: Issuers, resolution, squatting, and the WebPKI

Jeffrey Walton <noloader@gmail.com> Mon, 09 December 2024 22:16 UTC

Return-Path: <noloader@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F09AC180B66 for <oauth@ietfa.amsl.com>; Mon, 9 Dec 2024 14:16:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 rfos6Rli_pvq for <oauth@ietfa.amsl.com>; Mon, 9 Dec 2024 14:15:58 -0800 (PST)
Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5633EC151701 for <oauth@ietf.org>; Mon, 9 Dec 2024 14:15:58 -0800 (PST)
Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-5401bd6ccadso1863955e87.2 for <oauth@ietf.org>; Mon, 09 Dec 2024 14:15:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733782556; x=1734387356; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=aSWCP6YbhxmOb9KZkz3P/0rHfZkQODpBuh8Lmvnmb9o=; b=Rt+uxHgslsf/OEjEob4o5xKT9cBbrQ5Ta2tIaOsaiiRjzxkcsLk7+nniAN3PbMtaBz 9oUemyfs3HecdyPyc/TgsS1AyLmaAw1YRWU4hiMT4AfWKJnX/vMVvnJzYi9mMg+nKBYd YY9A3z6zZFbTAMIQBKQyPNIuD+QmCK1pzY81uedDzKzeRWuu8rizKjQKCsVeqHxGXgdU HoK2cHbmop5TRWMk3OKGiZRidsvel/nZRIx14Q7z79iT6im6HxqrQ6PZeZTbp7X5jskd zB2F1P2YK3StmayyvzcaOOsjna6RSSrv8B9+BVHbD4dlUz7wYbBX+B6eQDwHI/9+AOgN Ls5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733782556; x=1734387356; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aSWCP6YbhxmOb9KZkz3P/0rHfZkQODpBuh8Lmvnmb9o=; b=rE4001I01QLK26VQ7yUDXg5acAZPm3kqYCV7EkANaqtyJip958QcJ+zg7uciIbqjY7 41F2wXfuKU7R6MHmzKm70PxBqAfYbReTXqMw4jRa2mD/CjGv0pk6HAHjXlTkdTn91mGF NVlPsIgg2M3Binqu6ZPHz/hUvlC93qpERiJ4bALC+jgjPl0FYoWHofqiD3f75C72GZWk NkR/9oZJg0ne7ruoirlsAbfvroeoymDo7FpX8ZNabWBGanWI40vHWcQhafLjyFbcdtMs wCgq4Om4+g+aOM6mKfmhe/fUP+0aboTUNdRZM6LHOrjimHhzrNDBXuW+2AdA2zMuwGyB fE+Q==
X-Gm-Message-State: AOJu0Yxhd62vw7DjLFCueVeaf0jC5YEm6rSeOdq0xvegrSlVdGuJI6mJ rw6dbKU2MSG4PhOXjVfG8a7V90LXIMGmP+/7S73ivpyTKkm564pGeiXUarZYSFYLtyGviGKDI/v reatYCwTDjtiNTtLsHS1g9Qr9iyI=
X-Gm-Gg: ASbGncttFx4xGM8JqWhgO1zc55FAbQst3GvZvel2xaPyBzjtVxyn9Ep7mNecyGQ/0U4 GUYg6vnPEbIzD94SFMywrQ6FZRgfT082QNg==
X-Google-Smtp-Source: AGHT+IEBivYxsgcjd7YTo0DQjZpb2inivXRl1XWR0RAoKKY+fRfrTx5CbvmXBYzQ50fgP9zz8RjtVAPMzPThIgJpqwQ=
X-Received: by 2002:a05:6512:3ca5:b0:53e:2f9d:6a74 with SMTP id 2adb3069b0e04-540240ae669mr765200e87.7.1733782556016; Mon, 09 Dec 2024 14:15:56 -0800 (PST)
MIME-Version: 1.0
References: <CACsn0cn+2Fry97tBjCBFu_8gzJF8CuG-YqS6f4Q0iC_ZkQyWYA@mail.gmail.com>
In-Reply-To: <CACsn0cn+2Fry97tBjCBFu_8gzJF8CuG-YqS6f4Q0iC_ZkQyWYA@mail.gmail.com>
From: Jeffrey Walton <noloader@gmail.com>
Date: Mon, 09 Dec 2024 17:15:19 -0500
Message-ID: <CAH8yC8k2N64gEHkA7mVEt=6P6S2+iqUHRMF1Qdt1skAuuWfJ-w@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: YWWLHIXYXNGIEIXWXHT3T67KPVCK7CVU
X-Message-ID-Hash: YWWLHIXYXNGIEIXWXHT3T67KPVCK7CVU
X-MailFrom: noloader@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-oauth.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: IETF oauth WG <oauth@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Reply-To: noloader@gmail.com
Subject: [OAUTH-WG] Re: Issuers, resolution, squatting, and the WebPKI
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/9KbKy2Ghawha1lA0aggKFsfySdI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Owner: <mailto:oauth-owner@ietf.org>
List-Post: <mailto:oauth@ietf.org>
List-Subscribe: <mailto:oauth-join@ietf.org>
List-Unsubscribe: <mailto:oauth-leave@ietf.org>

On Mon, Dec 9, 2024 at 3:02 PM Watson Ladd <watsonbladd@gmail.com> wrote:
>
> As I remarked in the chatter on the meeting today, and at the mike
> there's a bunch of complexity with issuers and resolution. Some of
> this is practical issues of how a verifier knows which resolution
> method to support, but there is some security content.
>
> Let's say the iss field has the value "example.com", and Example
> Issuance Inc is issuing credentials.  This can be interpreted several
> different ways
> - As a DNSName to check in X509
> - As a HTTPS URL to find issuer metadata
> - Potentially some other system that could resolve to an issuer.
>
> Now let's say a verfier is configured to trust credentials with iss
> field "example.com". Is this correct and secure? No: it depends on the
> resolution algorithm and crucially how the supported ones interact
> with what the issuer does to protect the namespace.
> - If a DNSName it's checked in a cert. It can also be a URL and get
> checked, so it's very ambiguous.
> - If as an HTTPS URL, but Example Issuance Inc. only really worries
> about X509 because that's what they issue with, then we could have a
> problem. Think of sites with subsites with vanity URLs for the class
> of issue. I seem to recall there was an ACME challenge that ran into
> this long ago.
> - Some other system might let anyone claim "example.com". Issuers in
> this other system are protected and secure as they registered their
> names and maintain them, but not ones who don't know about it.
>
> I hope this clarifies some of the issues that I've begun to think
> about. I think we need to explicitly say what the roots of trust look
> like: are they just values of the iss tag, or are they that plus some
> additional configuration? I know someone mentioned OpenID had a
> similar struggle: perhaps more can be said in reply.

This sounds a lot like some of the problems domain boundaries (dbound)
was intended to help with -- determine where administrative boundaries
lie, and determine who administrative authority is delegated to. Also
see <https://mailman3.ietf.org/mailman3/lists/dbound@ietf.org/>.

Jeff