Re: [netmod] x509c2n:cert-to-name problem

Schönwälder, Jürgen <J.Schoenwaelder@jacobs-university.de> Tue, 29 October 2019 10:08 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B476120133 for <netmod@ietfa.amsl.com>; Tue, 29 Oct 2019 03:08:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jacobsuniversity.onmicrosoft.com
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 yq1fIeUGeVf0 for <netmod@ietfa.amsl.com>; Tue, 29 Oct 2019 03:08:43 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20073.outbound.protection.outlook.com [40.107.2.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 618AE1200FE for <netmod@ietf.org>; Tue, 29 Oct 2019 03:08:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ebLtSBTP33LUBVHX9X/kIKCVwJ54JBqfJSBAQaTgAr+B/IZj0Vy/6ijLiTF1u+UJVxd97IeYHvkhZ8276gEn3nJ+UwoH76qpvuC12aJ8TwFCtfeKStO22L4MnXXchZP1U1fZbcEih4Da5tD0krf3r65dvgQAgkTGwnDjcDobKa/cx1p2u3SmZn7C1Sx1y3A81j7Kcum6th0DDl5oHc3ZQwCeEZfMxDmzPy2Y5L0pEArCrtSVoiXbazSt0WmlnLHgv5jDDeujcyUh3IOLlnBec++ZMmTWOIzYFaY7qYDCGJkXGIiDBF2Ylimiyd45eDJgOWC7ax4ztB8C46Et8beqkw==
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-SenderADCheck; bh=IpTitqwoYhg3k7mHSgN9e/00Z95TDqxQ5UOJecjd8ec=; b=RRzkCfrqgeehiPcWLE3JRaYciA2T5GNgC9osHZxP3bprkXVC32ND1mqCniaKruUF6nZ3KQAexUtg/lta5FZlKqKnqJ+eGGCg1S6YBRfRUaCVg4PWcnUsAHuIpp57mmxurvY1bWfa86MEcv00Jmr1huMP/2SIOS1kjQMNkq+p+SO098d5jC6xV37hxhxyrAi7S0XyxvRFxOee4VCPVQnnfg4blVWhdytqDUh4cUxN5C1G9bWPfI0V2RoA9JKxYYgm6wBp72e6Z5hSn8rP89DdYOOifi0+6Fnlp9lTV6E7DnQTuCVz3NNbZvT9GSp8e9TaAB4G4S5HnxAgc+M9GA7aVA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IpTitqwoYhg3k7mHSgN9e/00Z95TDqxQ5UOJecjd8ec=; b=LvoAPm0DsNr9/20885FuxADO627RymYf6uRVD7vGj7tsuw+WsMg3ykMX1OTVssjRAkof7bHUdz5UYfA4SknmtWFpqG7q3CKBObyxwmacVtZMGZMmD/umUxkRp1wmq9TK2Yq2f/KwQNZAvgt2Eaz9Y4wwyClvmBbI3JbiyaRu7AY=
Received: from AM5P190MB0482.EURP190.PROD.OUTLOOK.COM (10.161.65.11) by AM5P190MB0356.EURP190.PROD.OUTLOOK.COM (10.161.92.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.17; Tue, 29 Oct 2019 10:08:40 +0000
Received: from AM5P190MB0482.EURP190.PROD.OUTLOOK.COM ([fe80::6c6c:2cd2:11dd:2aff]) by AM5P190MB0482.EURP190.PROD.OUTLOOK.COM ([fe80::6c6c:2cd2:11dd:2aff%5]) with mapi id 15.20.2387.023; Tue, 29 Oct 2019 10:08:40 +0000
From: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
CC: "randy_presuhn@alumni.stanford.edu" <randy_presuhn@alumni.stanford.edu>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] x509c2n:cert-to-name problem
Thread-Index: AQHVjj7DBIyzZe+gNEiS5uQqicw3LKdxZS2A
Date: Tue, 29 Oct 2019 10:08:40 +0000
Message-ID: <20191029100839.vzbnpaw5wv3xivr2@anna.jacobs.jacobs-university.de>
References: <0100016e0416c312-13b65019-1c32-4fc8-b8b2-f2b7cc591a00-000000@email.amazonses.com> <20191028.102216.1541488608391720310.mbj@tail-f.com> <f508c9f9-8493-88dc-7468-edc8dbe11776@alumni.stanford.edu> <20191029.105349.2169510354890358887.mbj@tail-f.com>
In-Reply-To: <20191029.105349.2169510354890358887.mbj@tail-f.com>
Reply-To: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: AM4PR0701CA0009.eurprd07.prod.outlook.com (2603:10a6:200:42::19) To AM5P190MB0482.EURP190.PROD.OUTLOOK.COM (2603:10a6:206:1d::11)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=J.Schoenwaelder@jacobs-university.de;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [2001:638:709:5::7]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 42f59af1-4973-4833-118c-08d75c57f8b1
x-ms-traffictypediagnostic: AM5P190MB0356:
x-ms-exchange-purlcount: 1
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <AM5P190MB0356598F18FEF2DB89E47EBEDE610@AM5P190MB0356.EURP190.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-forefront-prvs: 0205EDCD76
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(396003)(376002)(346002)(39850400004)(199004)(189003)(6512007)(52116002)(6246003)(8676002)(76176011)(1076003)(71190400001)(71200400001)(54906003)(316002)(4744005)(786003)(5660300002)(6306002)(486006)(8936002)(14454004)(11346002)(305945005)(446003)(476003)(81156014)(81166006)(4326008)(6116002)(86362001)(6436002)(478600001)(2906002)(46003)(229853002)(14444005)(256004)(25786009)(66446008)(66476007)(66556008)(64756008)(6916009)(66946007)(43066004)(386003)(53546011)(6506007)(3450700001)(45776006)(102836004)(186003)(6486002)(7736002)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5P190MB0356; H:AM5P190MB0482.EURP190.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: jacobs-university.de does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: WdnkU3kWJ3M4ceCQaxVHaeMNAuO8NsTMZKU6F0fUgTpxYTUzd0MINSHymW7XJkViRo6hLm6bhzWTIJtR5MNoh1E8qWajIws3ZflclqPPbIk9o2rwDx7zOvGz1ifd3GSKwDVO7yUW5CsbZU4pv8H5YvEJ4hF1vKVAQWo1Ja57QCtMdFEA8J52PWOH8PCdo+n13y5OX0gde02fXCKXLX+nmVUJ86M4Q5UWo2GFCar07pceoajCsmvpfxqPT8orXG8gtRJQulckr3OUs8ygWD5kpDo9YSUQayqtqfGGywebi1vHS9KEiGC9pfXkNc+OBPxd7Fv38lHTBQVnZjIh56E7VtxTj12xa1HBYmNN2JYwjGWM9Lg7aYRpfwPnANtAv++Y6Plj6xx5E1zsD7rLTFD6TMojLB/7ZSiDHIn/ILlizP7QMH1UOW/PutxhYXoqrrz7Qi1v4ZoceDctD5GiqZCu1lBR6Nmq2WpiSbPc0npeZdE=
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <A6BD7760F7E83C4E8D1731DF13F1F188@EURP190.PROD.OUTLOOK.COM>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 42f59af1-4973-4833-118c-08d75c57f8b1
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2019 10:08:40.2397 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jE9qFKQQYZf60NCIUiOGdMtYKKDZ5ZgCupB0KSX6qz1FqkzT3g+x3vVGZigak3pnOnpnNsuNI9Al1pIQ07RRMWc+anwFVp1CC6WR/+2OMqE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5P190MB0356
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/_5H0dOMKGo6hzB59uK-E3joP3-s>
Subject: Re: [netmod] x509c2n:cert-to-name problem
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Oct 2019 10:08:46 -0000

On Tue, Oct 29, 2019 at 10:53:49AM +0100, Martin Bjorklund wrote:
> Randy Presuhn <randy_presuhn@alumni.stanford.edu> wrote:
> > Hi -
> > 
> > On 10/28/2019 2:22 AM, Martin Bjorklund wrote:
> > ....
> > > No, in many SMIv2 objects, a zero-length value is used for optional
> > > nodes (due to the way the protocol (SNMP) works).
> > 
> > This comes as a complete surprise to me.  References?
> 
> I don't have any references at hand, so let me re-phrase:
> 
>   No, in many SMIv2 objects, a zero-length value is used for optional
>   nodes.
> 
> (where "optional" means optional to set, not optional to implement)

The protocol handles non-existing values just fine. However, some
implementations did not handle non-existing values in the protocol
properly. MIB module authors sometimes use special values to indicate
the absence of a value in order to please those implementations.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>