Re: [Sidrops] I-D Action: draft-ietf-sidrops-aspa-profile-15.txt

Martin Hoffmann <martin@nlnetlabs.nl> Wed, 28 June 2023 15:33 UTC

Return-Path: <martin@nlnetlabs.nl>
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 B2035C15154F for <sidrops@ietfa.amsl.com>; Wed, 28 Jun 2023 08:33:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.098
X-Spam-Level:
X-Spam-Status: No, score=-7.098 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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=nlnetlabs.nl
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 obx9rUYSdbxM for <sidrops@ietfa.amsl.com>; Wed, 28 Jun 2023 08:33:11 -0700 (PDT)
Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 608B7C15109B for <sidrops@ietf.org>; Wed, 28 Jun 2023 08:33:10 -0700 (PDT)
Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4Qrlw41xlVzHg; Wed, 28 Jun 2023 15:33:08 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4Qrlw367SlzJQ; Wed, 28 Jun 2023 15:33:07 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nlnetlabs.nl; s=soverin; t=1687966388; bh=xI+dqLvwUeWXWtNU4YMnxdlaMHOJcB4LgLnfGPPTfLw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HodIdiqgPOSiUkrqsh9KZNZwTCHq1MyYbEubM7S3X02ZMEcj8Udq1Z4lCfKiFLqwl oifa0S5drbVkl/Tl0oHMJx9WshDeeAeLKWAjiwjXxZZYhrwko0whbHHqD9Ik7qn1KF Tz0qrIPPoNoN9EwEvKHqSE5QH3A0GNT1Hu8jfmlOGZCIdr6Bk53QXSF9wkzGwnhWKp R2bmj8q8sHIXoDTGI/srflt2zI/FJ52t2GIOdWpKNVJgDfIwOpdFMdx/JBGLIAkekS AaBtUX8q1WgCpyC/KjdkJUuKm5/wgGIhjRen1LFjUeq2KWwwu9ml9pv/oYaxSjIrid NvY4M30SdtEpg==
Date: Wed, 28 Jun 2023 17:33:07 +0200
X-Soverin-Authenticated: true
From: Martin Hoffmann <martin@nlnetlabs.nl>
To: Job Snijders <job=40fastly.com@dmarc.ietf.org>
Cc: sidrops@ietf.org
Message-ID: <20230628173307.29fefec2@glaurung.nlnetlabs.nl>
In-Reply-To: <ZIGogKIH4Srb8Nxt@snel>
References: <168621843689.33017.6897451444105786551@ietfa.amsl.com> <ZIGogKIH4Srb8Nxt@snel>
Organization: NLnet Labs
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/fKNQ-wcMsA1ZJqSW1plWv30h4Z0>
Subject: Re: [Sidrops] I-D Action: draft-ietf-sidrops-aspa-profile-15.txt
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: Wed, 28 Jun 2023 15:33:15 -0000

Hi,

Job Snijders wrote:
> 
> The internet-draft changes is best viewed by comparing -13 and -15:
> https://author-tools.ietf.org/iddiff?url1=draft-ietf-sidrops-aspa-profile-13&url2=draft-ietf-sidrops-aspa-profile-15
> 
> An example object is available here:
> rsync://chloe.sobornost.net/rpki/RIPE-nljobsnijders/5m80fwYws_3FiFD7JiQjAqZ1RYQ.asa

I think that object as well as the example object in the draft are not
actually correct according to the ASN.1 module definition in the draft.

The module is opened with

| DEFINITIONS IMPLICIT TAGS ::=

and the version field is defined as

| version [0]   INTEGER DEFAULT 0,

This means the version should use an implicit tag whereas the objects
use an explicit tag:

|    [0] (1 elem)
|       INTEGER 1

(and implicit tag would be:

|    [0] (1 byte) 01

) 

I _think_ this is an error in the module definitions. All X.509 and CMS
modules seem to use explicit tags for their version fields.

While we are at it, I would like to again raise the suggestion to not
use a version 1 here but rather stick to 0 and use a different
content type OID. The older and newer definitions are not compatible,
so a new OID feels more appropriate than a version change.

  -- Martin