[Cbor] dCBOR Swift and Rust Libraries Updated for String Normalization.

Wolf McNally <wolf@wolfmcnally.com> Tue, 20 August 2024 09:55 UTC

Return-Path: <wolf@wolfmcnally.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 ADE46C151095 for <cbor@ietfa.amsl.com>; Tue, 20 Aug 2024 02:55:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level:
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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=wolfmcnally-com.20230601.gappssmtp.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 2UgU5RQXaAcc for <cbor@ietfa.amsl.com>; Tue, 20 Aug 2024 02:55:32 -0700 (PDT)
Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4168C14F701 for <cbor@ietf.org>; Tue, 20 Aug 2024 02:55:32 -0700 (PDT)
Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-2d3c396787cso4054434a91.1 for <cbor@ietf.org>; Tue, 20 Aug 2024 02:55:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfmcnally-com.20230601.gappssmtp.com; s=20230601; t=1724147732; x=1724752532; darn=ietf.org; h=to:cc:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=5T6MYAVA6i8o2sjCngc+4Zpb0JdX+rDhSHp4UQ4DtWw=; b=bEG+1IdbfdCmfosu/FKocxZSdrrTxtXBjwsvnTDXyBYLitgSLkhuGcBvkg72mbxy2s Gly9XSvuUiFjCelYvSiz7weyCYMRPT4CERJ5hHHZA6cvXcSKHXpICfoh4xJhMry6/i70 nlz63FwTd5Ug06rWezKQwgV06U3f6kbUx7npNleJwbFWA+BvTX5rgY/gxSyIgc3t5wDY OZ1+tJUseePpHITXwOeKQHrgAoAdnQQszfDMVAvTifYvmej6wtlSpZ2GiER3O6TBLIYQ 8/5FOD15KvCzs2rLh8zNvLhXoGw6cjp2A0IKQvkV5QYwZwFMawx1yDycZHUACFKY+lVW l73w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724147732; x=1724752532; h=to:cc:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5T6MYAVA6i8o2sjCngc+4Zpb0JdX+rDhSHp4UQ4DtWw=; b=ZU9MGMqL9urAUgDSsLTjrPMhrruL9jxrGJj8L5Whn6E/0VtKrk6HjHqC7ZEwn4/wfj lr1sXfDBgTvsYCMdRjJG7Rc8RBEXo69KiLZOP4GF5GpAD1Q+pDLjwG+OP9GxlluiVF49 uIipwW3CZ8lYZbLOl2iCABWids2K4zmv1D5pD7lOB56bNEt5kTHsWqtT/fu/mGwZ6Pow xZeMMcSe8bq3Jec4b9+viWGdbfDfnVmitRjmyQXYA2FXCt4BGItNee6Q5Krbna7B+2ma ZOrhKLCpsUX31gY87DpXXA2vhCXj14bE+LyL+VecZbmP7aLad1m2oaUNvi6dw+1iBB0X JYeA==
X-Gm-Message-State: AOJu0YzRX26dUGWZQpxyOgSeig6CLdQFtPBmk1pTaw3tnGfW61trvMYG yC7cBTyaqi0GOnqVNFZskxoGQdykc0zpQLwVtfSBoa9Xs230QF9zqrz/c5hQJPYgM5yF9J0bxxS j
X-Google-Smtp-Source: AGHT+IFu9zkZ73fgHww35r617YnyuNm5XOJo5hMrgqEkBOi0FadHOytH0rHatAoGRYS7Y1ealcJ1bA==
X-Received: by 2002:a17:90a:db8d:b0:2cb:5aaf:c12e with SMTP id 98e67ed59e1d1-2d3e03e8cfbmr14880929a91.37.1724147731415; Tue, 20 Aug 2024 02:55:31 -0700 (PDT)
Received: from smtpclient.apple (ip70-180-193-108.lv.lv.cox.net. [70.180.193.108]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d3c8839392sm10458397a91.56.2024.08.20.02.55.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Aug 2024 02:55:31 -0700 (PDT)
From: Wolf McNally <wolf@wolfmcnally.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C22F6144-2096-4E93-854D-B37C91130890"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\))
Message-Id: <B327A63A-A330-44FF-A576-BAD06D0DF47C@wolfmcnally.com>
Date: Tue, 20 Aug 2024 02:55:19 -0700
To: CBOR <cbor@ietf.org>
X-Mailer: Apple Mail (2.3776.700.51)
Message-ID-Hash: HXR3W6D26B62RGV6PC6IEHG77EPOGAII
X-Message-ID-Hash: HXR3W6D26B62RGV6PC6IEHG77EPOGAII
X-MailFrom: wolf@wolfmcnally.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Christopher Allen <christophera@lifewithalacrity.com>, Shannon Appelcline <shannon.appelcline@gmail.com>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cbor] dCBOR Swift and Rust Libraries Updated for String Normalization.
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/366DpWigZ8Sp-bpmODtLS4eX2YM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>

All,

We have released version 1.0.7 of our Swift dCBOR package [1] and 0.15.2 of our Rust dCBOR crate [2].

The main change in this version is compliance with draft-mcnally-deterministic-cbor-11 §2.5, [3] which states:

> dCBOR encoders: MUST only emit text strings that are in Unicode Normalization Form C (NFC).
> dCBOR decoders: MUST reject any encoded text strings that are not in NFC.


[1] https://github.com/BlockchainCommons/BCSwiftDCBOR
[2] https://github.com/BlockchainCommons/bc-dcbor-rust
[3] https://datatracker.ietf.org/doc/draft-mcnally-deterministic-cbor/

~ Wolf