Re: [Sidrops] Roman Danyliw's No Objection on draft-ietf-sidrops-cms-signing-time-06: (with COMMENT)

Job Snijders <job@fastly.com> Tue, 16 April 2024 15:50 UTC

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 70BA9C14CF1F for <sidrops@ietfa.amsl.com>; Tue, 16 Apr 2024 08:50:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, 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 IzhdKqjkdK7U for <sidrops@ietfa.amsl.com>; Tue, 16 Apr 2024 08:50:03 -0700 (PDT)
Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 D0D6BC14CE4B for <sidrops@ietf.org>; Tue, 16 Apr 2024 08:50:03 -0700 (PDT)
Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-57020ad438fso4302316a12.0 for <sidrops@ietf.org>; Tue, 16 Apr 2024 08:50:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1713282602; x=1713887402; 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=X4iDAWEw1FpeUvt6zf3Qhv5v6CPlCeU/LwezxJCJyz4=; b=usJqyvW7IDFwy+/DuoaOd35YQMlWgLnXC4zExuq6LTtMdgim395KpzmG60wXogdUTV cLl0vK3HgwndArliF/iFNBoe7MKFClBICNp3s+coHaEkJOZUdIhd2PrpBnpzH9qzkHvo ufH5Qinhcp5Mzm7MY7Xhr9h/9eaxg42milQ6w=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713282602; x=1713887402; 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=X4iDAWEw1FpeUvt6zf3Qhv5v6CPlCeU/LwezxJCJyz4=; b=XDRjloy8m+OSfgNFzRC8YV8A7igrw0Pb3H4yoBiGmHtm2/kfUqhCOBnewAbTGpsXFG f0K7rHYodxu/8tddjk8bIDRy1hmytkp4gblKZlvqL3uzUkrLJY1fvXoeMbDubndhObLH 2VYkvops9KsENELLkU6j741M8AXNY9Mp7n8jrbW6TmWJZcxpKGnlczL/TclGM+CmRu8f 72xsZqHaWMJTZQHYtAGKqt/59p0uRZHV4gPYuwR6i2knguJ9wZ3WKqUeXl8+9qEMxpt9 60Qj8SUY02Y+h04UXnFz8HyaXo4j0x9W6eBd/Ip8aVxaSwnBvKHZOwrCR0cxjh/lhLXF J2zg==
X-Forwarded-Encrypted: i=1; AJvYcCXF0lkUMTqMk8lz1R6t046SPfK+YUVt+cQ7bfvZQOcS28fmkbL/o+4dJ0kdgopAMl8Bzx4hxCgPsDYf6wChbq70
X-Gm-Message-State: AOJu0YzvpjTS4cwDV9LAAd+4dTcgDnawJ+TEPEC5whTWuype3GyumKC8 0lZ9dW9EVsc1egjWv9yU7ripMkkYVqTOWfRmhPcJA2e/cTq1J4TGtIXszLVEAMI=
X-Google-Smtp-Source: AGHT+IGBocyt/MaVaFnGWlG61+l7WOJmRe3KwhoZHL+ZX9qhQRfAzybor+zu+3t06GyvWmMg+u2QdQ==
X-Received: by 2002:a05:6402:5489:b0:570:20:e62d with SMTP id fg9-20020a056402548900b005700020e62dmr2998808edb.8.1713282601687; Tue, 16 Apr 2024 08:50:01 -0700 (PDT)
Received: from snel ([2a10:3781:276:3:16f6:d8ff:fe47:2eb7]) by smtp.gmail.com with ESMTPSA id di22-20020a056402319600b0056e5a095c49sm6231583edb.78.2024.04.16.08.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 08:50:01 -0700 (PDT)
Date: Tue, 16 Apr 2024 17:49:59 +0200
From: Job Snijders <job@fastly.com>
To: Roman Danyliw <rdd@cert.org>
Cc: The IESG <iesg@ietf.org>, draft-ietf-sidrops-cms-signing-time@ietf.org, sidrops-chairs@ietf.org, sidrops@ietf.org, housley@vigilsec.com
Message-ID: <Zh6eJzCVuBkFaXeZ@snel>
References: <171320653863.38467.8197533205948451077@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <171320653863.38467.8197533205948451077@ietfa.amsl.com>
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/tyidSmjY-xkPBM2sVhBPBvaVgLI>
Subject: Re: [Sidrops] Roman Danyliw's No Objection on draft-ietf-sidrops-cms-signing-time-06: (with COMMENT)
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.39
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, 16 Apr 2024 15:50:07 -0000

Dear Roman,

On Mon, Apr 15, 2024 at 11:42:18AM -0700, Roman Danyliw via Datatracker wrote:
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Thank you to Gyan Mishra for the GENART review.
> 
> ** Section 2.*
> 
> -- Section 2
>    When the content of a file is unchanged,
>    Publishers SHOULD ensure that the last modification timestamp of the
>    file remains unchanged as well.
> 
> -- Section 2.2
>    When serializing RPKI Signed Objects retrieved via RRDP to a
>    filesystem hierarchy, the mod-time of the file containing the Signed
>    Object SHOULD be set to the value of the CMS signing-time attribute
>    contained within the Signed Object.
> 
> How does this mechanism work if the timestamp is not set per the above
> guidance?  Why not MUST?

If the timestamp is not set per above guidance, a needless re-transfer
of previously distributed data will happen. It results in a waste of
bandwidth, that's all. I think 'SHOULD' is more appropriate because
there is no enforcement mechanism: for example, the timestamp does not
impact the validity of the RPKI objects.

I also don't want to put existing operations in a state of
'non-compliance', and erred to the side of softer guidance. This
document describes an optional optimization strategy.

> ** Section 2.  Editorial.
>    As described in [I-D.ietf-sidrops-prefer-rrdp], all modern RP
>    implementations will first attempt synchronization via RRDP.
> 
> Is “modern” characterization that will age well in an RFC?

Good point. I changed wording in the edit buffer, please review
https://github.com/job/draft-sidrops-cms-signing-time/commit/e3879df7dd3d06b574df7b3620fbeafe0de1c9cc

> ** Section 2.2.  Section 2 says the “Publishers and RPs SHOULD adhere to the
> following guidelines”, where these guidelines are Section 2.*.  Later, in
> Section 2.2, there appears be guidance around the specific invocation of
> [rsync] and [openrsync].  Hence, both of these references need to be normative.

OK. Done
https://github.com/job/draft-sidrops-cms-signing-time/commit/36e31f8cb298ef3e4770a306a88edc665f00c4b9

> ** Thanks for the analysis in Section 3.

You are welcome, I burned a fair bit of CPU cycles on parsing old RPKI
data :-)

Kind regards,

Job