Return-Path: <job@fastly.com>
X-Original-To: sidrops@ietfa.amsl.com
Delivered-To: sidrops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by ietfa.amsl.com (Postfix) with ESMTP id D36FBC169427
	for <sidrops@ietfa.amsl.com>; Tue, 22 Oct 2024 05:30:09 -0700 (PDT)
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, RCVD_IN_DNSWL_BLOCKED=0.001,
	RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001,
	SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01,
	URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001]
	autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
	header.d=fastly.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 tE9L5yc54oUW for <sidrops@ietfa.amsl.com>;
	Tue, 22 Oct 2024 05:30:06 -0700 (PDT)
Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com
 [IPv6:2a00:1450:4864:20::12d])
	(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 21A56C180B50
	for <sidrops@ietf.org>; Tue, 22 Oct 2024 05:30:06 -0700 (PDT)
Received: by mail-lf1-x12d.google.com with SMTP id
 2adb3069b0e04-53b13ea6b78so1124555e87.2
        for <sidrops@ietf.org>; Tue, 22 Oct 2024 05:30:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=fastly.com; s=google; t=1729600204; x=1730205004; darn=ietf.org;
        h=in-reply-to:content-transfer-encoding:content-disposition
         :mime-version:references:message-id:subject:cc:to:from:date:from:to
         :cc:subject:date:message-id:reply-to;
        bh=adIIfGONQHFb0ZyJoq0DIBR6tuCR9oAPsroPBer0XJU=;
        b=KWe8eeJRKbpZl9P3xg203yLIcrkTfvuE18FW3IIpIVi4R3wdQakA3aXtmRTUGJ6Qg/
         BTCf7B7wRUJEtlk9qXJwBkNumkq/r3mpP3kIqdw36GQCTHxldOcJMJkQZSVVAUCVrilZ
         GSbfvxsXbvwTpzoRym2ySTg5ezv+EKfjN0UaA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1729600204; x=1730205004;
        h=in-reply-to:content-transfer-encoding:content-disposition
         :mime-version:references:message-id:subject:cc:to:from:date
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=adIIfGONQHFb0ZyJoq0DIBR6tuCR9oAPsroPBer0XJU=;
        b=Wq9iy4OXVT8VRgCI7TUs++Y9r0IlymZQIOQsV91a7632/aOsJXLgzLtnFyuyXUIl0A
         lqESXyirDi1VID6FiV8RDmWd3k9OrGfzuybaLTCQDkg18kx0uzBLQsl3z8syUaBMAoe8
         xUknkRHaUd+gBX2tIzSaRV7sZvHaL2c6z27lJE1BdE/K8wBmAvBTDorqWzex/bbZlBTy
         8acKJ5oEZ8U912KhvhMjdYbtraTNX85C4XHpEOUcSLoVDYV+yyJhkkit2ENDe7q2eirD
         0s8AzmxZ+6A6/NX+JkNmtMDq8pN89FZCqoVUmq5sRGvitJM/Ta8CslBFdu8sYRJ2U8P3
         cRYA==
X-Forwarded-Encrypted: i=1;
 AJvYcCVGLUDbDrqmYnMexI0PHtVDTk/BlOBA6dELtA46f52oCbGa21LmPvF00prqFDk8puINKEh82Kyt@ietf.org
X-Gm-Message-State: AOJu0YzDwiOvjgbLQNbuTYz0ZhEKCka+CRr7ykI9oRRuIdnoVgKhAjMe
	IwT3U9HCLdwKnFYtsToVi6EkspowT8DmgViaaertkzDbCtktSt2gB11LdtFy73k=
X-Google-Smtp-Source: 
 AGHT+IGMDuPiYEaya+MFubjt73/w0Rqt6AynQ80a+69HXSuIDVFE7U/J/KVe1J/QRq/Q54WulhBrog==
X-Received: by 2002:a05:6512:b1f:b0:536:54ff:51c8 with SMTP id
 2adb3069b0e04-53a1544460bmr11032751e87.17.1729600203860;
        Tue, 22 Oct 2024 05:30:03 -0700 (PDT)
Received: from fast ([2a10:3781:276:0:e52e:61d0:ed0d:713c])
        by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a9a912f661esm331469766b.83.2024.10.22.05.30.02
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Tue, 22 Oct 2024 05:30:03 -0700 (PDT)
Date: Tue, 22 Oct 2024 12:30:01 +0000
From: Job Snijders <job@fastly.com>
To: Erin Shepherd <erin.shepherd@e43.eu>
Message-ID: <ZxeayWl_0X9XMvYF@fast>
References: 
 <CAMEWqGuteXVkJdXfn3Ls4+kFXQ+ZTDFvT23Y7O8iKNJhFfOwng@mail.gmail.com>
 <BB5B0F75-E4FB-40FB-9A5A-6DB9A9B31FDD@ripe.net>
 <Zr326KAHIudi-gdh@snel>
 <D93F6B52-AE7E-4BA2-A753-23AADA31F609@e43.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <D93F6B52-AE7E-4BA2-A753-23AADA31F609@e43.eu>
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID-Hash: DYOZZLW4DOCEI57OCOEISFZ3X6BDMSHG
X-Message-ID-Hash: DYOZZLW4DOCEI57OCOEISFZ3X6BDMSHG
X-MailFrom: job@fastly.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
 loop; banned-address; member-moderation; header-match-sidrops.ietf.org-0;
 nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size;
 news-moderation; no-subject; digests; suspicious-header
CC: Tim Bruijnzeels <tbruijnzeels@ripe.net>,
 Q Misell <q=40as207960.net@dmarc.ietf.org>, grow@ietf.org, sidrops@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: =?utf-8?q?=5BSidrops=5D_Re=3A_=5BGROW=5D_Peering_API_Discovery_-_Use_of_sign?=
	=?utf-8?q?ed_checklists?=
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/sidrops/42p-BSlf2t7B0ZpKgOucmaD7Nu4>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Owner: <mailto:sidrops-owner@ietf.org>
List-Post: <mailto:sidrops@ietf.org>
List-Subscribe: <mailto:sidrops-join@ietf.org>
List-Unsubscribe: <mailto:sidrops-leave@ietf.org>

On Tue, Oct 22, 2024 at 01:42:46PM +0200, Erin Shepherd wrote:
> In particular RSCs do not have binding of purpose (what is being
> signed) or audience (who it is being signed for).

RSCs are not distributed through the global RPKI repository system, they
are distributed through private channels.

> The latest version of the MR attempts to hack around this by requiring
> the use of two named files, one of which contains the peering API base
> URL.
>
> In 2024 we should not be designing cryptographic protocols whose
> security properties rely upon magic filenames in otherwise
> unconstrained fields.

The fileName field is optional and it is not unconstrained: characters
are constrained to [a-z], [A-Z], [0-9], '.', '_', and '-'.

> I strongly believe that, to do this to the security standards we
> should be expecting of modern-day Machine-to-Machine IETF protocols
> requires a system whereby my RPKI CA understands what I’m asking it to
> sign.

The CA understands exactly what it is doing: it is signing over a
checksum listing with a specific set of Internet Number Resources.

But on the other hand, RP should be cognizant the data in a RSC is
self-asserted. The self-asserted data thusly be applied in a context
that makes sense for the RP (for instance, if the nonce is as expected).
Then again such caution must also be applied to data derived from signed
objects that do have a purpose-specific content-type...

> That perhaps requires a new RPKI content type. Sadly, this is how
> things sometimes work out.

It sounds like instead of using specific values in the opaque 'fileName'
label field, you'd prefer to hardcode a bunch of stuff?

Ultimately an RSC is a RPKI-chained signature over one or more SHA-256
hashes. If the Peering API cannot be made to work to establish
inter-domain trust with such a fundamental building block, something is
off.

Subjectively, one might have a preference for hardcoding purposes via
content-type versus using a general purpose mechanism such as RSC; but
the fundamentals remain the same.

> (The exact form of this is of course something that would need to be
> worked out. The OAuth ecosystem would probably prefer a JWT signed by
> an RPKI-chained end entity certificate. Perhaps the request itself
> could also be signed and so could encode “Authenticate to <the peering
> API> at <https://….> for <AS12345, AS23456, …>”) 

Sure, a lot of things are possible.

Kind regards,

Job

