Re: [Cbor] Supporting IPv6 Link-Local with scope (was Re: Éric Vyncke's Discuss on draft-ietf-cbor-network-addresses-09: (with DISCUSS and COMMENT))

"Eric Vyncke (evyncke)" <evyncke@cisco.com> Tue, 05 October 2021 21:14 UTC

Return-Path: <evyncke@cisco.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EFDB33A0802; Tue, 5 Oct 2021 14:14:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level:
X-Spam-Status: No, score=-9.599 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_MSPIKE_H2=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=eCBjsLnX; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=BXBq+wju
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 pqzdL5Y6ONKM; Tue, 5 Oct 2021 14:14:10 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F2DD3A07F3; Tue, 5 Oct 2021 14:14:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3688; q=dns/txt; s=iport; t=1633468450; x=1634678050; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=+INdd8D0Un5j+k0EcGPX3izB3zYKGjQbZdpXJuf2vmI=; b=eCBjsLnXeN6t71fYemZRO2AecerEzxGlmCj4ojsxEVXjNfWc/h0vrGyT WiMCDYAiSdoxJa7lq2i/B8TPlf61GOW4tmKYz9Cxx2d0rIPorysoNHw4R RHaYMxzuc+XTTm2ULbmSxbPWN8ATdubblb+32qZbyT7ye8R0VPafNYELy U=;
IronPort-PHdr: =?us-ascii?q?A9a23=3AzhpyzRagzx7PNoSFlD1Pk83/LTDNhN3EVzX9o?= =?us-ascii?q?rI8grRCf6Cm9pKkN0WMrflujVqcW4Ld5roEjufNqKnvVCQG5orJq3ENdpFAF?= =?us-ascii?q?npnwcUblgAtGoiJXEv8KvO5dCU8EMlGUVZjuXqyYgBZHc/kbAjUpXu/pTcZB?= =?us-ascii?q?hT4M19zIeL4Uo7fhsi6zaa84ZrWNg5JnzG6J7h1KUbekA=3D=3D?=
IronPort-Data: =?us-ascii?q?A9a23=3AelmGD6tQqtBeiuyK9Adm+7/0LefnVPtcMUV32?= =?us-ascii?q?f8akzHdYApBsoF/qtZmKTiHPaqCZ2Gmet51PI63oBhQsJPWzIRrTQVorXoxQ?= =?us-ascii?q?3kRgMeUXt7xwmUckM+xwmwvdK/shiknQoGowPscEzmM+39BDpC79SMljPnQG?= =?us-ascii?q?+KmYAL5EnkZqTFMGX9JZS1Lw4bVsqYw6TSIK1vlVeHa+qUzC3f9s9JACV/43?= =?us-ascii?q?orYwP9ZUFsejxtD1rA2TagjUFYzDBD5BrpHTU26ByOQroW5goeHq+j/ILGRp?= =?us-ascii?q?gs1/j83Ad+j1738aEBPHfjZPBOFjTxdXK3Kbhpq/3NplP1kcqtHLx4L0F1ln?= =?us-ascii?q?PgpoDlJnZGuWAEiPaDkk+UGWB4eGCZ7VUFD0O6beCbu7JPMlyUqdFOpmZ2CF?= =?us-ascii?q?noeNocf4M52DH1As/sCJ1glZRqEnae9wLu6UPJEh8k/Io/sJox3k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ls46em2cNgDzYc0mp7GTFRE3F?= =?us-ascii?q?RCNH7GGImLxtlG4xrNSGKyUXDkzdxf/YFwvvnmSL/iIUS4ORsTegub0r0i6+?= =?us-ascii?q?jgKreO0b5tcovexFrVaM90NlfFKuxvwFElIboohuo=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0B0BwBKv1xh/49dJa1RCR4BAQsSDEC?= =?us-ascii?q?BTguBUVEHd1o3MYRHg0gDhTmICAOBKZlDgS6BJQNUCwEBAQ0BATUMBAEBggi?= =?us-ascii?q?CdQIXgi0CJTQJDgECBAEBARIBAQUBAQECAQYEgREThWgNhkIBAQEBAgESERE?= =?us-ascii?q?MAQE3AQ8CAQgYAgIfBwICAjAVBQsCBA4FIoJPAYJVAw4hAQ6lNAGBOgKKH3q?= =?us-ascii?q?BMYEBgggBAQYEBIUKGII1AwaBECqDAIQVglGEHQInHIFJRIEVJwwQgmc+gmM?= =?us-ascii?q?CgTRDgwE3gi6KHmsGaFMgAi4vRiBpKZRKAUaWPpIqCoMwikSOPYVjBSyDZ4t?= =?us-ascii?q?qkQKGOoU9nTGYcgIEAgQFAg4BAQY1gSw7gUUNB3AVZQGCPlEZD44gDBYVgzu?= =?us-ascii?q?KXnQ4AgYBCgEBAwkBgjqTNgEB?=
X-IronPort-AV: E=Sophos;i="5.85,349,1624320000"; d="scan'208";a="941695770"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Oct 2021 21:14:08 +0000
Received: from mail.cisco.com (xbe-aln-004.cisco.com [173.36.7.19]) by rcdn-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 195LE7ED024225 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Tue, 5 Oct 2021 21:14:07 GMT
Received: from xfe-aln-004.cisco.com (173.37.135.124) by xbe-aln-004.cisco.com (173.36.7.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 5 Oct 2021 16:14:07 -0500
Received: from xfe-rcd-005.cisco.com (173.37.227.253) by xfe-aln-004.cisco.com (173.37.135.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 5 Oct 2021 16:14:06 -0500
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-005.cisco.com (173.37.227.253) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Tue, 5 Oct 2021 16:14:06 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dE1DYLVvqmiOgc7ltZUMUaabzWkervzaCR+2JlDWe+VLaAPJHsf4BIF0vcFVZlCbPGNHcgkYwsmI/nAn/uT9+RZHU/WHMyI7s3V7hZ/XpdvXkIoRPynDeye8JosZW7uhavKRf0T06SP1bjIySGjZYAvMktvWDKAp7rdii4aTNdgi4OvLygInjoOLTwK9l6Db0LRuYQzd/FOj8l7eFoHBU3V8uipV33xWyb4V11ICSia6uaELszSO4i1aqL+2ElC+AnmH8C2hP7Bs+nMRFuRNNY0ELY5p1dptwwon7BoV1/kM8k1qN4XpfexVKZbP+sieCl7ISLpaetfdEyHubDeoEQ==
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=+INdd8D0Un5j+k0EcGPX3izB3zYKGjQbZdpXJuf2vmI=; b=EAmAv/ICMrw29ddgFvXubqiW7MYNLz+hwueNN1e0kOZWB5Hb4lxmnnrRT7btGkRUtof1tB7syVK1Y7l5A7TxxoevIlmYd9rmQKnkoGsOLZNpi+EY4ytU4xyqrvXMdHV8+WU40CbQgr516hoDtqQ+VC0H/Kgy0UkbMlc5I1mH9oH3TH534oi8gA5p2tewT2MBsn2dw3QfMHxX2XBwn7uNRPh4KaUupvP+MBuvPd6ddNKLST34tg8Nv3pVkqe4efqc3SZkNII97uVjd5hFpb9IWXOOrYwDpp0hN0IpPv+WqThPAQf8265DmrpG55b+3XZ5khseDOyVI2oLPZwyXrGTtQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+INdd8D0Un5j+k0EcGPX3izB3zYKGjQbZdpXJuf2vmI=; b=BXBq+wjuo+TrHGs3bg8Qnx7QM4PXj//NzBNDMpNbyWnLoj0nTG9Jr55UnuXhP7vXwM7gxVil+MRda9b2baWDIHW7LYIJ04bIfrsyx20Qj0zIhffdFi3OkvH/6mVMHzoPdCw894YnQugqiEklobD3cBaPLz3RUeEmtMtcIzYQZK0=
Received: from PH0PR11MB4966.namprd11.prod.outlook.com (2603:10b6:510:42::21) by PH0PR11MB4936.namprd11.prod.outlook.com (2603:10b6:510:42::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.17; Tue, 5 Oct 2021 21:14:05 +0000
Received: from PH0PR11MB4966.namprd11.prod.outlook.com ([fe80::596b:9fa6:18d4:67e7]) by PH0PR11MB4966.namprd11.prod.outlook.com ([fe80::596b:9fa6:18d4:67e7%8]) with mapi id 15.20.4566.022; Tue, 5 Oct 2021 21:14:05 +0000
From: "Eric Vyncke (evyncke)" <evyncke@cisco.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
CC: The IESG <iesg@ietf.org>, "d3e3e3@gmail.com" <d3e3e3@gmail.com>, "draft-ietf-cbor-network-addresses@ietf.org" <draft-ietf-cbor-network-addresses@ietf.org>, "barryleiba@computer.org" <barryleiba@computer.org>, "cbor-chairs@ietf.org" <cbor-chairs@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: =?utf-8?B?U3VwcG9ydGluZyBJUHY2IExpbmstTG9jYWwgd2l0aCBzY29wZSAod2FzIFJl?= =?utf-8?B?OiBbQ2Jvcl0gw4lyaWMgVnluY2tlJ3MgRGlzY3VzcyBvbiBkcmFmdC1pZXRm?= =?utf-8?B?LWNib3ItbmV0d29yay1hZGRyZXNzZXMtMDk6ICh3aXRoIERJU0NVU1MgYW5k?= =?utf-8?Q?_COMMENT))?=
Thread-Index: AQHXuhqYWSWb+8o+30+Z6nZ4dHFSY6vFCSsA
Date: Tue, 5 Oct 2021 21:14:05 +0000
Message-ID: <790DCEB7-0CC9-4384-A671-AE2B9D397163@cisco.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost>
In-Reply-To: <24367.1633460118@localhost>
Accept-Language: fr-BE, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.53.21091200
authentication-results: sandelman.ca; dkim=none (message not signed) header.d=none;sandelman.ca; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8976e5f7-3d7e-4b47-f4ca-08d98845106f
x-ms-traffictypediagnostic: PH0PR11MB4936:
x-microsoft-antispam-prvs: <PH0PR11MB4936D9DD96B0B77C0E18095EA9AF9@PH0PR11MB4936.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ZiZ0vFbbJu3rv6aGYvFg+9jwxZF7Ss/ZF/YIDeDr8QgLoF4zXBAkwzin5tluiBYO2XbC9KMdU5oMIBAGDaNZlmurfrsrwiVZ98zjpP5z9B6TurNamsQcmXcbI2k4ZJsbiSz/X8suH4pGS0VtTYsFq9LDFJhxQxG8LPIVdSXwGNQClCk8xgVORlcxoOiG5yVTI4JZeGkvGBzs0vZXFFOUzioe95y8oekwzy3ult5NfcIBWAusj1Y2dpeAEvn89nGoH18h+21OVcPpx9OU6Z+N+2fHY4BcNLLpLNrEWHIC8G+qdN0DusuqZAGuofU7i/69Oo+dr0K8cQnEDQoAFBh+csNB+6txBp3dSktcWZhdkUDpZeJkuOqMroKOsrpmeipOFBOWNV7oqbovNy0lyt+4HTgr8FDGohFfXGLT8zx0W2zHnXq3c0hAX8kS4JT66shopfP2O/ymzlzVWiFvAwsRRZ/cvcBZ6TAXtD/aAFLtKrZ2m/OUfdYUO3esPiFC9oc0oRbfGG64wU8up3avUq648xN2ieqVN/G31xISytBz0zRvZM3PbqNKpJObhcscHsLz3hi2wOlcr5hRWt9PshZfL2ksaz0bxKu99Aqe1kkEf72qbTiGEsQLhLwYSUZC6T1hivsGahZq8oxs+MVwM6zAGDHXRTkxoIc3/VTvSITq8zGsNycZde0HmVANWvdDlw8ht9GFsXyvz9bSg/AiLJwN1pD9rICUIcbOf0BKRzmJzrEaiU3cHeTAYNbnzT0w/VrD9EjF+RU43wgOoyFD7ezbmDlDl2R5l+2Uilrsc63V2JH4HLOv30VsjXiipL0n4O0ndi3ciwf9C3iEu97HX7LB9A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB4966.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(508600001)(966005)(66446008)(66946007)(54906003)(2616005)(33656002)(66476007)(91956017)(6506007)(4326008)(224303003)(5660300002)(186003)(6486002)(64756008)(76116006)(38070700005)(66556008)(6512007)(83380400001)(71200400001)(38100700002)(86362001)(316002)(66574015)(36756003)(8936002)(2906002)(122000001)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?K3Z6NUliK2w1VlhDYld2K3RjQTVqMlp6Qnk1TTFtbjVRcVpiTDN4RkRGYVJ2?= =?utf-8?B?Z3M1ZEFZVVg4SU9PNzU5S0E5WTd4ayttcUZ0QUhieDMzTVloSDBnWjk3MkZY?= =?utf-8?B?WkRZS3RXQ1Z0cTdRNExLTDl2cm5NUWovS3Y2ZjBsZU9tLy9lWUhQOUs3Z2Ja?= =?utf-8?B?Q1R3U05RcHhrZkJqMWtFeU5PTkpPWC9xdWk4aDg1QXpUelpxNTY3aXM1Zysr?= =?utf-8?B?Q0pHVHYra1pPVG51aU5HeGNiTTlHOHFKZW5Uc0RGZEZYb04zeHFSbVhVVVFu?= =?utf-8?B?SmJzTmVpS2hJcjhUYmtpME1Wc01ENjBlU2Y4SU52VmJucXdTL2JLWlZIODMv?= =?utf-8?B?VGxmdzA0cDF1d05kL053QWQ5bTBwUzgvTkFidkF5K3A3ZC9VOStyRzVPVTZk?= =?utf-8?B?akdEaWpybTltMloweEhHNGk1WEtXUjAzWDFaS0RGRW5tM09KUTZKVzJDL3R4?= =?utf-8?B?ZU1oMFdoZXpLNUNKZVpMMXNMNmdOUUs5ZVBPZjhVcTdRbkM4YndaRjJZZWov?= =?utf-8?B?NjZObU03RVpFWmFxWlRFa0JnLzJxRkxnYmdJWFhyVm5mMGYrYzRsaE01MUFM?= =?utf-8?B?VUQwVm5HZ0UwbDl1d3o2NzVVUG1CdUJOeEo1ajZkMXBJcWMzYmtuQXlJY1RD?= =?utf-8?B?bkV0dHV4OW95RTd0WWlHVTVQRXFGVkJOamdReUNuNy83WGxDRlQ5Q29KaG9W?= =?utf-8?B?eXhHYnp1VnRqSWRWNGZVcEZXOEF4OU15dlJ1UWw2dmZzTm1tRVpnUE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WI1a0ZsQWNOTmZXYlVj?= =?utf-8?B?Vm80Szd5NDZsSlRKK3l3cUhTeitMcFRhYVRDZzlKckZpV2UzbGpBV3BUdk41?= =?utf-8?B?TFZrcFZjZkdUUEYvb0k5Q3dBemc3M1Bid0JsSGIzSE1TS1l6MHB4NHBoVWYw?= =?utf-8?B?ZlphSkV1bDZScnRqcWZpVEkya2FZQTRPRmY4WXR2OHB0cGt5WGY0dDhITGZo?= =?utf-8?B?blNGSDNjblNSdS9SMHZoallwMDdXNUNTVCtrMmJYajNwTGc9PQ==?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <6C8AF68FEEE99641A5F0074DCB204D63@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4966.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8976e5f7-3d7e-4b47-f4ca-08d98845106f
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2021 21:14:05.7478 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: T2Xb148wG6XbxfYPld81ParaPstWsRx3yarAMumhdqHUBZ6T2KeM9opJ8E9KbLJ1WMXAEc3s9YMaIsrAtqj0sg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4936
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.19, xbe-aln-004.cisco.com
X-Outbound-Node: rcdn-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/zblGNs6w5cWSd6LSNmBpUp_yGi8>
Subject: Re: [Cbor] =?utf-8?q?Supporting_IPv6_Link-Local_with_scope_=28was_Re?= =?utf-8?q?=3A__=C3=89ric_Vyncke=27s_Discuss_on_draft-ietf-cbor-network-ad?= =?utf-8?q?dresses-09=3A_=28with_DISCUSS_and_COMMENT=29=29?=
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Oct 2021 21:14:17 -0000

Michael

The problem is indeed solvable.

My own take would be not to use ifIndex (for the reasons you just explained) also it could be confusing with another encoding as both (length & ifindex) are uint...

As I wrote in my ballot, an alternative (not so nice though) would be to clearly state that the encoding is not applicable to LLA + scope

-éric

On 05/10/2021, 20:55, "Michael Richardson" <mcr+ietf@sandelman.ca> wrote:


    Captured as issue:
       https://github.com/cbor-wg/cbor-network-address/issues/12

    Éric Vyncke via Datatracker <noreply@ietf.org> wrote:
        > == DISCUSS ==

        > Generic comment how are link-local address (LLA) with scope encoded ? I would
        > expect CBOR to work also on LLA only networks... At the bare minimum, please
        > state that link-local addresses cannot be encoded with their scope, hence, they
        > cannot represent an interface.

        > -- Section 3.1.3 --
        > How can 2 valid link-local addresses (fe80::1%eth0, fe80::1%eth1) can be
        > represented in order to identity two interfaces ?

    There are three kinds of things encoded:
          a) addresses.
          b) prefixes
          c) interface definitions

    For (b) and (c), we could easily entertain (and did we discuss this in the
    thread that was CC'ed to 6man?) adding a third element to the array to store
    the interface ID.
    For (a), I'm not sure what we can do to add the interface ID, but see below.

    That's kinda the easy part.
    The hard part is deciding how to encode the scope.
    The simplest is as an integer, being the ifindex.

    CBOR makes that easy and efficient, and many systems don't have more than 24
    interfaces.  However, on systems where interfaces come/go a lot, the ifindex
    often increments anyway.  Using the ifindex is probably clearer on most any
    system than a string which can change, but it does change from one boot to
    another.
    While the ifindex is system specific and has no outside meaning, the purposes
    where I imagine this being used would be in some system specific container.
    (My use case, which drove me to do this, actually probably needed scope-id)

    One way to do (a) could be to append to the IPv6 string.
    Another way would be not to bother, to always use the interface definition
    when a IPv6-LL is needed.  Whether the length is 0, 128, or the actual
    interface prefix (probably 64) is something we could specify.

    --
    Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
               Sandelman Software Works Inc, Ottawa and Worldwide