Re: [netconf] Francesca Palombini's No Objection on draft-ietf-netconf-crypto-types-29: (with COMMENT)

Francesca Palombini <francesca.palombini@ericsson.com> Wed, 31 January 2024 13:42 UTC

Return-Path: <francesca.palombini@ericsson.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B3D6C14F6FF; Wed, 31 Jan 2024 05:42:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=ericsson.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 ODP0pSeCCPdn; Wed, 31 Jan 2024 05:42:51 -0800 (PST)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2075.outbound.protection.outlook.com [40.107.21.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A675DC151070; Wed, 31 Jan 2024 05:40:38 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NiQMbJ9cI/Ys6Uo4bb9FrkaZfSI5lU4a+1FoTHLF6AkFHYMcjk8dZmCYq9AM9QY/mgcpd9wypWgVW9vkrGAbGPQ3242keKGaffZoxu/br/KBUmB+r3YBf+FUED9DE8Y+9DT2f7G+cvBdaXo+wx2E8hP19mdrGOSqKfLuk2FdiwgF4H7WcJWtX+V5RzshGXABvHDP/yNx3KsjAOOq1cdgJARnO0CNHW5eGq87xoM9JYzPS/eXG3zIb6bS6nHei42vPXsrTLfC4kW9M8ZXrsj/L8SyPcznA2DfymD62nuBzwqbowpkxRlXgRe+1pYx7KWYoxXL/KwHbcZkih8+7ep9oA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7i5Bp9KdZX1kIC0W/6IQfDDsKOOHS+6xdf7/Xr4Xn+w=; b=COETaZSzZcheoNcPj8UPkah/ZFqb5T3oA+bApgbeV+D7wZh6RBFFced1oIzmTTJa7I9Mz8wh21AQj1MQwGlppcAuHtCmBeCtTW8hU8Vm8RjPFYBicFbnks1iWBS9sqSAi9UnKuDe1WGDeQtgTVli8I6iEo4P4bEYi4mj/rV0d6Jxz9+GMJ6iOMlvpmNpecinhGLeg35WPaAGrbBo/QJMb8gisYMNazeVuzaeHOqZv7/6g9aorMhHl9lnpwnvFwCaa7WoRmtKvyXVOa3FEP8oqUdXO51NyDHAgcVzTdh1+SUQRFmHM63WKNgODVSo2ierNVq293sdLGl8vEBJAriJuA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7i5Bp9KdZX1kIC0W/6IQfDDsKOOHS+6xdf7/Xr4Xn+w=; b=S/vhHi+NSVl2cGyaaoW1Oy08ZJYDGXqXdmjtXZcDAMrhWXpbfExVAmg93m4lbsbXan/Q58AhOQ7c5Oqgmz7ErXa1WohkbGdgr6Dsg4TIYKPsO6F9a56evZ8NXDqwPhf4Z4dpMRtW2RzW6MpkCTStq/WHNz9WMz191frog8SpQF0rEAA8EvYRjog4TRfNLye1cr4JtEnwmAMSja8NA0Ye8Z7AkZ4JWegPxcPEZH2FpMIk6f43zoSEjBz0AJZlgoRPOnM5HCj/67ot/31SPKXK8OGwkx5axcwW16D2domaaWrCDJHU3XpzcHpaRJ1Rbb1QXPfztI+b439q1lyPFcJ53g==
Received: from AM0PR07MB6019.eurprd07.prod.outlook.com (2603:10a6:208:10f::14) by VI1PR0701MB6766.eurprd07.prod.outlook.com (2603:10a6:800:197::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.27; Wed, 31 Jan 2024 13:40:35 +0000
Received: from AM0PR07MB6019.eurprd07.prod.outlook.com ([fe80::3c45:85ca:6f83:4887]) by AM0PR07MB6019.eurprd07.prod.outlook.com ([fe80::3c45:85ca:6f83:4887%6]) with mapi id 15.20.7249.023; Wed, 31 Jan 2024 13:40:35 +0000
From: Francesca Palombini <francesca.palombini@ericsson.com>
To: Carsten Bormann <cabo@tzi.org>
CC: The IESG <iesg@ietf.org>, "draft-ietf-netconf-crypto-types@ietf.org" <draft-ietf-netconf-crypto-types@ietf.org>, "netconf-chairs@ietf.org" <netconf-chairs@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] Francesca Palombini's No Objection on draft-ietf-netconf-crypto-types-29: (with COMMENT)
Thread-Index: AQHaVEYbtsZHNm0cGkm6X85D86P6aLDz5vmAgAAFb8k=
Date: Wed, 31 Jan 2024 13:40:22 +0000
Message-ID: <AM0PR07MB6019FFA25EEF09B503D0DF97987C2@AM0PR07MB6019.eurprd07.prod.outlook.com>
References: <170670628452.55766.11991207802136495252@ietfa.amsl.com> <8D4289E5-C908-483A-AD82-7297C544BC57@tzi.org>
In-Reply-To: <8D4289E5-C908-483A-AD82-7297C544BC57@tzi.org>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM0PR07MB6019:EE_|VI1PR0701MB6766:EE_
x-ms-office365-filtering-correlation-id: fdc49d75-9bb5-401f-3481-08dc2262340e
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /JgtfPXUL4S2kmo+oHlxSYHfANogcseuzAdfhlHIIYURQJrXeAAmmrJhhXTa2nweVgXpXx5mEnHvgb3QRoObHQOmlPN5gAouWI6UdQXNWbUNJA50MkNNNtRD2/Rio+29TvHMnFxGPphDpdSpcR8KaWSJRl86cOHNUNHTM+g+StGeDPSj2G2bnzK9Ky82FZb3vGOv+HMasuVmni/ax2V/UAZtl5UEoumLRYdYN2ycZjAWZ1h4UHeV+8YqKvB5Ds8x71HuGPQ+xgKdCT6t/Y5mYiXVeIVP3tFgNhqS+IbT/0tLWl51UkcEqP9Z2LID+E5OZjcQlFLMukDUNLaI7aJgvTFEwLI1fsmfWhtpBoYxC9Etng6UEKI2baBJeCg3kyRq6deVmdW4dnWgq4DdNCkeDs+IlrysinDK/KZEi+ZBoD5AoUSa3ifGUD/RL5OSLYHdKwpxC0ZVIO5mVntAwpzFZ1A8GbSJnlt617KRE9vkFnJaSv+IyTeQks+UROHjw3kb4WabngZ77gOjQVCCv5yE7G5aj1XllRhY/wHtEFu/yc69eatJy4DCwhRdM8IrO+IcFRd3cxwL/3kkBa+XGQOOBah8reD0amCyWVTvVr+ejXjpgreF969cqzKTKcab0hYh
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB6019.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(39860400002)(346002)(366004)(396003)(136003)(230922051799003)(1800799012)(451199024)(186009)(64100799003)(44832011)(66556008)(2906002)(5660300002)(82960400001)(86362001)(33656002)(38100700002)(66946007)(478600001)(38070700009)(6506007)(53546011)(7696005)(83380400001)(9686003)(122000001)(41300700001)(71200400001)(6666004)(8936002)(316002)(4326008)(8676002)(52536014)(6916009)(66446008)(54906003)(76116006)(91956017)(64756008)(66476007)(55016003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: sJJlnwr+3InsLbSNDOYTTaWOjPz6ShpnXitwkUR2LPehIjUjVxExD+6ZzGk3ZgTWYRBj2+OKGwv+eFxwZZP6mEg9RnFNyWRj71taxYj/4x8mCNcjv0AYyRARxJ2mbzY95tDAhiEdqgtMeKtVlw9kAeSM1LBs+is7rxg7gkbx9KkseG9A2/sI0Xl8MOsVHPo21CeqlsOxIzYfzcmMKEA0veeGuevUoP70zb0DLAcWay32Je8e9S4hE3cI/0hKbJu3lGq2ZAPM3Rx6E8I91gNtX/wbjfZHVnMf5wL5TL8gloMyMphKWkdcsVfRzXu5Mzi88uxG1EwH9Ytr7xWdbJ3q41uU2IuMA0RhN03SUTuLInaOILHPQttLtUsR4ZSflJKwMEGiY3TAcv8ZQk/fVekmKLWGpE0HGuhOQZTbDUCfFwbgt7OJRmCWWDIM8jwI0DL+S/yWVPLnfNCNjZSZX6+30ShdgRPmXtkKMcM7CTMgzGmMRvfg9UhwAgS6VJsMwPX5JaBlITdDz1ZHqbHrspdLQ9RfU30+rfzAFSIZjZu7qHvUosXfFWD934oZE8y90oagDAvIslt6lyMVx6Y7YDOKH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2UOswUs4cACCqVKWM509AYNc2XTACyNoMyoVJJffuHk=
Content-Type: multipart/alternative; boundary="_000_AM0PR07MB6019FFA25EEF09B503D0DF97987C2AM0PR07MB6019eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB6019.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: fdc49d75-9bb5-401f-3481-08dc2262340e
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2024 13:40:35.5100 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: knv9QmsEfGt9YLYhIj+SMDpa/3FAtE7U2g+CevTvJlqikbygYYBqNQ2Y/OW8Hdw6fR+wak5y90e3VM1nm0/XhzkGuW71diZbxbuXQ9pyxHj0O7yZdFN6OObb6VtpG6+R
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB6766
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/CleGmBmyIgrky7aXlKgnKcl5UXs>
Subject: Re: [netconf] Francesca Palombini's No Objection on draft-ietf-netconf-crypto-types-29: (with COMMENT)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Jan 2024 13:42:55 -0000

I get not wanting to add it to 1.4, as I said later:

 If you don't want to do it in Section 1.4, I suggest the reference to 4648 and explicitly stating the base64
encoding should be at least added to 2.1.3.

I also get the point of this only uses whatever 7950 defines, and if that one is updated this will “inherit” the update, but to me this only obfuscates the actual encoding used. A sentence can be added to this document to make it clear and still allow for future updates.

Francesca

From: Carsten Bormann <cabo@tzi.org>
Date: Wednesday, 31 January 2024 at 14:17
To: Francesca Palombini <francesca.palombini@ericsson.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-netconf-crypto-types@ietf.org <draft-ietf-netconf-crypto-types@ietf.org>, netconf-chairs@ietf.org <netconf-chairs@ietf.org>, netconf@ietf.org <netconf@ietf.org>
Subject: Re: [netconf] Francesca Palombini's No Objection on draft-ietf-netconf-crypto-types-29: (with COMMENT)
On 2024-01-31, at 14:04, Francesca Palombini via Datatracker <noreply@ietf.org> wrote:
>
> The document is missing a reference to RFC 4648 (and specify which encoding,
> Section 4 or 5). I assume that this is the same as for RFC 7950 which states:
>
>   Binary values are encoded with the base64 encoding scheme (see
>   Section 4 in [RFC4648]).

I actually would not add a restatement here.  Section 1.4 only explains the substitution of longer base64 encoded values in the examples by BASE64VALUE= (encoding for the meaningless 8 bytes “04 04 84 eb 85 40 2d 41” hex).

The document uses base64 within YANG-XML and YANG-JSON examples only, and both RFC 7950 and (uncharacteristically for JSON) RFC 7951 use Section 4 of RFC 4648.  This should not be restated — maybe this will be fixed to be base64url in a future version of RFC 7951?
(RFC 9254 (YANG-CBOR) doesn’t use base64 at all for its representation of YANG “binary”, but then the crypto-types document doesn’t have YANG-CBOR examples.)

Grüße, Carsten