Re: [Sidrops] Manifest entry filename validation

Job Snijders <job@ntt.net> Tue, 24 November 2020 15:03 UTC

Return-Path: <job@ntt.net>
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 505DF3A10B4 for <sidrops@ietfa.amsl.com>; Tue, 24 Nov 2020 07:03:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.002
X-Spam-Level:
X-Spam-Status: No, score=0.002 tagged_above=-999 required=5 tests=[SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=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 kDcTyXTgrIf7 for <sidrops@ietfa.amsl.com>; Tue, 24 Nov 2020 07:03:33 -0800 (PST)
Received: from mail4.dllstx09.us.to.gin.ntt.net (mail4.dllstx09.us.to.gin.ntt.net [IPv6:2001:418:3ff:5::192:26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E90713A10B1 for <sidrops@ietf.org>; Tue, 24 Nov 2020 07:03:32 -0800 (PST)
Received: from bench.sobornost.net (mieli.sobornost.net [45.138.228.4]) by mail4.dllstx09.us.to.gin.ntt.net (Postfix) with ESMTPSA id B6042EE0140; Tue, 24 Nov 2020 15:03:31 +0000 (UTC)
Received: from localhost (bench.sobornost.net [local]) by bench.sobornost.net (OpenSMTPD) with ESMTPA id 2d0cce22; Tue, 24 Nov 2020 15:03:30 +0000 (UTC)
Date: Tue, 24 Nov 2020 15:03:29 +0000
From: Job Snijders <job@ntt.net>
To: Stephen Kent <stkent=40verizon.net@dmarc.ietf.org>
Cc: sidrops@ietf.org
Message-ID: <X70gwea4Fd5F0V57@bench.sobornost.net>
References: <18CC986C-97FA-41F6-A530-F782D3104A31@ripe.net> <73eae8a5-a400-cb45-7fbc-9cc7f79be804@verizon.net> <X7aywnRgq3ubVUBu@bench.sobornost.net> <X7bVOm2uzffEWbMY@bench.sobornost.net> <DB542A6C-A0CB-4F0A-9D15-B06AA3B98875@ripe.net> <X7vQ+ff7yAHYuF3e@bench.sobornost.net> <47A14E7B-89DA-4C9D-AFEF-41F1C1CDC607@ripe.net> <1a26db25-a898-2a19-77c1-70e620def269@verizon.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <1a26db25-a898-2a19-77c1-70e620def269@verizon.net>
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/t33iu19AJCMWqvitnJ-FLPlodt4>
Subject: Re: [Sidrops] Manifest entry filename validation
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidrops>, <mailto:sidrops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops/>
List-Post: <mailto:sidrops@ietf.org>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidrops>, <mailto:sidrops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Nov 2020 15:03:34 -0000

On Tue, Nov 24, 2020 at 09:42:46AM -0500, Stephen Kent wrote:
> I think we're getting closer to a rigorous description. I like your concise
> text, but it doesn't cite the relevant list of allowed extensions, as
> suggested by Tim.  Also, the requirement that extensions be lowercase
> is redundant - RFC 6481 already dictates this for manifests, ROAs,
> CRLs, GB records, and  (all types of) certs.
> 
> Thus I suggest the following:
> 
> Section 4.2.2 "Names in FileAndHash objects"
> 
> Names that appear in the fileList MUST consist of one or more characters chosen
> from the set a-z, A-Z, 0-9, - (HYPHEN), or _ (UNDERSCORE), followed by a single .
> (DOT), followed by a three-letter extension. The extension MUST be one of those
> enumerated in the "RPKI Repository Naming Scheme" registry maintained by IANA [IANA]
> 
> As an example, 'vixxBTS_TVXQ-2pmGOT7.cer' is a valid filename.
> 
> add the following Normative Reference entry:
> 
> [IANA] https://www.iana.org/assignments/rpki/rpki.xhtml#name-schemes

OK for me, thank you all for picking at this until it looked right

Kind regards,

Job