
From nobody Fri Jul  2 15:09:26 2021
Return-Path: <agenda@ietf.org>
X-Original-To: cose@ietf.org
Delivered-To: cose@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id EA4103A0969; Fri,  2 Jul 2021 15:03:09 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "\"IETF Secretariat\"" <agenda@ietf.org>
To: <cose-chairs@ietf.org>, <michael.jones@microsoft.com>
Cc: cose@ietf.org, kaduk@mit.edu
X-Test-IDTracker: no
X-IETF-IDTracker: 7.34.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <162526338994.26814.17150117111828206525@ietfa.amsl.com>
Date: Fri, 02 Jul 2021 15:03:09 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/7mDc6FFfFPWBtErtx8Fls0RQf3c>
Subject: [COSE] cose - Requested session has been scheduled for IETF 111
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Jul 2021 22:03:21 -0000

Dear Mike Jones,

The session(s) that you have requested have been scheduled.
Below is the scheduled session information followed by
the original request. 


    cose Session 1 (1:00 requested)
    Wednesday, 28 July 2021, Session II 1430-1530
    Room Name: Room 9 size: 509
    ---------------------------------------------


iCalendar: https://datatracker.ietf.org/meeting/111/sessions/cose.ics

Request Information:


---------------------------------------------------------
Working Group Name: CBOR Object Signing and Encryption
Area Name: Security Area
Session Requester: Mike Jones


Number of Sessions: 1
Length of Session(s):  1 Hour
Number of Attendees: 60
Conflicts to Avoid: 








People who must be present:
  Benjamin Kaduk
  Goeran Selander
  Ivaylo Petrov
  John Preuss Mattsson
  Matthew A. Miller
  Mike Jones

Resources Requested:

Special Requests:
  
---------------------------------------------------------



From nobody Fri Jul  2 15:26:21 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 455A03A138E; Fri,  2 Jul 2021 15:26:07 -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, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 B4xo88RMeY0o; Fri,  2 Jul 2021 15:26:03 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AFD3E3A1440; Fri,  2 Jul 2021 15:25:03 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GGqQM41Z3z2xGy; Sat,  3 Jul 2021 00:24:59 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 646957499.775813-aba90bbe3983f26778f7e4bc3ffe026f
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Sat, 3 Jul 2021 00:24:59 +0200
Message-Id: <FCBB251D-EF78-43A5-BCBA-61F0E550B33A@tzi.org>
To: ace@ietf.org, core@ietf.org, cose@ietf.org, cbor@ietf.org, t2trg@irtf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/dAzDyMY_i9XYKPVYXbFKQJm-z0Q>
Subject: [COSE] Constrained Node/Network Cluster @ IETF111: "FINAL" AGENDA
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Jul 2021 22:26:13 -0000

Here is my usual eclectic condensed agenda based on the "FINAL" AGENDA
for IETF111.  Remember that further agenda changes can still happen.

A number of changes have been made with respect to the draft agenda.
Most notably, IOTOPS has moved on top of SECDISPATCH (was on top of
RATS), but LAKE stays on RATS.

All times *on my agenda* are in UTC (the default page is UTC-0700).
Please forgive the 2430 and 2500, I'm way too lazy to write code to
turn this into 0030 and 0100.  (And it is advisable to ignore the
fictional end time of the Wednesday plenary anyway.)
https://datatracker.ietf.org/meeting/agenda-utc might be handy.

Gr=C3=BC=C3=9Fe, Carsten

MONDAY, July 19, 2021

1900-2100  Hackathon Kickoff
Rm 1    	GEN	hackathon	Hackathon

FRIDAY, July 23, 2021

1900-2100  Hackathon Closing
Rm 1    	GEN	hackathon	Hackathon

MONDAY, July 26, 2021

1900-2100  Session I
Rm 1    	ART	dispatch	Dispatch WG - Joint with ARTAREA
Rm 2    	IRTF	anrw	ACM/IRTF Applied Networking Research =
Workshop  - New Internet Protocols & Practical Congestion Control
Rm 3    	IRTF	pearg	Privacy Enhancements and Assessments =
Research Group
Rm 7    	SEC	gnap	Grant Negotiation and Authorization =
Protocol WG

2130-2230  Session II
Rm 1    	ART	wpack	Web Packaging WG
Rm 2    	IRTF	irtfopen	IRTF Open Meeting
Rm 3    	OPS	anima	Autonomic Networking Integrated Model =
and Approach WG
Rm 4    	RTG	babel	Babel routing protocol WG
Rm 8    	SEC ***	rats	Remote ATtestation ProcedureS WG
Rm 9    	TSV	tsvwg	Transport Area Working Group WG

2300-2500  Session III
Rm 2    	ART	jsonpath	JSON Path WG
Rm 3    	IRTF	coinrg	Computing in the Network Research Group
Rm 5    	OPS ***	iotops	IOT Operations WG
Rm 8    	SEC	secdispatch	Security Dispatch WG
Rm 9    	TSV	masque	Multiplexed Application Substrate over =
QUIC Encryption WG

TUESDAY, July 27, 2021

1900-2100  Session I
Rm 1    	ART	sedate	Serialising Extended Data About Times =
and Events WG
Rm 2    	INT	6man	IPv6 Maintenance WG
Rm 3    	IRTF	anrw	ACM/IRTF Applied Networking Research =
Workshop  - Interconnection and Routing & Monitoring Internet Traffic
Rm 5    	RTG	bier	Bit Indexed Explicit Replication WG
Rm 6    	RTG	raw	Reliable and Available Wireless WG
Rm 7    	SEC ***	danish	DANE AutheNtication for Iot Service =
Hardening BOF
Rm 8    	TSV	quic	QUIC WG

2130-2230  Session II
Rm 3    	ART	httpapi	Building Blocks for HTTP APIs WG
Rm 4    	INT	dnssd	Extensions for Scalable DNS Service =
Discovery WG
Rm 7    	SEC	saag	Security Area Open Meeting
Rm 8    	TSV	taps	Transport Services WG

2300-2500  Session III
Rm 7    	SEC	ohttp	Oblivious HTTP BOF

WEDNESDAY, July 28, 2021

1900-2100  Session I
Rm 1    	ART ***	core	Constrained RESTful Environments WG
Rm 3    	INT	madinas	MAC Address Device Identification for =
Network and Application Services BOF
Rm 4    	IRTF	anrw	ACM/IRTF Applied Networking Research =
Workshop  - Privacy & Applications
Rm 7    	SEC	tls	Transport Layer Security WG

2130-2230  Session II
Rm 2    	ART	uta	Using TLS in Applications WG
Rm 4    	INT ***	6lo	IPv6 over Networks of =
Resource-constrained Nodes WG
Rm 5    	INT ***	drip	Drone Remote ID Protocol WG
Rm 8    	RTG	rift	Routing In Fat Trees WG
Rm 9    	SEC ***	cose	CBOR Object Signing and Encryption WG

2300-2440  IETF Plenary - Plenary

THURSDAY, July 29, 2021

1900-2000  Session I
Rm 3    	OPS	anima	Autonomic Networking Integrated Model =
and Approach WG
Rm 4    	OPS	v6ops	IPv6 Operations WG
Rm 7    	SEC ***	lake	Lightweight Authenticated Key Exchange =
WG
Rm 8    	SEC ***	rats	Remote ATtestation ProcedureS WG
Rm 9    	TSV	tsvwg	Transport Area Working Group WG

2030-2130  Session II
Rm 5    	IRTF	qirg	Quantum Internet Research Group
Rm 6    	RTG	rtgarea	Routing Area Open Meeting
Rm 7    	SEC	mls	Messaging Layer Security WG
Rm 8    	SEC ***	rats	Remote ATtestation ProcedureS WG

2200-2300  Session III
Rm 5    	SEC ***	ace	Authentication and Authorization for =
Constrained Environments WG

2330-2430  Session IV
Rm 4    	IRTF	panrg	Path Aware Networking RG
Rm 8    	SEC	emu	EAP Method Update WG
Rm 9    	SEC ***	teep	Trusted Execution Environment =
Provisioning WG

FRIDAY, July 30, 2021

1900-2100  Session I
Rm 1    	ART	webtrans	WebTransport WG
Rm 2    	INT	add	Adaptive DNS Discovery WG
Rm 5    	RTG	apn	Application-aware Networking BOF
Rm 6    	SEC ***	suit	Software Updates for Internet of Things =
WG

2130-2230  Session II
Rm 1    	ART ***	cbor	Concise Binary Object Representation =
Maintenance and Extensions WG
Rm 2    	IRTF	maprg	Measurement and Analysis for Protocols
Rm 5    	RTG	detnet	Deterministic Networking WG
Rm 6    	SEC	acme	Automated Certificate Management =
Environment WG
Rm 7    	SEC	privacypass	Privacy Pass WG

2300-2500  Session III
Rm 1    	INT	intarea	Internet Area Working Group WG
Rm 2    	IRTF	cfrg	Crypto Forum
Rm 3    	IRTF***	dinrg	Decentralized Internet Infrastructure
Rm 7    	SEC ***	teep	Trusted Execution Environment =
Provisioning WG
Rm 8    	TSV (!)	tsvarea	Transport Area Open Meeting


From nobody Mon Jul  5 11:17:17 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60D643A0A8D; Mon,  5 Jul 2021 11:17:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Q8Zy-teSGX84; Mon,  5 Jul 2021 11:17:06 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8295D3A0A73; Mon,  5 Jul 2021 11:17:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 954D238A0A; Mon,  5 Jul 2021 14:19:28 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dVK6DG7l5ozX; Mon,  5 Jul 2021 14:19:24 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id D76BA38A86; Mon,  5 Jul 2021 14:19:23 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id C3F5A454; Mon,  5 Jul 2021 14:16:58 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: anima@ietf.org, cose@ietf.org
X-Attribution: mcr
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Mon, 05 Jul 2021 14:16:58 -0400
Message-ID: <29307.1625509018@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/NYxGkFFpXeCc9moWwbDbk-QDGyI>
Subject: [COSE] early allocation for x5bag
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Jul 2021 18:17:12 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hi, in draft-ietf-anima-constrained-voucher, we are recommending use of x5b=
ag
to contain the chain of certificates that this constrained version of BRSKI
(RFC8995) needs.  This is used in the request direction as per RFC8995
section 5.5.2, and in the return (RFC8366) voucher to provide any chain
that the pledge might need to validate the signature on the voucher.

We are planning to do interop at the hackathon, and implementors noticed th=
at
we don't have a key value in draft-ietf-cose-x509.  This would be TBD4 in
Table 1.   Oops!

Can we ask the WG chairs to do an early allocation for these values?
(Or at least x5bag).  This is IANA Considerations section 4.1:

4.1.  COSE Header Parameter Registry

   IANA is requested to register the new COSE Header parameters in
   Table 1 in the "COSE Header Parameters" registry.  The "Value
   Registry" field is empty for all of the items.  For each item, the
   'Reference' field points to this document.

{i wish we would always put the URL of the Registry, because sometimes thing
are too similiarly named.  It is, I think:
https://www.iana.org/assignments/cose/cose.xhtml#header-parameters }

If we can't get a value allocated in time, I guess we could squat on the st=
ring 'x5bag' for now.
Code should plan to accept 'x5bag' and the new value until the end of the
summer, as we aren't sure if/when we'll get the allocation done.

I have written this into the interop planning document at:
  https://docs.google.com/document/d/1T8Rtfk1zia_p05_6eb_WQA2Mmid-eP1-cAgnw=
dpF9Xk/edit?usp=3Dsharing

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmDjTJoACgkQgItw+93Q
3WVimQf+JN9JqI6lmMHaHSjykozknE0kQR11hFjTjP/7RlrF/XD9TJQICuT4sZT5
2Ps+wFAyHYHFdu5ZJ1CfjzWe3+l3Gk09D98zQSuYQ2Iqka7QkupVBIKBudBRkBZT
tikiB/w1bB6AGoTIAxL420KsAoskDJd3pYO4U8n5Wf7KGBjZzXX6Q31TbjhFN+bn
nqLi4opR4YveoyvTm0cZZi6ofQXUw7QpCrEjq07BVvNZwSW8ulLAGOFXlIQWnDar
iVMpaJitzVUrKCcni3YUArXevZIuqVVB9vMgFHTDk6CYQksKlmIuuspYQO8qYRqP
WId5aTBkIbJVggvsW64V495gpFkGQw==
=zOME
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Mon Jul  5 14:35:05 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D505C3A1BC4; Mon,  5 Jul 2021 14:34:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Qsz2ML4X0gSr; Mon,  5 Jul 2021 14:34:55 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F08A23A1BC1; Mon,  5 Jul 2021 14:34:54 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GJf982hvVz2xHT; Mon,  5 Jul 2021 23:34:52 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <29307.1625509018@localhost>
Date: Mon, 5 Jul 2021 23:34:52 +0200
Cc: anima@ietf.org, cose@ietf.org
X-Mao-Original-Outgoing-Id: 647213691.992162-1be08f895b47e427110fb241ae38e569
Content-Transfer-Encoding: quoted-printable
Message-Id: <273B71FB-5CDD-4649-BE79-C5737F789803@tzi.org>
References: <29307.1625509018@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/nN_NziHv9DYJ0T1W3iSvJrVrqHg>
Subject: Re: [COSE] [Anima] early allocation for x5bag
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Jul 2021 21:35:00 -0000

On 2021-07-05, at 20:16, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
>=20
> https://www.iana.org/assignments/cose/cose.xhtml#header-parameters

Is there a time-warp somewhere?

x5bag (TEMPORARY - registered 2019-08-20, extension registered =
2020-07-28, expires 2021-08-20)	32	COSE_X509		An =
unordered bag of X.509 certificates	[draft-ietf-cose-x509]

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Jul  5 14:56:01 2021
Return-Path: <mcr@sandelman.ca>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B2CF23A1D72; Mon,  5 Jul 2021 14:55:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 fzOBJBOuDgGg; Mon,  5 Jul 2021 14:55:49 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B8BAB3A1D71; Mon,  5 Jul 2021 14:55:49 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id BA9A138B47; Mon,  5 Jul 2021 17:58:12 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Fweas6roa8iY; Mon,  5 Jul 2021 17:58:08 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 98A3738B43; Mon,  5 Jul 2021 17:58:08 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id C6AF4454; Mon,  5 Jul 2021 17:55:42 -0400 (EDT)
From: Michael Richardson <mcr@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>
cc: anima@ietf.org, cose@ietf.org
In-Reply-To: <273B71FB-5CDD-4649-BE79-C5737F789803@tzi.org>
References: <29307.1625509018@localhost> <273B71FB-5CDD-4649-BE79-C5737F789803@tzi.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <25491.1625522142.1@localhost>
Content-Transfer-Encoding: quoted-printable
Date: Mon, 05 Jul 2021 17:55:42 -0400
Message-ID: <25492.1625522142@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/wge34FolxGbIOw9t_Qvxstdfovw>
Subject: Re: [COSE] [Anima] early allocation for x5bag
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Jul 2021 21:55:55 -0000

Carsten Bormann <cabo@tzi.org> wrote:
    > On 2021-07-05, at 20:16, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
    >>
    >>
    >> https://www.iana.org/assignments/cose/cose.xhtml#header-parameters

    > Is there a time-warp somewhere?

    > x5bag (TEMPORARY - registered 2019-08-20, extension registered 2020-=
07-28, expires 2021-08-20)	32	COSE_X509		An unordered bag of X.509 certifi=
cates	[draft-ietf-cose-x509]

https://www.ietf.org/archive/id/draft-ietf-cose-x509-08.html#Tags

Does not say anything about the allocation, and it's clearly been more tha=
n
two revisions of the document since 2019.
It's good to know that it's allocated already.

--
]               Never tell me the odds!                 | ipv6 mesh networ=
ks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect=
   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails =
   [





From nobody Mon Jul  5 18:07:55 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F3123A085B; Mon,  5 Jul 2021 18:07:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 mqUrX_J8YRVz; Mon,  5 Jul 2021 18:07:44 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E8663A0853; Mon,  5 Jul 2021 18:07:44 -0700 (PDT)
Received: from smtpclient.apple (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GJktg4Xxlz2xHS; Tue,  6 Jul 2021 03:07:39 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <25492.1625522142@localhost>
Date: Tue, 6 Jul 2021 03:07:38 +0200
Cc: anima@ietf.org, cose@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F5894F98-0720-48E8-8A80-F545A651F0C0@tzi.org>
References: <29307.1625509018@localhost> <273B71FB-5CDD-4649-BE79-C5737F789803@tzi.org> <25492.1625522142@localhost>
To: Michael Richardson <mcr@sandelman.ca>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/4CRlLMIJ_8QwOkQM9-Dst5aZisE>
Subject: Re: [COSE] [Anima] early allocation for x5bag
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jul 2021 01:07:50 -0000

On 5. Jul 2021, at 23:55, Michael Richardson <mcr@sandelman.ca> wrote:
>=20
> https://www.ietf.org/archive/id/draft-ietf-cose-x509-08.html#Tags
>=20
> Does not say anything about the allocation, and it's clearly been more =
than
> two revisions of the document since 2019.

Reinforces the point that only IANA and IESG should ever be allowed to =
read the IANA considerations =E2=80=94 implementers should always be =
made aware that the truth is in the registry.

> It's good to know that it's allocated already.

Indeed.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Jul  7 14:21:20 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 298BF3A02BD; Wed,  7 Jul 2021 14:21:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 VibG9sIVjB2T; Wed,  7 Jul 2021 14:21:09 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 975A03A02BB; Wed,  7 Jul 2021 14:21:09 -0700 (PDT)
Received: from mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 167LL0mS031672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 7 Jul 2021 17:21:06 -0400
Date: Wed, 7 Jul 2021 14:20:59 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: cose@ietf.org, jose@ietf.org
Message-ID: <20210707212059.GX17170@mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/Vq4r9CF2bjWGhjmHEjLtMiJQEZI>
Subject: [COSE] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2021 21:21:14 -0000

Hi all,

I'd like to get some input from the WGs on the history and intent of the
relationship between elliptic curves and their corresponding key type(s).

At present, it seems that for every elliptic curve listed in the respective
COSE and JOSE registries
(https://www.iana.org/assignments/cose/cose.xhtml#elliptic-curves ,
https://www.iana.org/assignments/jose/jose.xhtml#web-key-elliptic-curve),
there is exactly one key type that is used for points on that curve.  For
example, the NIST curves P-256, P-384, and P-521 use key type EC (for JOSE)
and EC2 (for COSE), and the "CFRG curves" Ed25519, Ed448, X25519, and X448
use OKP.

There is not a huge amount of guidance in the foundational RFCs, but I'll
try to summarize the hints I found, below:

JOSE only had the NIST curves in RFC 7518, so all the original elliptic
curves used the "EC" key type.  The registry template for curves does not
include the "kty" value(s), but the template for key parameters does.  In
particular, the column heading has the formulation 'Used with "kty"
Value(s)' that admits more than one "kty" for a given parameter (and
indeed, "crv" us used with both "EC" and "OKP".  But this seems to only be
used in practice, at least so far, as just another means for scoping the
parameter name -- the aforementioned "crv" entries appear on separate lines
in the registry, with the implication that the "crv" parameter might have a
different interpretation depending on which "kty" value it was seen with.
RFC 8037 added the CFRG curves and the "OKP" key type, with description:

   A new key type (kty) value "OKP" (Octet Key Pair) is defined for
   public key algorithms that use octet strings as private and public
   keys.  It has the following parameters:
   [...]
   o  The parameter "crv" MUST be present and contain the subtype of the
      key (from the "JSON Web Elliptic Curve" registry).

   [...]

In particular, the "public key algorithms that use octet strings as private
and public keys" suggests (at least to me) that the document was written
with an assumption that a given public-key algorithm would have a single
way in which to represent public and private keys.

COSE has done things a bit differently than JOSE (and not just by changing
the "kty" name to "EC2"), in particular by having a "key type" column in
the registry for COSE Elliptic Curves.  I note that in the live registry
and in RFC 8152, the column heading is the singular "Key Type", but in RFC
8152 the description of this column is "This designates the key type(s)
that can be used with this curve" that apparently admits more than one.
draft-ietf-cose-rfc8152bis-algs does not have a description of the registry
in its IANA Considerations section to refer to for comparison.  There are
admonitions throughout RFC 8152 and the bis, that applications must check
that the curve and key type are consistent and reject a key if they are
not.  As written, that seems to allow a notion of "consistent" that is not
strictly 1:1, but all of the curves defined so far only have that 1:1
mapping, and trying to use any other "kty" for an existing curve would run
into interop problems with existing implementations that reject other "kty"
values for that curve.


Do we expect a strict relationship where each curve has exactly one "kty"
that it's used with?  If not, in what scenario(s) would there be multiple
"kty" values to use with a single curve?

Thanks,

Ben


From nobody Wed Jul  7 15:42:48 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03A813A11F5; Wed,  7 Jul 2021 15:42:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 AuBcnR3-kMCC; Wed,  7 Jul 2021 15:42:42 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 664383A11F1; Wed,  7 Jul 2021 15:42:42 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 1F42B38A2D; Wed,  7 Jul 2021 18:45:12 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VJ8AxcDhH16k; Wed,  7 Jul 2021 18:45:09 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 5756D38A2B; Wed,  7 Jul 2021 18:45:09 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 7F7FF213; Wed,  7 Jul 2021 18:42:35 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Benjamin Kaduk <kaduk@mit.edu>, cose@ietf.org, jose@ietf.org
In-Reply-To: <20210707212059.GX17170@mit.edu>
References: <20210707212059.GX17170@mit.edu>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Wed, 07 Jul 2021 18:42:35 -0400
Message-ID: <21116.1625697755@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/ve5uoZRHCfIZpugET-2d7kJEPOY>
Subject: Re: [COSE] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jul 2021 22:42:47 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Benjamin Kaduk <kaduk@mit.edu> wrote:
    > As written, that seems to allow a notion of "consistent" that is not
    > strictly 1:1, but all of the curves defined so far only have that 1:1
    > mapping, and trying to use any other "kty" for an existing curve woul=
d run
    > into interop problems with existing implementations that reject other=
 "kty"
    > values for that curve.

It seems to me that we think it's always gonna be 1:1, but that we admit th=
at
we can't predict the future, and so we are providing some extra rope.

It also seems that we might also be thinking that there might be other ways
to encode the keys (into bytes), but that mostly it is the case that we have
a single encoding that we stick to.

(Why did we call it "EC2". Huh)

    > Do we expect a strict relationship where each curve has exactly one "=
kty"
    > that it's used with?  If not, in what scenario(s) would there be mult=
iple
    > "kty" values to use with a single curve?


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmDmLdsACgkQgItw+93Q
3WV2jwgAm0lSCpKH1XM5tvcM5hzSbT5+vDoivSwMJgkn1BQhBB5XDYFiPb4/OhZx
X9TAczfWJRRC+OOdqZNGSEAyu3wL3Bl/pD8PbPhwcS7L7duZBxCpDzMxd4GlcTgC
xF66/QBlP6lomBHSP6ztPuIlgretotpdWV8DH6kNYziKO6eX5YQy+KlOhVWUR3Lm
PNcyVRp0PCG3XdsQwvOv7M0GmD4AoRjqGiPuOwqxFCvWlf0wze1RbxgO9clbuGys
GWqKP6eOQtqSkhQH1oc6EujhBQx1/XE4gsfrDm8mIF2Aog61PcuHr7920aBxggVT
zZ8GPFASN9494yMLDouhEvnZqZmpkA==
=RE6U
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Fri Jul  9 20:44:46 2021
Return-Path: <lgl@island-resort.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D3B83A18D1 for <cose@ietfa.amsl.com>; Fri,  9 Jul 2021 20:44:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level: 
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
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 ylhPHtM_VjVk for <cose@ietfa.amsl.com>; Fri,  9 Jul 2021 20:44:41 -0700 (PDT)
Received: from p3plsmtpa07-07.prod.phx3.secureserver.net (p3plsmtpa07-07.prod.phx3.secureserver.net [173.201.192.236]) (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 C98123A18D0 for <cose@ietf.org>; Fri,  9 Jul 2021 20:44:41 -0700 (PDT)
Received: from [192.168.0.100] ([71.92.144.145]) by :SMTPAUTH: with ESMTPSA id 23uym9WEj2Typ23uzmYXLr; Fri, 09 Jul 2021 20:44:41 -0700
X-CMAE-Analysis: v=2.4 cv=QeKjAuXv c=1 sm=1 tr=0 ts=60e917a9 a=E5cCtQzjhQJ5yJ7bKjC7Hg==:117 a=E5cCtQzjhQJ5yJ7bKjC7Hg==:17 a=FaBbW2XwoaAUz_tRm_cA:9 a=QEXdDO2ut3YA:10 a=9RCK-V4mmkG3ALSriQMA:9 a=EjDDNK5xyDnh3f8m:21 a=_W_S_7VecoQA:10
X-SECURESERVER-ACCT: lgl@island-resort.com
From: Laurence Lundblade <lgl@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_0DD0AB5D-5749-4F0F-B8B2-512D948AA38E"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Message-Id: <531D1C22-D809-4030-9E84-6E5C91322C2A@island-resort.com>
Date: Fri, 9 Jul 2021 20:44:40 -0700
To: cose <cose@ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-CMAE-Envelope: MS4xfJzT+/tbGbu6Ow4OInwwz2V8TbISIh1B4AINfZFqz1FUCh2hbrV+3tkyczwChH5gYBvxqA/k/MnxdXb7foBIp1yI+snFkSFhTdUNDXRc+CKDl9lVLWpa mihXHVeOdhtLDYwSxnS7/UStoezvqXnN8MYkffxUFkPzsa1wZQnhNHR57J0nnJ7OipKQ7hXZg9+b2Q==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/hBGiZvOr8tujZ0FtkhusXhaqQzE>
Subject: [COSE] A standard definition for digests in draft-ietf-cose-hash-algs?
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jul 2021 03:44:44 -0000

--Apple-Mail=_0DD0AB5D-5749-4F0F-B8B2-512D948AA38E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi, Laurence here causing trouble again...

I=E2=80=99m looking to add a claim in EAT that is a digest =E2=80=94 a =
hash algorithm identifier and the hash value.

draft-ietf-cose-hash-algs-09 defines:

COSE_Hash_Find =3D [
    hashAlg : int / tstr,
    hashValue : bstr
]

This is pretty much what is needed, but the name of it is odd and the =
text suggests it should only use this for searching for things, which is =
not the purpose.=20

draft-ietf-cose-hash-algs-09 also =E2=80=9Cmentions":

COSE_Hash_V =3D (
    1 : int / tstr, # Algorithm identifier
    2 : bstr, # Hash value
    ? 3 : tstr, # Location of object that was hashed
    ? 4 : any   # object containing other details and things
    )

But this is just an example, not an actual normative standard definition =
according to the text, so I don=E2=80=99t think it is right to use it in =
a standards track document.

Also that CoSWID has a CBOR structure like this, but uses the Named =
Information Hash Algorithm Registry, not COSE algorithm identifiers.

And, SUIT laments that COSE doesn=E2=80=99t have this and defines its =
own with a different non-COSE numbering scheme for identifying hash =
algorithms.

All of the above uses are reasonably secure because they are embedded =
secured structures so the reasoning that digest shouldn=E2=80=99t exist =
because it isn=E2=80=99t secure in and of itself does seem right and =
deprives us of something useful.

Seems to me like draft-ietf-cose-hash-algs-09 should have a solid =
standard definition for a digest. My proposal would to replace =
COSE_Hash_Find and COSE_Hash_V with this:

COSE_Digest =3D (
    1 : int / tstr, # COSE Algorithm identifier
    2 : bstr, # Hash value
    * : $$cose-digest-extensions
    )

It seems too open-ended to try to figure out a standard for location of =
the object that is hashed, so I left that out.

Seems OK to just define a group and let the user of it make it into a =
map or array as they wish.

LL




--Apple-Mail=_0DD0AB5D-5749-4F0F-B8B2-512D948AA38E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div =
class=3D"">Hi, Laurence here causing trouble again...</div><div =
class=3D""><br class=3D""></div><div class=3D"">I=E2=80=99m looking to =
add a claim in EAT that is a digest =E2=80=94 a hash algorithm =
identifier and the hash value.</div><div class=3D""><br =
class=3D""></div>draft-ietf-cose-hash-algs-09 defines:<div class=3D""><br =
class=3D""><blockquote style=3D"margin: 0 0 0 40px; border: none; =
padding: 0px;" class=3D""><div class=3D"">COSE_Hash_Find =3D [</div><div =
class=3D"">&nbsp; &nbsp; hashAlg : int / tstr,</div><div class=3D"">&nbsp;=
 &nbsp; hashValue : bstr</div><div class=3D"">]</div><div class=3D""><br =
class=3D""></div></blockquote>This is pretty much what is needed, but =
the name of it is odd and the text suggests it should only use this for =
searching for things, which is not the purpose.&nbsp;</div><div =
class=3D""><br class=3D""></div><div =
class=3D"">draft-ietf-cose-hash-algs-09 also =E2=80=9Cmentions":</div><div=
 class=3D""><br class=3D""></div><blockquote style=3D"margin: 0 0 0 =
40px; border: none; padding: 0px;" class=3D""><div class=3D""><div =
class=3D"">COSE_Hash_V =3D (</div></div><div class=3D""><div =
class=3D"">&nbsp; &nbsp; 1 : int / tstr, # Algorithm =
identifier</div></div><div class=3D""><div class=3D"">&nbsp; &nbsp; 2 : =
bstr, # Hash value</div></div><div class=3D""><div class=3D"">&nbsp; =
&nbsp; ? 3 : tstr, # Location of object that was hashed</div></div><div =
class=3D""><div class=3D"">&nbsp; &nbsp; ? 4 : any &nbsp; # object =
containing other details and things</div></div><div class=3D""><div =
class=3D"">&nbsp; &nbsp; )</div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">But this is just an example, not an =
actual normative standard definition according to the text, so I don=E2=80=
=99t think it is right to use it in a standards track =
document.</div><div class=3D""><br class=3D""></div><div class=3D"">Also =
that CoSWID has a CBOR structure like this, but uses the&nbsp;Named =
Information Hash Algorithm Registry, not COSE algorithm =
identifiers.</div><div class=3D""><br class=3D""></div><div =
class=3D"">And, SUIT laments that COSE doesn=E2=80=99t have this and =
defines its own with a different non-COSE numbering scheme for =
identifying hash algorithms.</div><div class=3D""><br =
class=3D""></div><div class=3D"">All of the above uses are reasonably =
secure because they are embedded secured structures so the reasoning =
that digest shouldn=E2=80=99t exist because it isn=E2=80=99t secure in =
and of itself does seem right and deprives us of something =
useful.</div><div class=3D""><br class=3D""></div><div class=3D"">Seems =
to me like draft-ietf-cose-hash-algs-09 should have a solid standard =
definition for a digest. My proposal would to replace COSE_Hash_Find and =
COSE_Hash_V with this:</div><div class=3D""><br class=3D""></div><div =
class=3D""><pre class=3D"lang-CDDL sourcecode" style=3D"background-color: =
rgb(249, 249, 249); font-family: &quot;Roboto Mono&quot;, monospace; =
border: 1px solid rgb(238, 238, 238); margin-top: 0.5px; margin-bottom: =
0px; padding: 1em; overflow-x: auto; max-width: calc(100% - 22px); =
font-size: 13.300000190734863px; break-before: avoid-page; break-after: =
auto; line-height: 1.12; caret-color: rgb(34, 34, 34); color: rgb(34, =
34, 34);">COSE_Digest =3D (
    1 : int / tstr, # COSE Algorithm identifier
    2 : bstr, # Hash value
    * : $$cose-digest-extensions
    )</pre><div class=3D""><br class=3D""></div></div><div class=3D"">It =
seems too open-ended to try to figure out a standard for location of the =
object that is hashed, so I left that out.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Seems OK to just define a group and let =
the user of it make it into a map or array as they wish.</div><div =
class=3D""><br class=3D""></div><div class=3D"">LL</div><div =
class=3D""><br class=3D""></div><div class=3D""><blockquote =
style=3D"margin: 0 0 0 40px; border: none; padding: 0px;" class=3D""><div =
class=3D""><br class=3D""></div></blockquote><br =
class=3D""></div></body></html>=

--Apple-Mail=_0DD0AB5D-5749-4F0F-B8B2-512D948AA38E--


From nobody Sat Jul 10 00:02:47 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2B013A12C2 for <cose@ietfa.amsl.com>; Sat, 10 Jul 2021 00:02:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Qg1buZWRI89J for <cose@ietfa.amsl.com>; Sat, 10 Jul 2021 00:02:40 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2B353A12BE for <cose@ietf.org>; Sat, 10 Jul 2021 00:02:39 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GMLZL6Cmnz2xGb; Sat, 10 Jul 2021 09:02:34 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <531D1C22-D809-4030-9E84-6E5C91322C2A@island-resort.com>
Date: Sat, 10 Jul 2021 09:02:34 +0200
Cc: cose <cose@ietf.org>
X-Mao-Original-Outgoing-Id: 647593352.801237-6bc2f4d1a29781c726d90e8759ea3a56
Content-Transfer-Encoding: quoted-printable
Message-Id: <D148A16D-4DB3-4B5B-B7B6-59A481944990@tzi.org>
References: <531D1C22-D809-4030-9E84-6E5C91322C2A@island-resort.com>
To: Laurence Lundblade <lgl@island-resort.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/lBfSwsEBGQz9Stoh8oyMRXJR7DU>
Subject: Re: [COSE] A standard definition for digests in draft-ietf-cose-hash-algs?
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jul 2021 07:02:46 -0000

> On 2021-07-10, at 05:44, Laurence Lundblade <lgl@island-resort.com> =
wrote:
>=20
> Hi, Laurence here causing trouble again...
>=20
> I=E2=80=99m looking to add a claim in EAT that is a digest =E2=80=94 a =
hash algorithm identifier and the hash value.

What is that claim asserting?
If I make the claim =E2=80=9C3=E2=80=9D that is not a very good claim.
If I make the claim =E2=80=9Cthis device needs to be allowed a sustained =
communication bit rate of 3 bit/s to operate=E2=80=9D, this is a much =
better claim.

> draft-ietf-cose-hash-algs-09 defines:
>=20
> COSE_Hash_Find =3D [
>     hashAlg : int / tstr,
>     hashValue : bstr
> ]

This is the =E2=80=9C3=E2=80=9D.

> This is pretty much what is needed, but the name of it is odd and the =
text suggests it should only use this for searching for things, which is =
not the purpose.=20
>=20
> draft-ietf-cose-hash-algs-09 also =E2=80=9Cmentions":
>=20
> COSE_Hash_V =3D (
>     1 : int / tstr, # Algorithm identifier
>     2 : bstr, # Hash value
>     ? 3 : tstr, # Location of object that was hashed
>     ? 4 : any   # object containing other details and things
>     )

Entries 3 and 4 complement (or, can complement in a specific context =E2=80=
=94 that=E2=80=99s why this is an example) the =E2=80=9C3=E2=80=9D to a =
meaningful claim.

> But this is just an example, not an actual normative standard =
definition according to the text, so I don=E2=80=99t think it is right =
to use it in a standards track document.

Of course you can use examples for building your standard-track =
document.

> Also that CoSWID has a CBOR structure like this, but uses the Named =
Information Hash Algorithm Registry, not COSE algorithm identifiers.

RFC 6920 has been around for a while and so was the go-to registry =
before cose-hash-algs defined its own.

> And, SUIT laments that COSE doesn=E2=80=99t have this and defines its =
own with a different non-COSE numbering scheme for identifying hash =
algorithms.

To be fixed with cose-hash-algs.

Gr=C3=BC=C3=9Fe, Carsten



From nobody Mon Jul 12 09:11:47 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cose@ietf.org
Delivered-To: cose@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 17C473A2113; Mon, 12 Jul 2021 09:11:41 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cose@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.34.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cose@ietf.org
Message-ID: <162610630104.18669.5520792143940175352@ietfa.amsl.com>
Date: Mon, 12 Jul 2021 09:11:41 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/gqnYfQGW2Z3Y0Wl0dgaPptYdBVo>
Subject: [COSE] I-D Action: draft-ietf-cose-cbor-encoded-cert-02.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Jul 2021 16:11:45 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the CBOR Object Signing and Encryption WG of the IETF.

        Title           : CBOR Encoded X.509 Certificates (C509 Certificates)
        Authors         : John Preuß Mattsson
                          Göran Selander
                          Shahid Raza
                          Joel Höglund
                          Martin Furuhed
	Filename        : draft-ietf-cose-cbor-encoded-cert-02.txt
	Pages           : 57
	Date            : 2021-07-12

Abstract:
   This document specifies a CBOR encoding of X.509 certificates.  The
   resulting certificates are called C509 Certificates.  The CBOR
   encoding supports a large subset of RFC 5280 and all certificates
   compatible with the RFC 7925, IEEE 802.1AR (DevID), CNSA, RPKI, GSMA
   eUICC, and CA/Browser Forum Baseline Requirements profiles.  When
   used to re-encode DER encoded X.509 certificates, the CBOR encoding
   can in many cases reduce the size of RFC 7925 profiled certificates
   with over 50%.  The CBOR encoded structure can alternatively be
   signed directly ("natively signed"), which does not require re-
   encoding for the signature to be verified.  The document also
   specifies C509 COSE headers, a C509 TLS certificate type, and a C509
   file format.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cose-cbor-encoded-cert/

There is also an htmlized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-cose-cbor-encoded-cert-02

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cose-cbor-encoded-cert-02


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Mon Jul 12 20:46:15 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92F283A1140; Mon, 12 Jul 2021 20:46:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level: 
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 MaT2umvLfxpP; Mon, 12 Jul 2021 20:46:09 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 18D813A113F; Mon, 12 Jul 2021 20:46:08 -0700 (PDT)
Received: from mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 16D3k1Ka008777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Jul 2021 23:46:06 -0400
Date: Mon, 12 Jul 2021 20:46:00 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: cose@ietf.org, jose@ietf.org
Message-ID: <20210713034600.GJ17170@mit.edu>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <21116.1625697755@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/nxqTGDxwfK29YCc6kjejR-0tFSQ>
Subject: Re: [COSE] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2021 03:46:14 -0000

Hi Michael,

Thanks for sharing your thoughts.

On Wed, Jul 07, 2021 at 06:42:35PM -0400, Michael Richardson wrote:
> 
> Benjamin Kaduk <kaduk@mit.edu> wrote:
>     > As written, that seems to allow a notion of "consistent" that is not
>     > strictly 1:1, but all of the curves defined so far only have that 1:1
>     > mapping, and trying to use any other "kty" for an existing curve would run
>     > into interop problems with existing implementations that reject other "kty"
>     > values for that curve.
> 
> It seems to me that we think it's always gonna be 1:1, but that we admit that
> we can't predict the future, and so we are providing some extra rope.

There is of course a reason that I am asking the question.  I had hoped
to separate the initial batch of responses to the general question from the
specific case, so I didn't mention it in the initial note, but
draft-ietf-lwig-curve-representations registers the Wei25519 and Wei448
elliptic curves (the short-Weierstrass analogues of Curve25519 and
Curve448), and currently lists the key type for both as "EC2 or OKP".

To my knowledge, these curve (representation)s are not in wide use and
there is thus not a well-established single point representation to use
with them.  However, since the intent of the work is to expose the CFRG
curves' benefits to implementations tailored to short-Weierstrass curves,
which in turn would be likely to use the "EC2" representation in its
interfaces, it seems like if we were to pick a preferred representation it
would be "EC2".

> It also seems that we might also be thinking that there might be other ways
> to encode the keys (into bytes), but that mostly it is the case that we have
> a single encoding that we stick to.

But for a protocol don't we kind of only want a single encoding anyway?

> (Why did we call it "EC2". Huh)

I feel like I used to know this, but am drawing a blank.  Maybe that there
are two coordinates included?

Thanks again,

Ben

>     > Do we expect a strict relationship where each curve has exactly one "kty"
>     > that it's used with?  If not, in what scenario(s) would there be multiple
>     > "kty" values to use with a single curve?
> 
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
> 
> 
> 
> 



From nobody Mon Jul 12 21:03:28 2021
Return-Path: <lgl@island-resort.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4982C3A11D8 for <cose@ietfa.amsl.com>; Mon, 12 Jul 2021 21:03:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level: 
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 d28So6an4Qq9 for <cose@ietfa.amsl.com>; Mon, 12 Jul 2021 21:03:21 -0700 (PDT)
Received: from p3plsmtpa07-06.prod.phx3.secureserver.net (p3plsmtpa07-06.prod.phx3.secureserver.net [173.201.192.235]) (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 063E53A11A3 for <cose@ietf.org>; Mon, 12 Jul 2021 21:03:20 -0700 (PDT)
Received: from [192.168.0.100] ([71.92.144.145]) by :SMTPAUTH: with ESMTPSA id 39dfmJqJBeRUZ39dfmUeNI; Mon, 12 Jul 2021 21:03:20 -0700
X-CMAE-Analysis: v=2.4 cv=GLvNrsBK c=1 sm=1 tr=0 ts=60ed1088 a=E5cCtQzjhQJ5yJ7bKjC7Hg==:117 a=E5cCtQzjhQJ5yJ7bKjC7Hg==:17 a=IkcTkHD0fZMA:10 a=gKmFwSsBAAAA:8 a=K6EGIJCdAAAA:8 a=F_PLKGWYoKqL7QoE154A:9 a=MBLDxw3sipA5mzGG:21 a=XyqfF0fGPT4M48Xg:21 a=QEXdDO2ut3YA:10 a=nnPW6aIcBuj1ljLj_o6Q:22 a=L6pVIi0Kn1GYQfi8-iRI:22
X-SECURESERVER-ACCT: lgl@island-resort.com
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Laurence Lundblade <lgl@island-resort.com>
In-Reply-To: <D148A16D-4DB3-4B5B-B7B6-59A481944990@tzi.org>
Date: Mon, 12 Jul 2021 21:03:18 -0700
Cc: cose <cose@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <939CE500-FA25-4FBE-91DB-D396D1E1226B@island-resort.com>
References: <531D1C22-D809-4030-9E84-6E5C91322C2A@island-resort.com> <D148A16D-4DB3-4B5B-B7B6-59A481944990@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-CMAE-Envelope: MS4xfCSqYmDss6faYzy7/JdLnFZt2DcKeOHG1IoBY7v2tpt74UbDMHmiFpEHcEm+wtntzSLZut4RY0GEqzYmmez9v8VIsKnBwh05HII7Qs3m+WkJD/StWZti 5vtKpnkziPd+C8z7bFYM/0GTbJYV7i1U/VvQoUwBu/dtK7InjsEiHz9dduy/X78kLBsxd53+iqOf8u6pn3smhGAOo3DnWcQnCvg=
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/hqv5Qag0sAJCXCctrG1DvfXpJCI>
Subject: Re: [COSE] A standard definition for digests in draft-ietf-cose-hash-algs?
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2021 04:03:26 -0000

Hi Carsten,

> On Jul 10, 2021, at 12:02 AM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
>=20
>> On 2021-07-10, at 05:44, Laurence Lundblade <lgl@island-resort.com> =
wrote:
>>=20
>> Hi, Laurence here causing trouble again...
>>=20
>> I=E2=80=99m looking to add a claim in EAT that is a digest =E2=80=94 =
a hash algorithm identifier and the hash value.
>=20
> What is that claim asserting?
> If I make the claim =E2=80=9C3=E2=80=9D that is not a very good claim.
> If I make the claim =E2=80=9Cthis device needs to be allowed a =
sustained communication bit rate of 3 bit/s to operate=E2=80=9D, this is =
a much better claim.
>=20
>> draft-ietf-cose-hash-algs-09 defines:
>>=20
>> COSE_Hash_Find =3D [
>>    hashAlg : int / tstr,
>>    hashValue : bstr
>> ]
>=20
> This is the =E2=80=9C3=E2=80=9D.

Not sure I=E2=80=99m receiving the point you are trying to make here =
with =E2=80=9C3=E2=80=9D.

We=E2=80=99ve defined COSE_Sign and COSE_Mac to carry payloads that are =
unspecified by COSE. People can do dumb things and good things in with =
what is defined today.

Seems like COSE_Digest would be pretty much the same.

Note also that the name =E2=80=9CCOSE_Hash_Find=E2=80=9D does not really =
line up with the actual uses in EAT, SUIT or CoSWID.

And it is of course incumbent on EAT to define what the digest is of, =
just like SUIT and CoSWID defined what the object of their digests.


>> This is pretty much what is needed, but the name of it is odd and the =
text suggests it should only use this for searching for things, which is =
not the purpose.=20
>>=20
>> draft-ietf-cose-hash-algs-09 also =E2=80=9Cmentions":
>>=20
>> COSE_Hash_V =3D (
>>    1 : int / tstr, # Algorithm identifier
>>    2 : bstr, # Hash value
>>    ? 3 : tstr, # Location of object that was hashed
>>    ? 4 : any   # object containing other details and things
>>    )
>=20
> Entries 3 and 4 complement (or, can complement in a specific context =
=E2=80=94 that=E2=80=99s why this is an example) the =E2=80=9C3=E2=80=9D =
to a meaningful claim.

SUIT, CoSWID and EAT just need the simple pair of algorithm ID and hash =
value. Seems like the pair is enough to be of value to me without the =
extra data item for location. In all three the identification of the =
object of the hash is in the surrounding structure, not in the digest =
structure.


>> But this is just an example, not an actual normative standard =
definition according to the text, so I don=E2=80=99t think it is right =
to use it in a standards track document.
>=20
> Of course you can use examples for building your standard-track =
document.

My hope is to add support for a standard like COSE_Digest to my COSE =
library so it maybe can end up as code shared by CoSWID, SUIT and EAT.  =
If it is a standard, then it get used more as is and more libraries may =
support it as is.

Also, if COSE_SIgn1 where just an example, I don=E2=80=99t think it =
would be the same as what we have now.


>> Also that CoSWID has a CBOR structure like this, but uses the Named =
Information Hash Algorithm Registry, not COSE algorithm identifiers.
>=20
> RFC 6920 has been around for a while and so was the go-to registry =
before cose-hash-algs defined its own.
>=20
>> And, SUIT laments that COSE doesn=E2=80=99t have this and defines its =
own with a different non-COSE numbering scheme for identifying hash =
algorithms.
>=20
> To be fixed with cose-hash-algs.

Is there a PR I can look at yet so I can see what to do in EAT?

LL



From nobody Mon Jul 12 23:57:06 2021
Return-Path: <neil.madden@forgerock.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FA4F3A1A36 for <cose@ietfa.amsl.com>; Mon, 12 Jul 2021 23:57:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level: 
X-Spam-Status: No, score=-2.096 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_BLOCKED=0.001, SPF_HELO_NONE=0.001, 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=forgerock.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 HShFPYVPWk_5 for <cose@ietfa.amsl.com>; Mon, 12 Jul 2021 23:56:59 -0700 (PDT)
Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 652863A1A30 for <cose@ietf.org>; Mon, 12 Jul 2021 23:56:59 -0700 (PDT)
Received: by mail-wm1-x334.google.com with SMTP id w13so12882165wmc.3 for <cose@ietf.org>; Mon, 12 Jul 2021 23:56:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forgerock.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to:content-transfer-encoding; bh=sl2TEwlG3T6OmzQZ+hCGVPlxIWwO6MYcn6fSRrMi8eE=; b=CRsI48HLJiikOQGOu4gAyhl3WYln9WdOE7pASWxocO5cGgH0/WJlhmLax2OaAUC7cX 1Shaksim/ffLvLXg1QqEbhgogIBNL2cjr7Tgfyv72BAXEPE31lPWVF1RYZRm2p4BFsDV fZanOARBOE3wmQdz8/AmQW3ac2O4aScBbVgeo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to:content-transfer-encoding; bh=sl2TEwlG3T6OmzQZ+hCGVPlxIWwO6MYcn6fSRrMi8eE=; b=DcPkqCUvhgF8yIsSxtBJF7mYZ1R2Y4XrvnHAUCWbW2iQ139TImSfdULZu0doOBQVtd KB8k00nvySdprmc6CLpNQPk4iPs4y9n0eXqZepvabXlg0tGp4IHoMiqp9UEQD0Ht/261 m/tXxDK8sy9HRtjMwSEFhQCUJSlTzwGJHsRDUzRUTvQIPwUQgpoYg/bAkcoWxrPkbEh5 IHEBAvkK3Bxk19Ftt6/EpxckGrTSbj8QwEk0V63ElSQElQG6nx1k0CzpChtbo/iHsdnN d2tSzW9P8PeZCvvPe4BmrWHXFlPi8Sth+IFNeYOGC3Wj+9a2N2JIjCSCBvlhWRc1uUFN Ow2w==
X-Gm-Message-State: AOAM5316vWxYalFWxenJF9hDclvT8boPWEQsT7xwbQB5pvHHxaXAYFoM OEvgepF5Eb/yt7E7asV3vS5G6zidw7+zEp5U+cTWQLn4zrUev54X5h5shoUsI4moc9dwbfQWlLr p5OhUXf8=
X-Google-Smtp-Source: ABdhPJwSPktJm2C0MPhGnOSJy8qBfn7aoMKnyUkcaTSAmx6YvCfesmCs07fuUkA7FqngqMSROSyuTA==
X-Received: by 2002:a1c:1f8a:: with SMTP id f132mr3236223wmf.56.1626159416925;  Mon, 12 Jul 2021 23:56:56 -0700 (PDT)
Received: from [10.0.0.6] (113.87.75.194.dyn.plus.net. [194.75.87.113]) by smtp.gmail.com with ESMTPSA id d18sm1507572wrw.7.2021.07.12.23.56.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jul 2021 23:56:56 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Neil Madden <neil.madden@forgerock.com>
In-Reply-To: <20210713034600.GJ17170@mit.edu>
Date: Tue, 13 Jul 2021 07:56:55 +0100
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, jose@ietf.org, cose@ietf.org
Message-Id: <47195B9C-4323-467A-AE27-949DE33C38A4@forgerock.com>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost> <20210713034600.GJ17170@mit.edu>
To: Benjamin Kaduk <kaduk@mit.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/TC6vZvpHvniAD-SA9x58ufY4IEQ>
Subject: Re: [COSE] [jose] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2021 06:57:05 -0000

My understanding is that single-coordinate representations (OKP) are safer =
because they reduce the scope for invalid curve attacks, but that they were=
 patent-encumbered for many years. With a double-coordinate representation =
you have to carefully check that (x,y) satisfies the curve equation. With a=
 single coordinate you instead calculate y from x using the curve equation =
(if you need it), so it can=E2=80=99t fail to satisfy it. IMO, that should =
be the preferred representation for any new curves.=20

Note that if you want to be completely unambiguous then you typically want =
a single coordinate (x) plus a bit to say which of the two roots to use for=
 the y-coordinate. RFC 8037 allows this by not committing to what =E2=80=9C=
x=E2=80=9D represents, but RFC 8152 for COSE says that the =E2=80=9Cx=E2=80=
=9D field is the little-endian encoding of the x-coordinate specifically, s=
o you might need a different type. (In fact, EdDSA public keys are the *y* =
coordinate plus a single bit to say which x-coordinate to use, so I think C=
OSE is already breaking its own contract).

=E2=80=94 Neil

> On 13 Jul 2021, at 04:46, Benjamin Kaduk <kaduk@mit.edu> wrote:
>=20
> Hi Michael,
>=20
> Thanks for sharing your thoughts.
>=20
> On Wed, Jul 07, 2021 at 06:42:35PM -0400, Michael Richardson wrote:
>>=20
>> Benjamin Kaduk <kaduk@mit.edu> wrote:
>>> As written, that seems to allow a notion of "consistent" that is not
>>> strictly 1:1, but all of the curves defined so far only have that 1:1
>>> mapping, and trying to use any other "kty" for an existing curve would =
run
>>> into interop problems with existing implementations that reject other "=
kty"
>>> values for that curve.
>>=20
>> It seems to me that we think it's always gonna be 1:1, but that we admit=
 that
>> we can't predict the future, and so we are providing some extra rope.
>=20
> There is of course a reason that I am asking the question.  I had hoped
> to separate the initial batch of responses to the general question from t=
he
> specific case, so I didn't mention it in the initial note, but
> draft-ietf-lwig-curve-representations registers the Wei25519 and Wei448
> elliptic curves (the short-Weierstrass analogues of Curve25519 and
> Curve448), and currently lists the key type for both as "EC2 or OKP".
>=20
> To my knowledge, these curve (representation)s are not in wide use and
> there is thus not a well-established single point representation to use
> with them.  However, since the intent of the work is to expose the CFRG
> curves' benefits to implementations tailored to short-Weierstrass curves,
> which in turn would be likely to use the "EC2" representation in its
> interfaces, it seems like if we were to pick a preferred representation i=
t
> would be "EC2".
>=20
>> It also seems that we might also be thinking that there might be other w=
ays
>> to encode the keys (into bytes), but that mostly it is the case that we =
have
>> a single encoding that we stick to.
>=20
> But for a protocol don't we kind of only want a single encoding anyway?
>=20
>> (Why did we call it "EC2". Huh)
>=20
> I feel like I used to know this, but am drawing a blank.  Maybe that ther=
e
> are two coordinates included?
>=20
> Thanks again,
>=20
> Ben
>=20
>>> Do we expect a strict relationship where each curve has exactly one "kt=
y"
>>> that it's used with?  If not, in what scenario(s) would there be multip=
le
>>> "kty" values to use with a single curve?
>>=20
>>=20
>> --
>> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consu=
lting )
>>           Sandelman Software Works Inc, Ottawa and Worldwide
>>=20
>>=20
>>=20
>>=20
>=20
>=20
> _______________________________________________
> jose mailing list
> jose@ietf.org
> https://www.ietf.org/mailman/listinfo/jose


--=20
ForgeRock values your Privacy <https://www.forgerock.com/your-privacy>


From nobody Tue Jul 13 04:12:59 2021
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 216693A13FA; Tue, 13 Jul 2021 04:12:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
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 FYJuyOaOlRUl; Tue, 13 Jul 2021 04:12:54 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2b.welho.com [83.102.41.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E9483A13F9; Tue, 13 Jul 2021 04:12:53 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 5BC7DC3F1B; Tue, 13 Jul 2021 14:12:51 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id o3A-BwgI0qc3; Tue, 13 Jul 2021 14:12:51 +0300 (EEST)
Received: from LK-Perkele-VII2 (87-92-216-160.rev.dnainternet.fi [87.92.216.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 1B56B72; Tue, 13 Jul 2021 14:12:48 +0300 (EEST)
Date: Tue, 13 Jul 2021 14:12:47 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: jose@ietf.org, cose@ietf.org
Message-ID: <YO11Lx4PLtfCCz9B@LK-Perkele-VII2.locald>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost> <20210713034600.GJ17170@mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20210713034600.GJ17170@mit.edu>
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/7Li0dNkTBeBBcyVX7LQ_DPiqBwY>
Subject: Re: [COSE] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2021 11:12:57 -0000

On Mon, Jul 12, 2021 at 08:46:00PM -0700, Benjamin Kaduk wrote:
> Hi Michael,
> 
> Thanks for sharing your thoughts.
> 
> On Wed, Jul 07, 2021 at 06:42:35PM -0400, Michael Richardson wrote:
> > 
> > Benjamin Kaduk <kaduk@mit.edu> wrote:
> >     > As written, that seems to allow a notion of "consistent" that is not
> >     > strictly 1:1, but all of the curves defined so far only have that 1:1
> >     > mapping, and trying to use any other "kty" for an existing curve would run
> >     > into interop problems with existing implementations that reject other "kty"
> >     > values for that curve.
> > 
> > It seems to me that we think it's always gonna be 1:1, but that we admit that
> > we can't predict the future, and so we are providing some extra rope.
> 
> There is of course a reason that I am asking the question.  I had hoped
> to separate the initial batch of responses to the general question from the
> specific case, so I didn't mention it in the initial note, but
> draft-ietf-lwig-curve-representations registers the Wei25519 and Wei448
> elliptic curves (the short-Weierstrass analogues of Curve25519 and
> Curve448), and currently lists the key type for both as "EC2 or OKP".

To my knowledge, the goals of those curves are:

- Be compatible with devices with arbitrary-curve short-Weierstrass
  acceleration.
- Be compatible with legacy EC algorithms (e.g., ECDH, ECDSA). However,
  there are some nasty edge cases here.
- Use more efficient base fields and ladders where acceleration is not
  available.

> To my knowledge, these curve (representation)s are not in wide use and
> there is thus not a well-established single point representation to use
> with them.  However, since the intent of the work is to expose the CFRG
> curves' benefits to implementations tailored to short-Weierstrass curves,
> which in turn would be likely to use the "EC2" representation in its
> interfaces, it seems like if we were to pick a preferred representation it
> would be "EC2".

There is well-established encoding for short-Weierstrass curves to bytes:
the secg encoding (there are both compressed and uncompressed variants).
However, These curves are intended to be worked with general-purpose
short-Weierstras implemenations, and COSE EC2 (and JOSE EC) are intended
for the same class, so EC2 is the correct choice, and allowing both
would just add more code.


-Ilari


From nobody Tue Jul 13 04:30:19 2021
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7B573A14CD; Tue, 13 Jul 2021 04:30:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 XNzwsHieuhh9; Tue, 13 Jul 2021 04:30:06 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2b.welho.com [83.102.41.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E5C313A14CC; Tue, 13 Jul 2021 04:30:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 088F3C3F1B; Tue, 13 Jul 2021 14:29:58 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id 2DSZ8VwDwfE2; Tue, 13 Jul 2021 14:29:57 +0300 (EEST)
Received: from LK-Perkele-VII2 (87-92-216-160.rev.dnainternet.fi [87.92.216.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id AFD48287; Tue, 13 Jul 2021 14:29:54 +0300 (EEST)
Date: Tue, 13 Jul 2021 14:29:54 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Neil Madden <neil.madden@forgerock.com>
Cc: jose@ietf.org, cose@ietf.org
Message-ID: <YO15MhoS3aU9SPlc@LK-Perkele-VII2.locald>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost> <20210713034600.GJ17170@mit.edu> <47195B9C-4323-467A-AE27-949DE33C38A4@forgerock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <47195B9C-4323-467A-AE27-949DE33C38A4@forgerock.com>
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/eZyKPluabmoR83pPDzaeKsmUqRA>
Subject: Re: [COSE] [jose] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2021 11:30:13 -0000

On Tue, Jul 13, 2021 at 07:56:55AM +0100, Neil Madden wrote:
> My understanding is that single-coordinate representations (OKP) are
> safer because they reduce the scope for invalid curve attacks, but
> that they were patent-encumbered for many years. With a double-
> coordinate representation you have to carefully check that (x,y)
> satisfies the curve equation. With a single coordinate you instead
> calculate y from x using the curve equation (if you need it), so
> it can’t fail to satisfy it. IMO, that should be the preferred
> representation for any new curves. 

To actually eliminate invalid-curve attacks, one needs representation
that seamlessly switches between curve and its twist, in addition to
the curve being designed so that both it and its twist are strong
curves. AFAIK, pretty much the only application one can exploit this is
ECDH.

Just compressing is not enough: There are square root algorithms that
produce some bogus result if given number with no square root. I do
not know how such bogus y would interact with elliptic-curve
arithmetic, but it might not be good.

And while in general, it is preferred that key formats are defined as
octet strings, and thus mapped as OKP, in specific case of lwig-curves,
since those are short-weierstrass points intended to be used with
legacy algorithms, EC2 is much better match.

And thinking about future post-quantum algorithms, all the NISTPQC
stuff has octet string keys, so OKP would be correct match. However,
new algorithms are needed for PQC, especially for KEMs.

> Note that if you want to be completely unambiguous then you typically
> want a single coordinate (x) plus a bit to say which of the two roots
> to use for the y-coordinate. RFC 8037 allows this by not committing
> to what “x” represents, but RFC 8152 for COSE says that the “x” field
> is the little-endian encoding of the x-coordinate specifically, so
> you might need a different type. (In fact, EdDSA public keys are the
> *y* coordinate plus a single bit to say which x-coordinate to use,
> so I think COSE is already breaking its own contract).

Right, to actually get a curve point, you need x and sign bit of y
(with Edwards curves, one could alternatively use the more common
y coordinate and sign of x representation).

And on RFC 8152 saying it is little-endian encoding of x-coordinate,
that is just plain incorrect. And in fact, it has led to some
confusion. The whole idea of OKP is to abstract on encoding, making
it specific to subtype. In JOSE, there are currently two distinct
encodings that both use OKP type (and in future, there may be more).


-Ilari


From nobody Tue Jul 13 06:37:29 2021
Return-Path: <neil.madden@forgerock.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3BCE83A1031 for <cose@ietfa.amsl.com>; Tue, 13 Jul 2021 06:37:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level: 
X-Spam-Status: No, score=-2.096 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, 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=forgerock.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 Anh13tH8Pd-r for <cose@ietfa.amsl.com>; Tue, 13 Jul 2021 06:37:15 -0700 (PDT)
Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69D153A0F5E for <cose@ietf.org>; Tue, 13 Jul 2021 06:37:12 -0700 (PDT)
Received: by mail-wr1-x42f.google.com with SMTP id l7so29610197wrv.7 for <cose@ietf.org>; Tue, 13 Jul 2021 06:37:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forgerock.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=R0IrLxMgeGEdhoF87IQ1muBLb5dXUKpz78urlQ2//BI=; b=eha9F+XQ0QQsGBAYm8zuK//uCBUbEFnK4pKQT2OYqCtTcpSXue3sipptIW4dnGvZ8U Xghn8LwD/bFZN2N4odB7ECxiJU+pQ03aq0Zguum+mJqbNbd6wFW7eQrHEt8kJEbbYAlD o5FQJDRXhrdspJim0VthkodGM2MXtayIvRk5w=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=R0IrLxMgeGEdhoF87IQ1muBLb5dXUKpz78urlQ2//BI=; b=k4H9sZATksxRuPbcSM5gemydJHqoatI4g9pF1hgYNhEcm7necQPd3qwGSEPgrBnb/H GABvPSAHjyY3kgl5lLfGQIO79gMjyKXpvqpiYTrWNU4l8wWA2pGl56mMTdG3P9QjxL2j ACh1AKYz2xrdcHDUXTxUnfr/SvF6p0xUAmpQMFnN98MuqcvEOvYA1784i30uCe9si6x6 jbf4A8lecDTzEkUGidnwWILZQnd3Gw2EF8t4sr8UhAzHIrOHA0m0fZlvoJmYzAiCW93t xk/KsP7epxfsXM/kDh4fACbynGFoAYIe3+UDvw71NsqVMA+K7bXjp4ZSg0kRCh1wUmaI L+hQ==
X-Gm-Message-State: AOAM5311aeducCm2LG5zVqfIEFD21tD7miK4p+oQgj9L6ONO8G/Be6l/ hlBs+2e2ERbLpUK9CaJo3B6hJJKqLohn/xaJYpN8uOmwMFOILGflsbGjDjZA96ftH/6xvtMf
X-Google-Smtp-Source: ABdhPJzPCvVvOCAylcPOxHAxQzrrKBJNKC7BKELRYTd/nI09detEe7w4hi6R7+VTCceQsg633AVS5Q==
X-Received: by 2002:a5d:6da3:: with SMTP id u3mr5785600wrs.394.1626183428818;  Tue, 13 Jul 2021 06:37:08 -0700 (PDT)
Received: from [192.168.10.202] ([195.224.190.250]) by smtp.gmail.com with ESMTPSA id e6sm9503602wrg.18.2021.07.13.06.37.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Jul 2021 06:37:08 -0700 (PDT)
From: Neil Madden <neil.madden@forgerock.com>
Message-Id: <7870792A-7421-4989-9C77-9807E1820109@forgerock.com>
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Tue, 13 Jul 2021 14:37:07 +0100
In-Reply-To: <YO15MhoS3aU9SPlc@LK-Perkele-VII2.locald>
Cc: jose@ietf.org, cose@ietf.org
To: Ilari Liusvaara <ilariliusvaara@welho.com>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost> <20210713034600.GJ17170@mit.edu> <47195B9C-4323-467A-AE27-949DE33C38A4@forgerock.com> <YO15MhoS3aU9SPlc@LK-Perkele-VII2.locald>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Content-Type: multipart/alternative; boundary="Apple-Mail=_9137E76A-29D0-4495-8C5C-60E4546DB87B"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/mvbSpoRBlyajj4ktA_v31Jn7exs>
Subject: Re: [COSE] [jose] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2021 13:37:28 -0000

--Apple-Mail=_9137E76A-29D0-4495-8C5C-60E4546DB87B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"

On 13 Jul 2021, at 12:29, Ilari Liusvaara <ilariliusvaara@welho.com> wrote:
>=20
> On Tue, Jul 13, 2021 at 07:56:55AM +0100, Neil Madden wrote:
>> My understanding is that single-coordinate representations (OKP) are
>> safer because they reduce the scope for invalid curve attacks, but
>> that they were patent-encumbered for many years. With a double-
>> coordinate representation you have to carefully check that (x,y)
>> satisfies the curve equation. With a single coordinate you instead
>> calculate y from x using the curve equation (if you need it), so
>> it can=E2=80=99t fail to satisfy it. IMO, that should be the preferred
>> representation for any new curves.=20
>=20
> To actually eliminate invalid-curve attacks, one needs representation
> that seamlessly switches between curve and its twist, in addition to
> the curve being designed so that both it and its twist are strong
> curves. AFAIK, pretty much the only application one can exploit this is
> ECDH.
>=20
> Just compressing is not enough: There are square root algorithms that
> produce some bogus result if given number with no square root. I do
> not know how such bogus y would interact with elliptic-curve
> arithmetic, but it might not be good.

Sure, that=E2=80=99s why I said =E2=80=9Creduce the scope=E2=80=9D rather t=
han eliminate. I would still say compressed/OKP representations are safer t=
han uncompressed two-coordinate representations. As http://safecurves.cr.yp=
.to/twist.html <http://safecurves.cr.yp.to/twist.html> says:

=E2=80=9CA protocol designer can help protect against [invalid curve attack=
s] by specifying point compression. An implementation that receives a compr=
essed point, such as x and just one bit of y, will naturally detect invalid=
 inputs when it reconstructs the missing coordinate.=E2=80=9D

Although some square root algorithms may produce bad results for a non-squa=
re input, many will produce an error, which is preferable to no check being=
 done at all (which has been the case in the past: http://blog.intothesymme=
try.com/2017/03/critical-vulnerability-in-json-web.html <http://blog.intoth=
esymmetry.com/2017/03/critical-vulnerability-in-json-web.html> ).

>=20
> And while in general, it is preferred that key formats are defined as
> octet strings, and thus mapped as OKP, in specific case of lwig-curves,
> since those are short-weierstrass points intended to be used with
> legacy algorithms, EC2 is much better match.

But as you say, these existing implementations are going to work with secg =
encoding, not JWK. So in either case you have some translation to do.

>=20
> And thinking about future post-quantum algorithms, all the NISTPQC
> stuff has octet string keys, so OKP would be correct match. However,
> new algorithms are needed for PQC, especially for KEMs.
>=20
>> Note that if you want to be completely unambiguous then you typically
>> want a single coordinate (x) plus a bit to say which of the two roots
>> to use for the y-coordinate. RFC 8037 allows this by not committing
>> to what =E2=80=9Cx=E2=80=9D represents, but RFC 8152 for COSE says that =
the =E2=80=9Cx=E2=80=9D field
>> is the little-endian encoding of the x-coordinate specifically, so
>> you might need a different type. (In fact, EdDSA public keys are the
>> *y* coordinate plus a single bit to say which x-coordinate to use,
>> so I think COSE is already breaking its own contract).
>=20
> Right, to actually get a curve point, you need x and sign bit of y
> (with Edwards curves, one could alternatively use the more common
> y coordinate and sign of x representation).
>=20
> And on RFC 8152 saying it is little-endian encoding of x-coordinate,
> that is just plain incorrect. And in fact, it has led to some
> confusion. The whole idea of OKP is to abstract on encoding, making
> it specific to subtype. In JOSE, there are currently two distinct
> encodings that both use OKP type (and in future, there may be more).
>=20
Agreed.

=E2=80=94 Neil


--=20
ForgeRock values your Privacy <https://www.forgerock.com/your-privacy>

--Apple-Mail=_9137E76A-29D0-4495-8C5C-60E4546DB87B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="UTF-8"

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; line-break: after-white-space;" class=3D"">On 13 Jul 2021, at 12:29, =
Ilari Liusvaara &lt;<a href=3D"mailto:ilariliusvaara@welho.com" class=3D"">=
ilariliusvaara@welho.com</a>&gt; wrote:<br class=3D""><div><blockquote type=
=3D"cite" class=3D""><br class=3D"Apple-interchange-newline"><div class=3D"=
"><div class=3D"">On Tue, Jul 13, 2021 at 07:56:55AM +0100, Neil Madden wro=
te:<br class=3D""><blockquote type=3D"cite" class=3D"">My understanding is =
that single-coordinate representations (OKP) are<br class=3D"">safer becaus=
e they reduce the scope for invalid curve attacks, but<br class=3D"">that t=
hey were patent-encumbered for many years. With a double-<br class=3D"">coo=
rdinate representation you have to carefully check that (x,y)<br class=3D""=
>satisfies the curve equation. With a single coordinate you instead<br clas=
s=3D"">calculate y from x using the curve equation (if you need it), so<br =
class=3D"">it can=E2=80=99t fail to satisfy it. IMO, that should be the pre=
ferred<br class=3D"">representation for any new curves. <br class=3D""></bl=
ockquote><br class=3D"">To actually eliminate invalid-curve attacks, one ne=
eds representation<br class=3D"">that seamlessly switches between curve and=
 its twist, in addition to<br class=3D"">the curve being designed so that b=
oth it and its twist are strong<br class=3D"">curves. AFAIK, pretty much th=
e only application one can exploit this is<br class=3D"">ECDH.</div></div><=
/blockquote><blockquote type=3D"cite" class=3D""><div class=3D""><div class=
=3D""><br class=3D"">Just compressing is not enough: There are square root =
algorithms that<br class=3D"">produce some bogus result if given number wit=
h no square root. I do<br class=3D"">not know how such bogus y would intera=
ct with elliptic-curve<br class=3D"">arithmetic, but it might not be good.<=
br class=3D""></div></div></blockquote><div><br class=3D""></div><div>Sure,=
 that=E2=80=99s why I said =E2=80=9Creduce the scope=E2=80=9D rather than e=
liminate. I would still say compressed/OKP representations are safer than u=
ncompressed two-coordinate representations. As&nbsp;<a href=3D"http://safec=
urves.cr.yp.to/twist.html" class=3D"">http://safecurves.cr.yp.to/twist.html=
</a>&nbsp;says:</div><div><br class=3D""></div><div><font face=3D"sans-seri=
f" class=3D""><span style=3D"font-size: 12.800000190734863px;" class=3D"">=
=E2=80=9CA protocol designer can help protect against [invalid curve attack=
s] by specifying point compression. An implementation that receives a compr=
essed point, such as x and just one bit of y, will naturally detect invalid=
 inputs when it reconstructs the missing coordinate.=E2=80=9D</span></font>=
</div><div><font face=3D"sans-serif" class=3D""><span style=3D"font-size: 1=
2.800000190734863px;" class=3D""><br class=3D""></span></font></div><div><f=
ont face=3D"sans-serif" class=3D""><span style=3D"font-size: 12.80000019073=
4863px;" class=3D"">Although some square root algorithms may produce bad re=
sults for a non-square input, many will produce an error, which is preferab=
le to no check being done at all (which has been the case in the past:&nbsp=
;<a href=3D"http://blog.intothesymmetry.com/2017/03/critical-vulnerability-=
in-json-web.html" class=3D"">http://blog.intothesymmetry.com/2017/03/critic=
al-vulnerability-in-json-web.html</a>&nbsp;).</span></font></div><br class=
=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div class=3D"">=
<br class=3D"">And while in general, it is preferred that key formats are d=
efined as<br class=3D"">octet strings, and thus mapped as OKP, in specific =
case of lwig-curves,<br class=3D"">since those are short-weierstrass points=
 intended to be used with<br class=3D"">legacy algorithms, EC2 is much bett=
er match.<br class=3D""></div></div></blockquote><div><br class=3D""></div>=
<div>But as you say, these existing implementations are going to work with =
secg encoding, not JWK. So in either case you have some translation to do.<=
/div><br class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><d=
iv class=3D""><br class=3D"">And thinking about future post-quantum algorit=
hms, all the NISTPQC<br class=3D"">stuff has octet string keys, so OKP woul=
d be correct match. However,<br class=3D"">new algorithms are needed for PQ=
C, especially for KEMs.<br class=3D""><br class=3D""><blockquote type=3D"ci=
te" class=3D"">Note that if you want to be completely unambiguous then you =
typically<br class=3D"">want a single coordinate (x) plus a bit to say whic=
h of the two roots<br class=3D"">to use for the y-coordinate. RFC 8037 allo=
ws this by not committing<br class=3D"">to what =E2=80=9Cx=E2=80=9D represe=
nts, but RFC 8152 for COSE says that the =E2=80=9Cx=E2=80=9D field<br class=
=3D"">is the little-endian encoding of the x-coordinate specifically, so<br=
 class=3D"">you might need a different type. (In fact, EdDSA public keys ar=
e the<br class=3D"">*y* coordinate plus a single bit to say which x-coordin=
ate to use,<br class=3D"">so I think COSE is already breaking its own contr=
act).<br class=3D""></blockquote><br class=3D"">Right, to actually get a cu=
rve point, you need x and sign bit of y<br class=3D"">(with Edwards curves,=
 one could alternatively use the more common<br class=3D"">y coordinate and=
 sign of x representation).<br class=3D""><br class=3D"">And on RFC 8152 sa=
ying it is little-endian encoding of x-coordinate,<br class=3D"">that is ju=
st plain incorrect. And in fact, it has led to some<br class=3D"">confusion=
. The whole idea of OKP is to abstract on encoding, making<br class=3D"">it=
 specific to subtype. In JOSE, there are currently two distinct<br class=3D=
"">encodings that both use OKP type (and in future, there may be more).<br =
class=3D""><br class=3D""></div></div></blockquote>Agreed.</div><div><br cl=
ass=3D""></div><div>=E2=80=94 Neil</div><br class=3D""></body></html>
<br>
<span style=3D"color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystem=
Font,&quot;Segoe UI&quot;,Roboto,Oxygen,Ubuntu,&quot;Fira Sans&quot;,&quot;=
Droid Sans&quot;,&quot;Helvetica Neue&quot;,sans-serif;background-color:rgb=
(255,255,255)"><font size=3D"1">ForgeRock values your <a href=3D"https://ww=
w.forgerock.com/your-privacy" target=3D"_blank">Privacy</a></font></span>
--Apple-Mail=_9137E76A-29D0-4495-8C5C-60E4546DB87B--


From nobody Tue Jul 13 09:06:32 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 69C8A3A19F2; Tue, 13 Jul 2021 09:06:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 lYIS5KAQPJV0; Tue, 13 Jul 2021 09:06:22 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6ECB83A19EF; Tue, 13 Jul 2021 09:06:22 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id C624038B2D; Tue, 13 Jul 2021 12:09:14 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HUeJ-PKvIasZ; Tue, 13 Jul 2021 12:09:11 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id B607B38B27; Tue, 13 Jul 2021 12:09:11 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 49C7D2F6; Tue, 13 Jul 2021 12:06:17 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Benjamin Kaduk <kaduk@mit.edu>, cose@ietf.org, jose@ietf.org
In-Reply-To: <20210713034600.GJ17170@mit.edu>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost> <20210713034600.GJ17170@mit.edu>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Tue, 13 Jul 2021 12:06:17 -0400
Message-ID: <31210.1626192377@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/nO-mKUbYd-0Of_wSe3nQKfcq4-s>
Subject: Re: [COSE] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2021 16:06:28 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Benjamin Kaduk <kaduk@mit.edu> wrote:
    >> It also seems that we might also be thinking that there might be oth=
er
    >> ways to encode the keys (into bytes), but that mostly it is the case
    >> that we have a single encoding that we stick to.

    > But for a protocol don't we kind of only want a single encoding anywa=
y?

As the thread between Neil and Ilari shows, there were reasons to make
different choices.

My take, being intentionally not intimate with such issues, is that the best
encoding for using the key may not be the best encoding for transmitting the
key.   That the translation between the two forms might sometimes fail, and
so it's a protocol decision as to which to transmit, which to sign (in a
certificate), etc.
(And that this was the entire lwig-curves document's point)

    >> (Why did we call it "EC2". Huh)

    > I feel like I used to know this, but am drawing a blank.  Maybe that
    > there are two coordinates included?

I have always been blissfully ignorant.




=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmDtufgACgkQgItw+93Q
3WU+iwf/RShkcufcIZMv1+Nm2DDzo4XBTXWy+JzO1ELM+IkGvSCd/ndJWlbatluT
kSGc8Fi0qVr93mTMnelo93AdyiZsVV5/BUWCTjS1/RAmjrOEWh5ECEZpePmLxe+5
K+rs494Jlmb0rYPY9J8YHn2YU1jkJsTgnfuMa/yWSe7/AZLgXstuEeIGjUjgfaou
WrHY6ML53hIHQxHHmga5PglwHL37Dg0nSJbAfG9QokoSOR6oCpjxCZ1W0OIe+l9d
lJwgR61AhB/DAPeS5OFSGMni018AjEDQnjKSbiUcHksyAyn7cMXlxhQP5C/fwaeG
wuoEGg4EsXxrOz8bqqgu+9LwgknEyA==
=uRL4
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sat Jul 17 10:05:03 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6340A3A1860 for <cose@ietfa.amsl.com>; Sat, 17 Jul 2021 10:05:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 9EyFMg7d-Uu9 for <cose@ietfa.amsl.com>; Sat, 17 Jul 2021 10:04:58 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 7B8533A1861 for <cose@ietf.org>; Sat, 17 Jul 2021 10:04:58 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 16HH4lCo019094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 17 Jul 2021 13:04:52 -0400
Date: Sat, 17 Jul 2021 10:04:47 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Thomas Fossati <Thomas.Fossati@arm.com>
Cc: "cose@ietf.org" <cose@ietf.org>
Message-ID: <20210717170447.GD74365@kduck.mit.edu>
References: <EAB7959F-F7F7-4BB8-AFC7-6FB42D742E34@arm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <EAB7959F-F7F7-4BB8-AFC7-6FB42D742E34@arm.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/nBEl6Vlz0717aVGCzinPn2xD3KY>
Subject: Re: [COSE] x5chain & co. + COSE_Key
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Jul 2021 17:05:01 -0000

On Mon, Jun 21, 2021 at 12:46:08PM +0000, Thomas Fossati wrote:
> Hi all,
> 
> Reading draft-ietf-cose-x509 I understand x5chain & co are only found in
> COSE_Signature, COSE_Sign1 and COSE_recipient objects.
> 
> Is there any reason not to allow them in COSE_Keys - similar to JWK (*)?

There is a reason to not modify draft-ietf-cose-x509 to specify this
behavior, namely that that draft is overdue for publication and has
external consumers waiting on it.

Offhand, I'm not sure that there's a generic reason why this information
would not be appropriate in a COSE_Key.  You should probably write up a
draft to talk about doing it and why it's useful, which would hopefully
then elicit feedback about it.

-Ben


From nobody Wed Jul 21 11:20:14 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C40B43A2393; Wed, 21 Jul 2021 11:20:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 WCcMaU4HFSJ3; Wed, 21 Jul 2021 11:20:05 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 BA5A73A2388; Wed, 21 Jul 2021 11:19:59 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 16LIJikW027871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jul 2021 14:19:53 -0400
Date: Wed, 21 Jul 2021 11:19:44 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Neil Madden <neil.madden@forgerock.com>
Cc: Ilari Liusvaara <ilariliusvaara@welho.com>, jose@ietf.org, cose@ietf.org
Message-ID: <20210721181944.GH88594@kduck.mit.edu>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost> <20210713034600.GJ17170@mit.edu> <47195B9C-4323-467A-AE27-949DE33C38A4@forgerock.com> <YO15MhoS3aU9SPlc@LK-Perkele-VII2.locald> <7870792A-7421-4989-9C77-9807E1820109@forgerock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <7870792A-7421-4989-9C77-9807E1820109@forgerock.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/LP8JfGnsiobIZ9WxszAJ6bc15eg>
Subject: Re: [COSE] [jose] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jul 2021 18:20:12 -0000

On Tue, Jul 13, 2021 at 02:37:07PM +0100, Neil Madden wrote:
> On 13 Jul 2021, at 12:29, Ilari Liusvaara <ilariliusvaara@welho.com> wrote:
> > 
> > On Tue, Jul 13, 2021 at 07:56:55AM +0100, Neil Madden wrote:
> >> My understanding is that single-coordinate representations (OKP) are
> >> safer because they reduce the scope for invalid curve attacks, but
> >> that they were patent-encumbered for many years. With a double-
> >> coordinate representation you have to carefully check that (x,y)
> >> satisfies the curve equation. With a single coordinate you instead
> >> calculate y from x using the curve equation (if you need it), so
> >> it can’t fail to satisfy it. IMO, that should be the preferred
> >> representation for any new curves. 
> > 
> > To actually eliminate invalid-curve attacks, one needs representation
> > that seamlessly switches between curve and its twist, in addition to
> > the curve being designed so that both it and its twist are strong
> > curves. AFAIK, pretty much the only application one can exploit this is
> > ECDH.
> > 
> > Just compressing is not enough: There are square root algorithms that
> > produce some bogus result if given number with no square root. I do
> > not know how such bogus y would interact with elliptic-curve
> > arithmetic, but it might not be good.
> 
> Sure, that’s why I said “reduce the scope” rather than eliminate. I would still say compressed/OKP representations are safer than uncompressed two-coordinate representations. As http://safecurves.cr.yp.to/twist.html <http://safecurves.cr.yp.to/twist.html> says:

Yes, that is generally true.  But...

> “A protocol designer can help protect against [invalid curve attacks] by specifying point compression. An implementation that receives a compressed point, such as x and just one bit of y, will naturally detect invalid inputs when it reconstructs the missing coordinate.”
> 
> Although some square root algorithms may produce bad results for a non-square input, many will produce an error, which is preferable to no check being done at all (which has been the case in the past: http://blog.intothesymmetry.com/2017/03/critical-vulnerability-in-json-web.html <http://blog.intothesymmetry.com/2017/03/critical-vulnerability-in-json-web.html> ).
> 
> > 
> > And while in general, it is preferred that key formats are defined as
> > octet strings, and thus mapped as OKP, in specific case of lwig-curves,
> > since those are short-weierstrass points intended to be used with
> > legacy algorithms, EC2 is much better match.
> 
> But as you say, these existing implementations are going to work with secg encoding, not JWK. So in either case you have some translation to do.

...there seems to be a qualitative difference between a translation that's
"encode a single bignum" vs a translation that's "do some curve arithmetic
to recover y".  Adding such new code to an implementation that doesn't
already have it seems like more risk than a fairly mechanical translation
of encoding.  If the implementation is already using secg encoding it
already ought to be checking that the provided point is on the curve.
Maybe it doesn't, but that's not exactly a new problem introduced by the
new curve.

> > 
> > And thinking about future post-quantum algorithms, all the NISTPQC
> > stuff has octet string keys, so OKP would be correct match. However,
> > new algorithms are needed for PQC, especially for KEMs.
> > 
> >> Note that if you want to be completely unambiguous then you typically
> >> want a single coordinate (x) plus a bit to say which of the two roots
> >> to use for the y-coordinate. RFC 8037 allows this by not committing
> >> to what “x” represents, but RFC 8152 for COSE says that the “x” field
> >> is the little-endian encoding of the x-coordinate specifically, so
> >> you might need a different type. (In fact, EdDSA public keys are the
> >> *y* coordinate plus a single bit to say which x-coordinate to use,
> >> so I think COSE is already breaking its own contract).
> > 
> > Right, to actually get a curve point, you need x and sign bit of y
> > (with Edwards curves, one could alternatively use the more common
> > y coordinate and sign of x representation).
> > 
> > And on RFC 8152 saying it is little-endian encoding of x-coordinate,
> > that is just plain incorrect. And in fact, it has led to some
> > confusion. The whole idea of OKP is to abstract on encoding, making
> > it specific to subtype. In JOSE, there are currently two distinct
> > encodings that both use OKP type (and in future, there may be more).
> > 
> Agreed.

rfc8152bis-algs (currently in AUTH48) is somewhat better here, saying only
"(For X25519, internally it is a little-endian integer.)".  I'd be fairly
amenable to removing that sentence entirely, if there's WG support.

Thanks,

Ben


From nobody Wed Jul 21 11:22:15 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F275C3A23B6; Wed, 21 Jul 2021 11:22:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 BU0Nd4PdrXRJ; Wed, 21 Jul 2021 11:22:08 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 0ABFF3A23B5; Wed, 21 Jul 2021 11:22:07 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 16LILxAT028818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jul 2021 14:22:04 -0400
Date: Wed, 21 Jul 2021 11:21:59 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: cose@ietf.org, jose@ietf.org
Message-ID: <20210721182159.GI88594@kduck.mit.edu>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost> <20210713034600.GJ17170@mit.edu> <31210.1626192377@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <31210.1626192377@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/ghHPqCHRVEJ_VopyvyR6R2e3-QE>
Subject: Re: [COSE] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jul 2021 18:22:14 -0000

On Tue, Jul 13, 2021 at 12:06:17PM -0400, Michael Richardson wrote:
> 
> Benjamin Kaduk <kaduk@mit.edu> wrote:
>     >> It also seems that we might also be thinking that there might be other
>     >> ways to encode the keys (into bytes), but that mostly it is the case
>     >> that we have a single encoding that we stick to.
> 
>     > But for a protocol don't we kind of only want a single encoding anyway?
> 
> As the thread between Neil and Ilari shows, there were reasons to make
> different choices.
> 
> My take, being intentionally not intimate with such issues, is that the best
> encoding for using the key may not be the best encoding for transmitting the
> key.   That the translation between the two forms might sometimes fail, and

This sounds like you are in favor of allowing multiple "kty" values?

> so it's a protocol decision as to which to transmit, which to sign (in a
> certificate), etc.
> (And that this was the entire lwig-curves document's point)

FWIW, my understanding is that if the translation fails then the point/key
is malformed anyway and should not be used.

-Ben

>     >> (Why did we call it "EC2". Huh)
> 
>     > I feel like I used to know this, but am drawing a blank.  Maybe that
>     > there are two coordinates included?
> 
> I have always been blissfully ignorant.
> 
> 
> 
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
> 
> 
> 
> 



From nobody Wed Jul 21 13:30:38 2021
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E6B43A2820; Wed, 21 Jul 2021 13:30:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 0wL1Zx6fl9MF; Wed, 21 Jul 2021 13:30:26 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 533083A2818; Wed, 21 Jul 2021 13:30:26 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 04E8EF40753; Wed, 21 Jul 2021 13:30:14 -0700 (PDT)
To: thomas.fossati@arm.com, ietf@augustcellars.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: kaduk@mit.edu, iesg@ietf.org, cose@ietf.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20210721203014.04E8EF40753@rfc-editor.org>
Date: Wed, 21 Jul 2021 13:30:14 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/lZUYVnMbhIQxrAHrTcOBWhXOTiE>
Subject: [COSE] [Errata Verified] RFC8152 (6487)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jul 2021 20:30:32 -0000

The following errata report has been verified for RFC8152,
"CBOR Object Signing and Encryption (COSE)". 

--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid6487

--------------------------------------
Status: Verified
Type: Editorial

Reported by: Thomas Fossati <thomas.fossati@arm.com>
Date Reported: 2021-03-18
Verified by: Benjamin Kaduk (IESG)

Section: C.7

Original Text
-------------
In order the keys are:

   o  An EC key with a kid of "meriadoc.brandybuck@buckland.example"

   o  An EC key with a kid of "peregrin.took@tuckborough.example"

   o  An EC key with a kid of "bilbo.baggins@hobbiton.example"

   o  An EC key with a kid of "11"


Corrected Text
--------------
In order the keys are:

   o  An EC key with a kid of "meriadoc.brandybuck@buckland.example"

   o  An EC key with a kid of "11"

   o  An EC key with a kid of "bilbo.baggins@hobbiton.example"

   o  An EC key with a kid of "peregrin.took@tuckborough.example"




Notes
-----
The order of this list does not match the actual keys listed subsequently.

--------------------------------------
RFC8152 (draft-ietf-cose-msg-24)
--------------------------------------
Title               : CBOR Object Signing and Encryption (COSE)
Publication Date    : July 2017
Author(s)           : J. Schaad
Category            : PROPOSED STANDARD
Source              : CBOR Object Signing and Encryption
Area                : Security
Stream              : IETF
Verifying Party     : IESG


From nobody Wed Jul 21 13:58:53 2021
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4903B3A292D for <cose@ietfa.amsl.com>; Wed, 21 Jul 2021 13:58:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.552
X-Spam-Level: 
X-Spam-Status: No, score=-2.552 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=microsoft.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 DDMYN2moaa5C for <cose@ietfa.amsl.com>; Wed, 21 Jul 2021 13:58:45 -0700 (PDT)
Received: from NAM06-DM3-obe.outbound.protection.outlook.com (mail-eopbgr640122.outbound.protection.outlook.com [40.107.64.122]) (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 68FE53A27AF for <cose@ietf.org>; Wed, 21 Jul 2021 13:58:45 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jctw01Z8pYBayKd+1yiqQBv76MO6hyQdvEZxnjpkIWyzrMKjTZuarMO8lnUKiwuGUypTH9RTBCpAn68ID81jaVcOK1sWpqWToaj0lRvSrBERz/26sdOt/+4wboCcHjcLJoq2MHZ8tHeocbon+LayBYfRByakPnd6aFQOgJTS4Q3E0fHNoJVMnniZA4PjTZh60xuXXlJFPEunWAL8z9AZ8upBZqn/S07eKOvWvwbWvbWN/sr2PYt15gFiH3Z64ESNl/lQwjsQWcT/vxD9XKG+syEkIoosJa4onIA+jeGgEGHncNsaxT8Q3PexPj5S/DsLua2GyDmOFbBiAI7rVgvkWA==
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=vRkmaDF0zStkPrZcWTN8Oe1pYIZ/dOFMq0wvs968hIQ=; b=ICYpN+9kzYvN48VlHjtjZcPROQLOUkM7CViJ7V8UTv+StM0hPh24UC1WmvsrPm2YNWnbdiP/n4QgzyDrBs+HzVZfLKmiIHeW1h76660+0lwe1ib5ZYMvnbARp4RjrLr+8yrN4qflWjJs1WAq47IhN/S8+Jh7dDJS2Ryeu+DKiDX4FMjP163YXZjw2iSS40VGd6TJ4a+GuGbczEbI2OrETJ89qGV8/Vcj/9K4KaU3/JidaSE7LNnt5aYDhSTQog6o6YyqWXpFXrhHYx0lJzsORgkAHdTV0uUV5r6u08N0ikVGS0tdSY6fXRDzjok9aizYpAIdeAYJm9RTO3EVm6ZWkw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vRkmaDF0zStkPrZcWTN8Oe1pYIZ/dOFMq0wvs968hIQ=; b=GMRS9JXXjpa8T7ndyFgHTlftB0bErqSjQsv0axc3rZzedq75RO7FW6sezGLQk1oAQ24qI0+TcQK7TvNZb2J3h8kOHToYZ4YDzrxWZUhwGXVKTlGv7nKxILHM3dZQLUitglGBbzompArk1fOXGNfMSpor9Q4PGpZu77dKZm6sYo0=
Received: from SJ0PR00MB1038.namprd00.prod.outlook.com (2603:10b6:a03:2aa::7) by SJ0PR00MB1238.namprd00.prod.outlook.com (2603:10b6:a03:35b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4388.0; Wed, 21 Jul 2021 20:58:42 +0000
Received: from SJ0PR00MB1038.namprd00.prod.outlook.com ([fe80::55a1:aefc:c30f:b113]) by SJ0PR00MB1038.namprd00.prod.outlook.com ([fe80::55a1:aefc:c30f:b113%9]) with mapi id 15.20.4388.000; Wed, 21 Jul 2021 20:58:42 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "cose@ietf.org" <cose@ietf.org>
CC: "kyle.denhartog@mattr.global" <kyle.denhartog@mattr.global>
Thread-Topic: IETF 111 COSE Call for Agenda Items
Thread-Index: Add+ciD0vXI+FUqsSY2yCpO0ggSOfA==
Date: Wed, 21 Jul 2021 20:58:42 +0000
Message-ID: <SJ0PR00MB103883AA848758290185ECE6F5E39@SJ0PR00MB1038.namprd00.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-07-21T20:50:49Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=00d8a2dd-0812-4f16-95d2-737c36a90bd2; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7c749de3-df8c-4b89-bed5-08d94c8a5296
x-ms-traffictypediagnostic: SJ0PR00MB1238:
x-microsoft-antispam-prvs: <SJ0PR00MB123896B4369C09430B2AF3D9F5E39@SJ0PR00MB1238.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: D4L1lfsbOqsyuq3SiP2PQusFLbujRJ96V3XPZCRbAHDNc/Y9zgIjznJ8406BV1e1OKEMJYQk6TLqGFdTG7O5Nauo5kJLLpluLosO5375Po9b4BB5eBiYwU6PzjX8nEhfJLJ9v8Raqhufx8xZbdEz1lHeZcGRCsMY43BEi4B40A0juWnUlGu8efYZGYV54RHZ9oQU6f4QRG2sHsO3JH2VISgcig7QX8A23gad5P56Do8e9/QO3jbdEIFP72Og5dVR+Moe56waPDW1ev829ULymgRBCLK69qgavBhApjw3Eb1de1SC0p3IDFXR8MJLSijC2ITOREIbodX+MVYpYS677m6QAfAMvm4P/j2pA1zr1jSBZouQhAnSSHdcPVfevpR48VJdk69QBt1Rl6ODx/iYsc7AzdNjgQ/fPR4dM+pifPpDz5w2cf+/A3joVcdNO39IVJ+s1CnDCF/fPoWQGANt55p8dfE+33QTB00DHBWNtBg6VlOzVuCz07zxxOA481rYkzPDkqq4CAzyOKKsnleATOA+NHdsqE2iwGkLWkS19oFRTlpLTE9UqgXC4ngjKSX48TcCUneFbOc+Pr1Ooee8E/3yQlNID+gwm0ifhyBMakqUHC7GFE1IOZgQLtQXTs97ulKRzygDn3DSiT6NcbZejMBqIlc7YeauVMSoEBD0lgCFzb+BZHfEmvLQfkmrEppxMuCUTQbTOZP5lZ8ie/h4nCnn0cQtp0PoCLtiLUNaM5OpSoziayHVkjkLmHkYOZnxvBekKbtXI5j3UwkzsO3+UW3Gi6xPFjf3iWl7+0vpE1Y=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:SJ0PR00MB1038.namprd00.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(508600001)(82950400001)(82960400001)(107886003)(6506007)(9686003)(52536014)(10290500003)(4744005)(86362001)(6916009)(2906002)(186003)(66446008)(64756008)(7696005)(66556008)(966005)(122000001)(66476007)(66946007)(83380400001)(33656002)(55016002)(4326008)(76116006)(71200400001)(38100700002)(8936002)(8990500004)(8676002)(316002)(166002)(5660300002)(38070700004); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?g5pg45CIY0G5ZUXcrs9tIu53odcVBxHiyML1XH1V5j2f81JBuA/IwKIbQbqz?= =?us-ascii?Q?KjmKQjxl4P2gq9wbx4t05Aebp3NAKwdcacMXbCOm6T0g0bjIUFA6HzB29u7I?= =?us-ascii?Q?Y5it1ur3n7joz0kVqZaari/TpJm8fXFUfmFsz5Ri+l0NSq7LqGRDdWOCjXEn?= =?us-ascii?Q?0dq1/qp4Co3JHHHtpoaj30OOFbCgbXGCyEygnS5t5m9jpXjCbIs01qvTo5eW?= =?us-ascii?Q?c9FXeJzJeCY7DUFZ4N1qD7Q6bVcaNa4xBJ9c1DLtBfbMpi5mxlH9mi+hHhgr?= =?us-ascii?Q?KIjoaejlqxz37bH0esp+WFihq/n+UHjG2iHj79Xi4JgO8/QoRAd2suG3hq37?= =?us-ascii?Q?cdURnghBJBqUHQCXDuPx+NJ8PZJEDdUsTR96AbEPv7y5tqqyP0mkAtRWyeww?= =?us-ascii?Q?atcLJ4jAoJ4tIwtAVTwtL7H8SqICE6cGfVAqGnyrRNw17Eqip4jBdkcCoCND?= =?us-ascii?Q?NbcIt2LhZe6YsjpP2S8Pwecjp351EvuV1Sr6eN+z1TBeQslrjEppwJM2Lf+H?= =?us-ascii?Q?tXSTSqf7Z5iG0CivZ+7ynew7klpnKBYTfaoQ9T4E99UQInjSp49UBjvdoFkn?= =?us-ascii?Q?qtHOSCPPHDYfmnjizuHWbVyx3uVoVQGJRM3wSeJyi0Uj8YEHR4jScNJLUQJr?= =?us-ascii?Q?4Uhk8kwCBI1cK/yPl4l0uCy6jZ5N6E7tekbzwbd8LyudYxEPHyyDkRyOV1v6?= =?us-ascii?Q?AtFhhcSOdYYN3srEbGktLyB/cqfNGoZNgc9Hq0ekQtQ7fByk6UgmW3ma97QM?= =?us-ascii?Q?6B71hZydJBOy03T9jOld7YB7EeMEM4IKI0vu/awOJdUSolDPEHa3fGccpfQR?= =?us-ascii?Q?+PJn1KyvH9i7c0APLSi+J23qNKaKwYwffH7jeu8iYdk81NXjPnrGn2HcAlbN?= =?us-ascii?Q?bXvI5XGl0wsWMZxA7u/4qgbLXy+f7s5DG4G9Ku+BxsOH1Uv6Mchk2XGDT2yh?= =?us-ascii?Q?Ti02jKwewINGBht8uNQNPHoJaoCBU/DnfzsGJsTEYIgAUqiMzLAc0Hrbt+Di?= =?us-ascii?Q?vLkGWmNaeMv2dh14QgmJU0q9cZMZr/mxTDrZqzRkt/Ppsybapl8IEm+Dam2s?= =?us-ascii?Q?FjqTTxQs2VtJpjmhd/S5naxVa372IxUOU+HYFLbyQFFXioCj+aPNdl6mKP9T?= =?us-ascii?Q?hkQLt83PvszG6nxiGsjhoB06bQPNvOw4/rMS/+YO6MjDvCWzywAvd5G4Zc71?= =?us-ascii?Q?inFrQlbvHVdhTqSHIJv201/kMndGc361lpY42WFUnOvm7gNGW4M6xvLDTS8s?= =?us-ascii?Q?bq+4+2qjQnxiwoQy3rmzQt0yTIo5PqnF4DSNyUirxu+qrCcr61EqSZPp7R2R?= =?us-ascii?Q?SX8+XVR6pN1fE2RbRlWeQYr+pvxPR2Tz2nm9yGooVIW/bapCSusp8semqb2J?= =?us-ascii?Q?yb2T2c6AEwL8UHCZSAO/BWD7Zzd4?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_SJ0PR00MB103883AA848758290185ECE6F5E39SJ0PR00MB1038namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR00MB1038.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7c749de3-df8c-4b89-bed5-08d94c8a5296
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2021 20:58:42.3130 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: YwtJ/rxVGbfysiaC8bueyqxQDo+4oSm7PvOyVMaqvgwATjciF3FvqN8uJLViJR75iz+S2n3qJV7f6N5ioyyONA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR00MB1238
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/239GehKIlQTwAxRlgte1atjR0QA>
Subject: [COSE] IETF 111 COSE Call for Agenda Items
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jul 2021 20:58:51 -0000

--_000_SJ0PR00MB103883AA848758290185ECE6F5E39SJ0PR00MB1038namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Our IETF 111 online session is a week from today:

    Wednesday, 28 July 2021, Session II 1430-1530 Pacific Time

    iCalendar: https://datatracker.ietf.org/meeting/111/sessions/cose.ics

Please notify the chairs if you'd like to propose an agenda item.  We'd lik=
e an editor to provide updates on each of the active working group document=
s.  The chairs will review status on those that are with the RFC Editor.

Please include:

  *   Session Topic/Title
  *   Presenter
  *   Number of minutes requested

                                                       Thanks,
                                                       -- Mike


--_000_SJ0PR00MB103883AA848758290185ECE6F5E39SJ0PR00MB1038namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1043015082;
	mso-list-type:hybrid;
	mso-list-template-ids:1521678356 67698689 67698691 67698693 67698689 67698=
691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Our IETF 111 online session is a week from today:<o:=
p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp; Wednesday, 28 July 2021, Sessi=
on II 1430-1530 Pacific Time<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp; iCalendar: <a href=3D"https://=
datatracker.ietf.org/meeting/111/sessions/cose.ics">
https://datatracker.ietf.org/meeting/111/sessions/cose.ics</a><o:p></o:p></=
p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Please notify the chairs if you&#8217;d like to prop=
ose an agenda item.&nbsp; We&#8217;d like an editor to provide updates on e=
ach of the active working group documents.&nbsp; The chairs will review sta=
tus on those that are with the RFC Editor.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Please include:<o:p></o:p></p>
<ul style=3D"margin-top:0in" type=3D"disc">
<li class=3D"MsoListParagraph" style=3D"margin-left:0in;mso-list:l0 level1 =
lfo1">Session Topic/Title<o:p></o:p></li><li class=3D"MsoListParagraph" sty=
le=3D"margin-left:0in;mso-list:l0 level1 lfo1">Presenter<o:p></o:p></li><li=
 class=3D"MsoListParagraph" style=3D"margin-left:0in;mso-list:l0 level1 lfo=
1">Number of minutes requested<o:p></o:p></li></ul>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_SJ0PR00MB103883AA848758290185ECE6F5E39SJ0PR00MB1038namp_--


From nobody Wed Jul 21 15:48:12 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ABCA13A2D56; Wed, 21 Jul 2021 15:48:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 WXGgkUzE77UZ; Wed, 21 Jul 2021 15:48:01 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 220C33A2D54; Wed, 21 Jul 2021 15:48:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 8CBC438A01; Wed, 21 Jul 2021 18:51:24 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BrskcZTliNjW; Wed, 21 Jul 2021 18:51:20 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id A46EF389EC; Wed, 21 Jul 2021 18:51:20 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 8393D54A; Wed, 21 Jul 2021 18:47:55 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cose@ietf.org, jose@ietf.org
In-Reply-To: <20210721182159.GI88594@kduck.mit.edu>
References: <20210707212059.GX17170@mit.edu> <21116.1625697755@localhost> <20210713034600.GJ17170@mit.edu> <31210.1626192377@localhost> <20210721182159.GI88594@kduck.mit.edu>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Wed, 21 Jul 2021 18:47:55 -0400
Message-ID: <20282.1626907675@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/U6Sdw64qf2X7-_PiFB17XqBEIFw>
Subject: Re: [COSE] COSE/JOSE elliptic curves and their relationship with key types
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jul 2021 22:48:06 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Benjamin Kaduk <kaduk@mit.edu> wrote:
    >> As the thread between Neil and Ilari shows, there were reasons to ma=
ke
    >> different choices.
    >>
    >> My take, being intentionally not intimate with such issues, is that =
the best
    >> encoding for using the key may not be the best encoding for transmit=
ting the
    >> key.   That the translation between the two forms might sometimes fa=
il, and

    > This sounds like you are in favor of allowing multiple "kty" values?

Uhm, I'm not sure I think that.
I think that I said that it could be that need to accomodate different
encodings.  I didn't think that they would both be present.

    >> so it's a protocol decision as to which to transmit, which to sign (=
in a
    >> certificate), etc.
    >> (And that this was the entire lwig-curves document's point)

    > FWIW, my understanding is that if the translation fails then the poin=
t/key
    > is malformed anyway and should not be used.

I guess translation fails, means there is a non-sense operation in the
middle, like divide-by-zero or infinity?  That is, it can be detected.

I agree that this is true for Ecliptic Point algorithms that we currently u=
se.
It could be (I have no knowledge here) that this isn't always the case.
Could the translation fail, but result in what syntatically looks right, but
it just always fails to validate a signature?
Is that distinguishable from the case where Mallory toggles some bits?

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmD4pBsACgkQgItw+93Q
3WWQfQf/U8bCBqBnYcdyBwTJ6482LLZ2EKw0I7mT98EZkprkau68QUZiI2W3hxSm
yklJNKKafA1ToVVEDTaProx5G0neVQqRy3bv3Jquf0vvORB69DyzvQLClR1wX9Wv
rHGiTMN9zvM2Jsxnxod4P3z2C2zR8gJqEr9gR5EctGLCuxlQrikoLAjbSviDnMg5
rPzNr3uv6bnR7iOwJapE3UYZj9LsbaESZNQ0lMzJFOoCrStlQPVg1L57Vc2VT++d
RoI4lpbFpj2suHUuox9PYC3uFy+//sSzcE50KUmbXkpfT2efk/2/2vqtR6Wh4Pa2
52mNKqA6ywn/k4alSB/CPsp7LAA7Kw==
=5rvZ
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Jul 21 15:52:50 2021
Return-Path: <kyle.denhartog@mattr.global>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 07C953A2D8A for <cose@ietfa.amsl.com>; Wed, 21 Jul 2021 15:52:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=mattrglobal242.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 HTmXkDNeSt-6 for <cose@ietfa.amsl.com>; Wed, 21 Jul 2021 15:52:43 -0700 (PDT)
Received: from AUS01-ME3-obe.outbound.protection.outlook.com (mail-me3aus01on2123.outbound.protection.outlook.com [40.107.108.123]) (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 808083A2D89 for <cose@ietf.org>; Wed, 21 Jul 2021 15:52:42 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FvyCw+n/fcXfeU6w+E6oydfTiviUIX2FV3RNIa0/gI78Nt2FBiCvfdcyNNWdXVjZTw8FVSlhAqmQqko8BO3ba8gvXE/00b/4LnYsNK3wB4eawvnD53QRDbLWXsgdCtS7lKC5giqkye2stta93CURhXy57R6i/FH/pAMLmG8NqLOeWCQb+MzJ8ORm9RUvTlgo8IA8wT6gIGOI60ii7bxSzbK7fCH6tESWuZFwgCITl46Dtsb1NqXo5DAN7oCSMVeJ+JoOd34H4vGK63smkUqKH828mSEfFT2wm/4RSlpQJKyj6GzS82U9F30LMPOmWoJq1R9s+yyVdGR1ZBVmL99JwA==
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=6cGEYMIxgZl+uwkj/YL2Hx2JNksMbgSJpsi0ssEX7Ps=; b=kbv0BboRAJZ6dY0PPQYTj/Q2/ZLlpri8+7saFtTPRhOLKgBhcigttMMvT50NgHuOyeD3pdyBO3I3lVIswgwmz1iSS5PWXC8KBQ7NVNJE0YkE7JaqowS9xY3NrQZYMnpHRLuUX3tvYwJvzeE8/0cvv63s1xZWfcrLDW4mQOPLD8l6T3M/pEcbSMT4zUKDWQ6EQNNIa/lpTOEdTQ/fIuyN7bJ/weVEFVaRDaV8+5BDs666U9aiiuZsuUdnAdf4ZmrTpcnQUvLJ7olrS9F6pdzlOyOVE52GsyrsX4KMF8SB6vhTLN2WvSyfzFprQ/qtC3+9AW2lGOboYIioOauoqR4DiQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mattr.global; dmarc=pass action=none header.from=mattr.global; dkim=pass header.d=mattr.global; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mattrglobal242.onmicrosoft.com; s=selector1-mattrglobal242-onmicrosoft-com;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6cGEYMIxgZl+uwkj/YL2Hx2JNksMbgSJpsi0ssEX7Ps=; b=nnwi+7AB8W2cWWFjJupUA+ej1wXWYP8+dM1NyV4WwTba5H38K0G08OR8hLMVF5ul9CfG5K7mxJPDG+yttzBB5KQbPB+zjZo9eq/cRm8+YdKF/RR7ZoCu/jgBfyEQpPCA6YLi9Xv2o3+KxNG3y1/1FO6Zbw4Ta3ag7U2i/s/lAlQ=
Received: from SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:a9::8) by SYYP282MB1759.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:df::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.22; Wed, 21 Jul 2021 22:52:35 +0000
Received: from SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM ([fe80::4081:9963:542b:6a06]) by SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM ([fe80::4081:9963:542b:6a06%6]) with mapi id 15.20.4331.034; Wed, 21 Jul 2021 22:52:35 +0000
From: Kyle Den Hartog <kyle.denhartog@mattr.global>
To: Mike Jones <Michael.Jones@microsoft.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: EXTERNAL: IETF 111 COSE Call for Agenda Items
Thread-Index: Add+ciD0vXI+FUqsSY2yCpO0ggSOfAACig6W
Date: Wed, 21 Jul 2021 22:52:35 +0000
Message-ID: <SY4P282MB079693907BE8D456EBEC46B0FCE39@SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM>
References: <SJ0PR00MB103883AA848758290185ECE6F5E39@SJ0PR00MB1038.namprd00.prod.outlook.com>
In-Reply-To: <SJ0PR00MB103883AA848758290185ECE6F5E39@SJ0PR00MB1038.namprd00.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-07-21T20:50:49Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=00d8a2dd-0812-4f16-95d2-737c36a90bd2; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;
authentication-results: microsoft.com; dkim=none (message not signed) header.d=none; microsoft.com; dmarc=none action=none header.from=mattr.global; 
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: dbf88e92-2c7d-4796-04a4-08d94c9a3b86
x-ms-traffictypediagnostic: SYYP282MB1759:
x-microsoft-antispam-prvs: <SYYP282MB175986B0690E239CE60B9987FCE39@SYYP282MB1759.AUSP282.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: UY6hhm0dDGCQLy8nd+0q2X+T/pOZvZbMlw2cYRefFbRxysbdMJZtLkDU3p/VF/p/ucS2paDCkuSqdpbQtEtIIijWXlKZJAMlPPgbheaC1NInQVMNipcux2TNDZUjIA+rOx1h7Qe3S7zU9Vz7q/ertBdTjzQDAC7FOmZGINNB+Bte+q3NyYdQ2vQMr18M1IxIVdhgg5XW/NuC1qR5wURrinVJle+oZjU1lp+3E7agn4vv3WPQ7ZpVFcPkCbkg8ktZ36rlRxPlMOM9QtIg1nFX81Xev+66biXnMBaT4mAA2iHs2mIRMRClzY/lcaPQkB7sjuCDxbML6x36WdfRBJ5JxOHG9ElotqW+1fLMNzU24VWWyQCi7V1vUvhO9EWOCok8abIOsYUUqPRDXnNDswwIgUt9pdpt1a7aYi3W2eXDmaGsRV52Tcw8X0XbG4HgFIp0N67lXHJgH32eo+3PTpPsrMphuyiFBHz9fSZm0RJfUrulP37v/gOkX5LDAJaCh1odZfffhE2VFq16Kg6lAnJKtegwqKNmGCtIhUEu+ieA3I+lGyghzpDMOLTjTi9gzlOpl7p3w+4lJOStkPHEi+m1q3AiFRvepDNsL66WtszbZXHSM3cTEKi/Gj5vMwoXOzJqe/OeZF4lYMsx3Dzm5nR6rfW/Ik1zdfhvsiQgV/nLyokrpcCtPUNjILrvSrzOCv7CNmfizfBfgtKSnkiMS2LJtVc0VDys5/WxliMr8UUgfacBYFCiwPh5xfRHd3QxOq53qjRDJG1EEBL2DcHFL8cQLlKHqVKXtiqvVgv0cpA445M=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(396003)(366004)(346002)(136003)(39830400003)(376002)(9686003)(66946007)(966005)(86362001)(66476007)(186003)(110136005)(45080400002)(66446008)(66556008)(64756008)(76116006)(122000001)(8676002)(8936002)(478600001)(19627235002)(166002)(55016002)(7696005)(33656002)(52536014)(26005)(316002)(83380400001)(19627405001)(6506007)(5660300002)(71200400001)(2906002)(55236004)(53546011)(38100700002)(38070700004); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?qw5b/srYX8NOQxOxwYPtJiq1yvxdcw8l8BRgKmx2ynGHXdNk00WjGQpi?= =?Windows-1252?Q?Em8M6CXhQ17NbpB/oU9qEWuRXqE3oZRnvHjOjFhXyI17+qYnfiDGyRB+?= =?Windows-1252?Q?eY5Q8XMcgOUIDA1Vji9PsRQYu09hDC3MPGTGdck7dQ6rnHDrykARqW7G?= =?Windows-1252?Q?1JR3RDclDYiA9i2cf39fDk3aWF+rJYktFXcMf3in0HhKXXIRcnAdtAJZ?= =?Windows-1252?Q?Ve3d+6K/YNRZ2IIWc6ac5sPBdmrZ4Cpw8yhAHg6b+GaWQ/FCm2Yi8QIX?= =?Windows-1252?Q?YOixNqCY9yQj1EMzuDZo8+fBamkrhFG466mx8QZjEndgDm8wOnMaO3a5?= =?Windows-1252?Q?r6ETw/vWRlxikM+wl9U2dUEiR2YvcPFOZeCEaroXnnOKh0b51fRjywbC?= =?Windows-1252?Q?VEGfrHj/TVN2c0ZRBn8hu5lCwQeNB0DjBVo8vtUnLNJq6VElZ/A1mNT2?= =?Windows-1252?Q?kMLN0xdm2fWlCvdemrspG3yc69Tb693rOV9S129IkXlvBDsiZrde1A8v?= =?Windows-1252?Q?oDl16I5kCqKHYBDiNinHQnGZMDVHWKfOWNlvr1myuYBR29a/A5K46nZ0?= =?Windows-1252?Q?lV3bJIgv2/Cygipn/021W8AyypfB8HawpCM0YLEpqJvMemKl6iUfJxRx?= =?Windows-1252?Q?hkx358eNchwUvx19RLHh5w/gnTVbd3E0iZw1+8a2rOnj03E+dpqdV2cJ?= =?Windows-1252?Q?r1brguNp39y/QZOumt5UtCpGP4Ctz/SHyD6Mj0kS+1NL3C17aHjVUXyq?= =?Windows-1252?Q?vhOjICIYD90xls5biW/70iOYU5xsMEhv+KwQM6GTZQ9gZmlXBc+/Y+bK?= =?Windows-1252?Q?YuoO/y4dQjX6B2BpXM5t6G1mYbDkAzb2GixLhLWz1cddeHfjFTaHJ7Fh?= =?Windows-1252?Q?hyxjLrYnllWq5k4zyRVCYejnnOtLJP6ul5i2X8XRytA7fQq4LtjtVc2k?= =?Windows-1252?Q?Zg547+qX11v4MW3QovDYg+cYz8CMwK4GJvV/BCVnW+4LX4Pd3nWIxxrv?= =?Windows-1252?Q?6oCQplNiFflYMYYYbqVozHiNLtiOdg7fsf2iQSXNdv7ER2SkC/eVh0U7?= =?Windows-1252?Q?iIpVs2zzOWCkF46qU5fNCAox80kwD3Dc7gPoVUArAeP4wFsD6cPTbI/4?= =?Windows-1252?Q?Gy+X/gNJ8exDeZfZs/sy9xKeX+AYXfY5BwgFXXVuyc63cj1pYp/+9IpU?= =?Windows-1252?Q?pzxkKEmTS6+Ck9ovi9p9ni89RQqqchAJF7Wpk1pxsYQzYT6/njmGSHY2?= =?Windows-1252?Q?+hiigpktwG6/cMfqHaHBh5eBRA41OZyCbX7wxcyeT9acS0yE05uuy76y?= =?Windows-1252?Q?BOOVmlt9MjcgTbkoxs0buEEqSq9kOoYXTJaDKfF+oTer7XwlO+ytcL0T?= =?Windows-1252?Q?LDQZbJpDeTVcR3CEZ/WztUZxwe4slKmDqNUTwX6Ez4kAxaGhtQZ5T6uj?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_SY4P282MB079693907BE8D456EBEC46B0FCE39SY4P282MB0796AUSP_"
MIME-Version: 1.0
X-OriginatorOrg: mattr.global
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: dbf88e92-2c7d-4796-04a4-08d94c9a3b86
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2021 22:52:35.6590 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: c2c9cf73-6aae-4702-9844-02adab723771
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: cKJhgrnNml3eLhdIemFMHivGjPYTaE2M9Okj/s9By7t5dA0laQg9dKKrugOHSJI5JL++xU0UdCOvAM/4b0uMMYysPZO1jcuNH/U7Z77cQck=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYYP282MB1759
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/IEsauaDh4H2id4Wmvp9U3DI6AlQ>
Subject: Re: [COSE] EXTERNAL: IETF 111 COSE Call for Agenda Items
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jul 2021 22:52:49 -0000

--_000_SY4P282MB079693907BE8D456EBEC46B0FCE39SY4P282MB0796AUSP_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

  *   Session title: Introduction of draft-denhartog-pairing-curves-jose-co=
se
  *   Presenter: Kyle Den Hartog
  *   Number of minutes requested: 10 minutes

I'd like to request 10 minutes to give a quick overview presentation of dra=
ft-denhartog-pairing-curves-jose-cose [1]. This is a draft to register pair=
ing friendly curves of which, BLS12-381 keys are of most interest to me for=
 use with BBS+ signatures. These curves are commonly used in newer signatur=
e schemes such as BLS threshold signatures[2] and other ZKP formats that ha=
ve been worked on more recently. If anyone has some pre-emptive questions, =
they'd like me to address during the presentation, please provide them here=
 or on the repository[3] as an issue and I'll see if I can cover it within =
the given time.

Thanks,
Kyle Den Hartog

[1]: https://datatracker.ietf.org/doc/draft-denhartog-pairing-curves-jose-c=
ose/
[2]: https://datatracker.ietf.org/doc/draft-irtf-cfrg-bls-signature/
[3]: https://github.com/mattrglobal/bls12381-jwk-draft


________________________________
From: Mike Jones <Michael.Jones@microsoft.com>
Sent: Thursday, July 22, 2021 8:58 AM
To: cose@ietf.org <cose@ietf.org>
Cc: Kyle Den Hartog <kyle.denhartog@mattr.global>
Subject: EXTERNAL: IETF 111 COSE Call for Agenda Items


Our IETF 111 online session is a week from today:

    Wednesday, 28 July 2021, Session II 1430-1530 Pacific Time

    iCalendar: https://datatracker.ietf.org/meeting/111/sessions/cose.ics



Please notify the chairs if you=92d like to propose an agenda item.  We=92d=
 like an editor to provide updates on each of the active working group docu=
ments.  The chairs will review status on those that are with the RFC Editor=
.



Please include:

  *   Session Topic/Title
  *   Presenter
  *   Number of minutes requested



                                                       Thanks,

                                                       -- Mike



--_000_SY4P282MB079693907BE8D456EBEC46B0FCE39SY4P282MB0796AUSP_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12p=
t; color:rgb(0,0,0)">
<li>Session title: Introduction of draft-denhartog-pairing-curves-jose-cose=
</li><li>Presenter: Kyle Den Hartog</li><li>Number of minutes requested: 10=
 minutes</li><br>
I'd like to request 10 minutes to give a quick overview presentation of&nbs=
p;draft-denhartog-pairing-curves-jose-cose [1]. This is a draft to register=
 pairing friendly curves of which, BLS12-381 keys are of most interest to m=
e for use with BBS+ signatures. These
 curves are commonly used in newer signature schemes such as BLS threshold =
signatures[2] and other ZKP formats that have been worked on more recently.=
 If anyone has some pre-emptive questions, they'd like me to address during=
 the presentation, please provide
 them here or on the repository[3] as an issue and I'll see if I can cover =
it within the given time.<br>
<br>
Thanks,</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12p=
t; color:rgb(0,0,0)">
Kyle Den Hartog</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12p=
t; color:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12p=
t; color:rgb(0,0,0)">
[1]: <a href=3D"https://datatracker.ietf.org/doc/draft-denhartog-pairing-cu=
rves-jose-cose/" id=3D"LPlnk">
https://datatracker.ietf.org/doc/draft-denhartog-pairing-curves-jose-cose/<=
/a><br>
[2]: <a href=3D"https://datatracker.ietf.org/doc/draft-irtf-cfrg-bls-signat=
ure/" id=3D"LPlnk">
https://datatracker.ietf.org/doc/draft-irtf-cfrg-bls-signature/</a><br>
[3]: <a href=3D"https://github.com/mattrglobal/bls12381-jwk-draft" id=3D"LP=
lnk">https://github.com/mattrglobal/bls12381-jwk-draft</a><br>
<div class=3D"_Entity _EType_OWALinkPreview _EId_OWALinkPreview_3 _EReadonl=
y_1"></div>
<br>
<div class=3D"_Entity _EType_OWALinkPreview _EId_OWALinkPreview_2 _EReadonl=
y_1"></div>
</div>
<div class=3D"_Entity _EType_OWALinkPreview _EId_OWALinkPreview_1 _EReadonl=
y_1"></div>
<div class=3D"_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_=
1"></div>
<br>
<div id=3D"appendonsend"></div>
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font style=3D"font-size:11pt" face=
=3D"Calibri, sans-serif" color=3D"#000000"><b>From:</b> Mike Jones &lt;Mich=
ael.Jones@microsoft.com&gt;<br>
<b>Sent:</b> Thursday, July 22, 2021 8:58 AM<br>
<b>To:</b> cose@ietf.org &lt;cose@ietf.org&gt;<br>
<b>Cc:</b> Kyle Den Hartog &lt;kyle.denhartog@mattr.global&gt;<br>
<b>Subject:</b> EXTERNAL: IETF 111 COSE Call for Agenda Items</font>
<div>&nbsp;</div>
</div>
<div style=3D"word-wrap:break-word" lang=3D"EN-US">
<div class=3D"x_WordSection1">
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
Our IETF 111 online session is a week from today:</p>
<p class=3D"x_MsoPlainText" style=3D"margin-top: 0px; margin-bottom: 0px;ma=
rgin: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
&nbsp;&nbsp;&nbsp; Wednesday, 28 July 2021, Session II 1430-1530 Pacific Ti=
me</p>
<p class=3D"x_MsoPlainText" style=3D"margin-top: 0px; margin-bottom: 0px;ma=
rgin: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
&nbsp;&nbsp;&nbsp; iCalendar: <a href=3D"https://datatracker.ietf.org/meeti=
ng/111/sessions/cose.ics">
https://datatracker.ietf.org/meeting/111/sessions/cose.ics</a></p>
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
&nbsp;</p>
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
Please notify the chairs if you=92d like to propose an agenda item.&nbsp; W=
e=92d like an editor to provide updates on each of the active working group=
 documents.&nbsp; The chairs will review status on those that are with the =
RFC Editor.</p>
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
&nbsp;</p>
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
Please include:</p>
<ul style=3D"margin-bottom: 0in;margin-top:0in" type=3D"disc">
<li class=3D"x_MsoListParagraph" style=3D"margin: 0in 0in 0in 0.5in; font-s=
ize: 11pt; font-family: &quot;Calibri&quot;, sans-serif;margin-left:0in">
Session Topic/Title</li><li class=3D"x_MsoListParagraph" style=3D"margin: 0=
in 0in 0in 0.5in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-s=
erif;margin-left:0in">
Presenter</li><li class=3D"x_MsoListParagraph" style=3D"margin: 0in 0in 0in=
 0.5in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;margi=
n-left:0in">
Number of minutes requested</li></ul>
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
&nbsp;</p>
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; Thanks,</p>
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; -- Mike</p>
<p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;margi=
n: 0in; font-size: 11pt; font-family: &quot;Calibri&quot;, sans-serif;">
&nbsp;</p>
</div>
</div>
</body>
</html>

--_000_SY4P282MB079693907BE8D456EBEC46B0FCE39SY4P282MB0796AUSP_--


From nobody Thu Jul 22 09:01:50 2021
Return-Path: <eckert@i4.informatik.uni-erlangen.de>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B7F83A4B80; Thu, 22 Jul 2021 09:01:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level: 
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01] autolearn=ham autolearn_force=no
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 NLT61cmL0Elp; Thu, 22 Jul 2021 09:01:42 -0700 (PDT)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.40]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 99A023A4B77; Thu, 22 Jul 2021 09:01:42 -0700 (PDT)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [131.188.34.51]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id C0212548042; Thu, 22 Jul 2021 18:01:35 +0200 (CEST)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id BA0404E7B00; Thu, 22 Jul 2021 18:01:35 +0200 (CEST)
Date: Thu, 22 Jul 2021 18:01:35 +0200
From: Toerless Eckert <tte@cs.fau.de>
To: cose@ietf.org
Cc: Carsten Bormann <cabo@tzi.org>, "draft-ietf-anima-constrained-voucher@ietf.org" <draft-ietf-anima-constrained-voucher@ietf.org>,  Esko Dijk <esko.dijk@iotconsultancy.nl>
Message-ID: <20210722160135.GB55573@faui48e.informatik.uni-erlangen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/UTWlvCR9ciOMz8-hqqMX8yzVGqA>
Subject: [COSE] [Cose]: RFC8152(bis) question(s) (draft-ietf-anima-constrained-voucher)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jul 2021 16:01:48 -0000

While following our anima hackathon for draft-ietf-anima-constrained-voucher,
i stumbled across not understanding some details. Maybe beside helping me
understanding in this thread, some of these questions might also be good
to be answered with better text in rfc8152bis.

My basic confusion is probably around the distinction between Syntax and Semantics.
rfc8152(bis) specifies a couple of Media Types and CBOR IDs to characterize 
the COSE blob and calls this the Semantic. But the only semantic that is
indicated by the items in Table 1/2 (cose-sign...cose-mac0) seems to be
the semantic of the cose-type, but not the semantic of the content.

Unfortunately, i don't know what outside of its use in our anima draft
example contant types would be. As far as i could find, none of the examples
in appendix C nor in https://github.com/cose-wg/Examples do have
the "content type" (3:) field with a value and none seem to elaborate
about different type of payloads.

In practice, we do need to indiate in the Media Type of a COSE blob
the semantic of the content and not only of the COSE "signing" semantics
This is why we are wanting to register a Media Type of
application/voucher-cose+cbor

Now if our approach of asking for sucha  media type to identify the cose content
semantic and not only the cose function semantic is the correct approach,
would i then not have o already find other media types for other ietf solutions
using cose ? I can not find any other Media Types in the IANA registry though..
Are there any ongoing that have not asked for early allocation yet ?

If my thinking is not correct, then it would be good to hear wha the
correct approach is to designate a media type to uses of cose.

Which brings me to the content type field. 

"Applications SHOULD provide this header parameter if the content structure is potentially ambiguous"

I would like to understand an example when the content structure is and 
when it is not ambiguous.

And of course, for the content type field, there is again the question
whether it should indicate only the syntax of the payload (CBOR) or
the semantic+syntax... And an answer of "COSE doesn't care, its up to
the user of COSE" is fine, but any such guidance would be helpfull
to have in rfc8152bis for adopters of COSE (such as us).

Thanks!
    Toerless


From nobody Thu Jul 22 09:20:37 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 760EC3A064A; Thu, 22 Jul 2021 09:20:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level: 
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 G1d0oJ3wQdho; Thu, 22 Jul 2021 09:20:22 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (smtp.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A92753A040C; Thu, 22 Jul 2021 09:20:22 -0700 (PDT)
Received: from smtpclient.apple (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GVyNM1Mwzz31Ml; Thu, 22 Jul 2021 18:20:19 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20210722160135.GB55573@faui48e.informatik.uni-erlangen.de>
Date: Thu, 22 Jul 2021 18:20:18 +0200
Cc: cose@ietf.org, "draft-ietf-anima-constrained-voucher@ietf.org" <draft-ietf-anima-constrained-voucher@ietf.org>,  Esko Dijk <esko.dijk@iotconsultancy.nl>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DB7A84B4-29D1-4E2F-A821-1C78886C7866@tzi.org>
References: <20210722160135.GB55573@faui48e.informatik.uni-erlangen.de>
To: Toerless Eckert <tte@cs.fau.de>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/1HwimgQGxIwhf3E5-dKoHshs29I>
Subject: Re: [COSE] [Cose]: RFC8152(bis) question(s) (draft-ietf-anima-constrained-voucher)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jul 2021 16:20:35 -0000

On 22. Jul 2021, at 18:01, Toerless Eckert <tte@cs.fau.de> wrote:
>=20
> As far as i could find, none of the examples
> in appendix C nor in https://github.com/cose-wg/Examples do have
> the "content type" (3:) field with a value and none seem to elaborate
> about different type of payloads.

I won=E2=80=99t try to answer the whole question, but let=E2=80=99s just =
look at one example:
The European Digital Green Card (Covid pass) uses a CWT with claim -260.
Given that the claim -260 is registered in the CWT registry [1], there =
is no need to provide any other semantics with the signed object.
Similar with the FIDO entries there.

If you do not use a CWT, you may want some other form of identification =
of what the payload is about, and the COSE content-type header parameter =
(3) is one of them.

Gr=C3=BC=C3=9Fe, Carsten

[1]: https://www.iana.org/assignments/cwt/cwt.xhtml
Scroll down to hcert=


From nobody Thu Jul 22 09:41:26 2021
Return-Path: <eckert@i4.informatik.uni-erlangen.de>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 188E23A07FB; Thu, 22 Jul 2021 09:41:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level: 
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 NKaTAcyVu-i9; Thu, 22 Jul 2021 09:41:18 -0700 (PDT)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:40]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 424E03A07F6; Thu, 22 Jul 2021 09:41:12 -0700 (PDT)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [131.188.34.51]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id BCC3754804C; Thu, 22 Jul 2021 18:41:05 +0200 (CEST)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id B06694E7AFD; Thu, 22 Jul 2021 18:41:05 +0200 (CEST)
Date: Thu, 22 Jul 2021 18:41:05 +0200
From: Toerless Eckert <tte@cs.fau.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: cose@ietf.org, "draft-ietf-anima-constrained-voucher@ietf.org" <draft-ietf-anima-constrained-voucher@ietf.org>,  Esko Dijk <esko.dijk@iotconsultancy.nl>
Message-ID: <20210722164105.GC57276@faui48e.informatik.uni-erlangen.de>
References: <20210722160135.GB55573@faui48e.informatik.uni-erlangen.de> <DB7A84B4-29D1-4E2F-A821-1C78886C7866@tzi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <DB7A84B4-29D1-4E2F-A821-1C78886C7866@tzi.org>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/2Aa79IGYzDeZYGDyJZut7zMCYkA>
Subject: Re: [COSE] [Cose]: RFC8152(bis) question(s) (draft-ietf-anima-constrained-voucher)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jul 2021 16:41:24 -0000

On Thu, Jul 22, 2021 at 06:20:18PM +0200, Carsten Bormann wrote:
> The European Digital Green Card (Covid pass) uses a CWT with claim -260.
> Given that the claim -260 is registered in the CWT registry [1], there is no need to provide any other semantics with the signed object.

?? Let me see if i correctly parsed the relevant info from the docs:

-> A CWT is a COSE object right ?

-> RFC8392 does specify a Media Type application/cwt for it, so there IS
   some level of semantic for the COSE payload expressed in the COSE object Media Type.
   Except that the actual semantic of the cwt is in the CBOR claim key field.

If i understand it right, this would be an example i was looking for,
and given the short name 'cwt' i couldn't find it, looking for 'cose' in the
Media Type registry. I guess our work could equally have asked for a
more hib abbreviation application/cbv (constrained brski voucher) ;-)

I am not so sure if demuxing the actual semantic by the claim key field
alone would be sufficient when you had cases where you may needed to find
a specific type CWT. Like when you had a drawer full of tokens, and you
wanted to find the health certificate purely from the envelope without
having to open up the COSE envelope and look into the claim key field of
every token in the drawer. But i guess the expectation in general is that
you wouldn't run into this situation in the targeted use-cases, and if you
do, yo'd have to put another envelope around the tokens with a new
registry (or mapping the CWT registry to that envelope).

> If you do not use a CWT, you may want some other form of identification of what the payload is about, and the COSE content-type header parameter (3) is one of them.

Right. So why did RFC8392 not use the COSE content type field but
invented its own claim key field ? Question for yet another WG (ACE) ? ;-))

Cheers
   Toerless

> Grüße, Carsten
> 
> [1]: https://www.iana.org/assignments/cwt/cwt.xhtml
> Scroll down to hcert

-- 
---
tte@cs.fau.de


From nobody Thu Jul 22 10:57:29 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 250003A0BC1; Thu, 22 Jul 2021 10:57:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 P8jKkUQROr0V; Thu, 22 Jul 2021 10:57:22 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (smtp.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 554C63A0BBC; Thu, 22 Jul 2021 10:57:22 -0700 (PDT)
Received: from smtpclient.apple (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GW0XJ2H5tz31LJ; Thu, 22 Jul 2021 19:57:20 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20210722164105.GC57276@faui48e.informatik.uni-erlangen.de>
Date: Thu, 22 Jul 2021 19:57:19 +0200
Cc: "draft-ietf-anima-constrained-voucher@ietf.org" <draft-ietf-anima-constrained-voucher@ietf.org>,  Esko Dijk <esko.dijk@iotconsultancy.nl>, cose@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <841B0A55-3021-4BA7-B128-342289BEB265@tzi.org>
References: <20210722160135.GB55573@faui48e.informatik.uni-erlangen.de> <DB7A84B4-29D1-4E2F-A821-1C78886C7866@tzi.org> <20210722164105.GC57276@faui48e.informatik.uni-erlangen.de>
To: Toerless Eckert <tte@cs.fau.de>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/KbMhFqZH45uk-vvlDF0q3jDr5vk>
Subject: Re: [COSE] [Cose]: RFC8152(bis) question(s) (draft-ietf-anima-constrained-voucher)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jul 2021 17:57:27 -0000

On 22. Jul 2021, at 18:41, Toerless Eckert <tte@cs.fau.de> wrote:
>=20
>=20
> On Thu, Jul 22, 2021 at 06:20:18PM +0200, Carsten Bormann wrote:
>> The European Digital Green Card (Covid pass) uses a CWT with claim =
-260.
>> Given that the claim -260 is registered in the CWT registry [1], =
there is no need to provide any other semantics with the signed object.
>=20
> ?? Let me see if i correctly parsed the relevant info from the docs:
>=20
> -> A CWT is a COSE object right ?

Yes, with an unprotected CWT claims set (UCCS) inside [1].

[1]: https://www.ietf.org/archive/id/draft-ietf-rats-uccs-01.html
(We are doing this the wrong way around=E2=80=A6)

> -> RFC8392 does specify a Media Type application/cwt for it, so there =
IS
>   some level of semantic for the COSE payload expressed in the COSE =
object Media Type.
>   Except that the actual semantic of the cwt is in the CBOR claim key =
field.

That is not one field; the claim keys are map keys.

> If i understand it right, this would be an example i was looking for,
> and given the short name 'cwt' i couldn't find it, looking for 'cose' =
in the
> Media Type registry. I guess our work could equally have asked for a
> more hib abbreviation application/cbv (constrained brski voucher) ;-)
>=20
> I am not so sure if demuxing the actual semantic by the claim key =
field
> alone would be sufficient when you had cases where you may needed to =
find
> a specific type CWT. Like when you had a drawer full of tokens, and =
you
> wanted to find the health certificate purely from the envelope without
> having to open up the COSE envelope and look into the claim key field =
of
> every token in the drawer.

That is not a good strategy, as any token you present is disclosing some =
information and you only want to disclose that to someone that your =
overseeing principal authorizes to receive it.  So you better have a =
better grip on the tokens that you can hand out.

>> If you do not use a CWT, you may want some other form of =
identification of what the payload is about, and the COSE content-type =
header parameter (3) is one of them.
>=20
> Right. So why did RFC8392 not use the COSE content type field but
> invented its own claim key field ?

CWT for COSE what JWT is for JOSE.
No invention at all.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Jul 26 06:13:44 2021
Return-Path: <gabriel_montenegro_2000@yahoo.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FE393A11FB for <cose@ietfa.amsl.com>; Mon, 26 Jul 2021 06:13:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level: 
X-Spam-Status: No, score=-1.848 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 InJILc9liPFe for <cose@ietfa.amsl.com>; Mon, 26 Jul 2021 06:13:36 -0700 (PDT)
Received: from sonic308-1.consmr.mail.bf2.yahoo.com (sonic308-1.consmr.mail.bf2.yahoo.com [74.6.130.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79F873A11CB for <cose@ietf.org>; Mon, 26 Jul 2021 06:13:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1627305215; bh=6OBJdW4upsXSgtapNRwcJvEN2vfICjeEAoqOLhrMEGo=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=giMa6gPEOuBPjFYZkmTSVh3+EWDEYLC1+86mafohLwwdyc+nomUvjzwVo+nbb7A/lLzzOa+Na1OtTbC7W+70a+oN9mtGMabKXTcC4Zxx2jv5ipdqAOeCRU9r347SjiRax8sqOE18K9lwhMj/Br9QUDGDDt+Dy1Rng89lXqD1NRQxT+6JPnT19kKHn8DzGkVs2Rvm9NCJHcieDimIWYZ+o6j7ZI52jwjUhq69lBKVEfK2C2SDIDC2P5S7I36s9J/D3YzhyGT9d9jn9nL5uem5d642nCQJhrzo0THsJW8mDgpudJ/xnhTZctpBi1nmW3U32icpgExNzGxTqR7mHbViRQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;  t=1627305215; bh=gm0zaUMRyxZsqWXUgb6IWwmls68JVCtgRAhq9tLyfnS=;  h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CFyicudHCQEGNnbqnJx519VNif2Yh0Uqu92Gdq61LaOp3r0zLhFDyhSI79wgbfJxkx92Us2YVLyv26TRCwSszA/U+E2I55uioyuOQuQyGy+ZV5UWNoHDnpXrtZJWCj9RrHVgJdGVlCzA2TMgyJ16wYIp25At+6J2NhGE2AHpKSmh0FZ49RKT5z5tbs7to0BfB0ZdbwICtzdO3amjB92Lvx7DtnInuNTvE37/dzEcU6MzJY61968gEY6UmZYwdrY/F/u2lVIVQq1AqtuDl1MfEEF4phKISRlk3XTGiqJdn0lXIuy+ZylXjBSH2hhnOJz4yfgXX8BgGguOVmm5uy3AZg==
X-YMail-OSG: C_GMMiEVM1mgr98VRpr4LM7gnPPTrdx499b_KBbP4o436gNSj6AacqOVX5xz1_m T.LQLItd4g4jKbZ1dptL.IeeAD_lqrHa74mjrhDEjZvjlmzGaeODBafl1k_NOyjfEgShTB.kNvGt LNJnsbwpvuV1_WWNnGCmabn3p99lAFCm3Rk9ODV8O0KCUv1.UaFCOVBvO1F9JU_lxyihn9VhfaWZ Lj7ZcclWZ4OFuNESXZrlIM1JI_zOFlzGNnWHIMdVtWajtxnlG3t5EeyzRXk8xhse4m5dsrMOoMVr e_jflawRtLL2n.vCwS5kiU.YA71FeKIJgnGMGFVgfdx95e5406xrtfBd5TmSnFT_6yWelfQT5TyY QY3SEO_wmABby9Fr.d.TkGpwkkOet.6iJCIdVENwkKtr6L9mlrqUSrDy2JUmoohRG4nn30.bvtJE b45A6HwfNyzNY_u0qTa_QcvJefbmO860t.kPiBaSpd9PEO1tVtSDB6u8TaHm1.nBZ6.F9cxUkjSv AGAB.PL6Om8SUUCFnasICg9AOfui6MtwC7hOpK3BjzQh6YDfBIuSQnj3tLTjCboFFFFMUuGsquIq 4hP_rxVh87eIYH7xugrksu26wmTBnlsTMuh0SozsxZt8M8Xut6nHDLYf1IauJxtb6MFnrho21lUa 1g4_GIQTLtOOcJWH91YJRlpsPCtY6KiHeikASGK02lQwufpgyc1OLArGD364zexngQVKj0PNLeNp A0uBSuIzvG_5Hegr_F0pmW9bZ39MMopOPCPRLFF4_yD1VDPIEXYHhH9qanBqrAfYBlP8HhxF7P6W IQNnGh.qh4BwuIF0hKWCcdcPkzyvqQvneTSHACWpJhimDSy.aBxkVOsMNCw5qw7X.6oKQjibqXjH GiBf1tT92KYmMQjGAImSzc9J.4qPBIwwLLLwjFDyinsoWcfQO.7r6J.ShoAeppDBQ6Gitai3ZOwS jIRYlZ9W9o7y37SFtCOXn1WalCf0cWHXHyR5aKcxtZl0QiXBBYUc9y.lmKwGjHy23SNwApBNYf6Q 4Mc61hM_c6KOoHqO7xHH6rzpTXZ0LHwkRTEBG_EwjJMcBrk7tVTZBUhzN8P.YDDeGs0hN.aRMT5l LV1wbhbfOwLzYowFK53w1QhIK9iCSeq8Z3rw0OwXpKhapQ6VbmzB5j6_9Vu6uuTL3dYwqY8.3MLs pTTg2rJBZg.GJbp0RbXARzbDws1SRUvYw0W6tBvvtf9pWSATY2wt0_d_26oQ3oYd5_mWUXnx39Bs QgtDraHTP12x_lePPiVO3ZfcXJyywP94y_lwHbtwoWXFvsmTMINLZk33lygh0LK5g.bRwbtW99lJ VJ3UhrV1_pEYoeHcymW1GKnAMp2WhQFAHPQfcnHQSAnFek9g5WRw6MNsV.PRAHsOtcwEdR7KhnKX i36qNEV27TMlN7tJZIQJtgXlst06C47OIX939J9Jepe34qmuIKmgJV7IW5z3..f7Bq0yAogQBpF6 mJfie5zQT8A1lbRvVjHkW79BhKQjoUhN_hhLoLgxFbTzv7lup6xBTsrqhCsQgqheAwwtoUkOd2bt VJQ7GJbwbCITXjPjhac6apqaHN3mT42eJzdEKX1Q1Ri7gzA0TxL4MP4Y_BygZTim_4IBioWicTTH __vA2h7aDzCZRvrRYGJw4RJ4nqQBpMU8NJesL8KuXIfK0Vr8V9yX3wKzV0Q5bFIKi_Z02ftLwGbu y8fh_se0_NJIdN8mEYzHcfda1Ao_nhkGvwvIzFENGGNeBs624cUbL1FfvGO7yMk_CEm7wsxpqwfJ lXTbEWxPIQYaSiDxh2uK_yqKxykj76wRS7cisjfHfm4yEMoZUIm9FLn5.IL74NWEpluoCn59KbJR K3iWfdkMJzoXIE0KdfDQCgSCf5_c8FoFeKkmvcDzZlBlzfWjsKw_HGiS7V2JX5LVVz5019NMEeCy cTeHHPjuhKMxxlz_w1Zy1gxvxc2gJBJ3heYDJB5.qDSOPfHwBIkw9B7X_BCmfe1HcvBAaizHkWnI TCtfam51e4yejlzNl7bQ9rkf5OSwT8II6rnYi7jwRc3.5gQk9pXvDcV2HkTgkwpEKdBHxGPpDp0v V8fSZF84ZPVYYUSIFem9qCcOWFiDv4QP5pOIKq1B4Isz3CYDQ5CR264hNgXvLJBH_J_CF3rIKVdZ SEP29IiJfPx3Qz.4DavTpohHkWFmZVQ6bJPVfWO11eI8I.R4iCWqKk5O.rvzI23SR1OBFBneMoBy 9su4JlttEYVmc.1fZ1yTfyP7GrVtSGtvsLANjCT6gQF8FV1lb011Nie3zDqsl4B55qpTM2aZ83uI NrHMrby.ZmuhJ1ZEbjubrir93xcYDt.9LP43zNKZNI3WUhrJ4i9utCPd1nLRiu5X71j71K3wYsb4 uHzez5KBXRt6AFazBHoSksK5HB1LA2YboehNSXuUr5XiMt6Y4pQbfkyQBgNXByIqz49C1GWzcnB1 TN_Sqno.vq1KfyKyyulKtcH1k88g-
X-Sonic-MF: <gabriel_montenegro_2000@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Mon, 26 Jul 2021 13:13:35 +0000
Received: by kubenode502.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID cb74f2d0b3ce5d157569c657717a6d61;  Mon, 26 Jul 2021 13:13:33 +0000 (UTC)
From: <g_e_montenegro@yahoo.com>
To: <cose@ietf.org>
Date: Mon, 26 Jul 2021 09:13:31 -0400
Message-ID: <005501d78220$09496bd0$1bdc4370$@yahoo.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0056_01D781FE.8237CBD0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdeCIAbxKJ51qezRSYqTsIb6yClc+g==
Content-Language: en-us
References: <005501d78220$09496bd0$1bdc4370$.ref@yahoo.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/PFj6iCw8iptfGnFpRacf-LsIUlw>
Subject: [COSE] Looking for COSE libraries and open source implementations
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jul 2021 13:13:42 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0056_01D781FE.8237CBD0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Folks,

 

I'm looking at COSE versus more traditional alternatives, pros and cons, and
a huge cons would be access to open source implementations and libraries.

 

Anybody know of a good source of information about COSE libraries and open
source implementations?

 

I'm aware of https://github.com/cose-wg, which has some good pointers, but
they appear somewhat outdated. 

 

Thanks for any hints.

 

Gabriel


------=_NextPart_000_0056_01D781FE.8237CBD0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:"Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72" style=3D'word-wrap:break-word'><div =
class=3DWordSection1><p class=3DMsoNormal>Hi Folks,<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217;m =
looking at COSE versus more traditional alternatives, pros and cons, and =
a huge cons would be access to open source implementations and =
libraries.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Anybody know of a good source of information about =
COSE libraries and open source implementations?<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217;m =
aware of <a =
href=3D"https://github.com/cose-wg">https://github.com/cose-wg</a>, =
which has some good pointers, but they appear somewhat outdated. =
<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Thanks for any hints.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Gabriel<o:p></o:p></p></div></body></html>
------=_NextPart_000_0056_01D781FE.8237CBD0--


From nobody Mon Jul 26 13:23:17 2021
Return-Path: <lgl@island-resort.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A40D83A0D98 for <cose@ietfa.amsl.com>; Mon, 26 Jul 2021 13:23:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.894
X-Spam-Level: 
X-Spam-Status: No, score=-1.894 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 8vqCJxetTITA for <cose@ietfa.amsl.com>; Mon, 26 Jul 2021 13:23:03 -0700 (PDT)
Received: from p3plsmtpa07-01.prod.phx3.secureserver.net (p3plsmtpa07-01.prod.phx3.secureserver.net [173.201.192.230]) (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 0283E3A0D64 for <cose@ietf.org>; Mon, 26 Jul 2021 13:23:02 -0700 (PDT)
Received: from [192.168.0.100] ([71.92.144.145]) by :SMTPAUTH: with ESMTPSA id 877tmc3BFyWgD877umQSDw; Mon, 26 Jul 2021 13:23:02 -0700
X-CMAE-Analysis: v=2.4 cv=eMPWMFl1 c=1 sm=1 tr=0 ts=60ff19a6 a=E5cCtQzjhQJ5yJ7bKjC7Hg==:117 a=E5cCtQzjhQJ5yJ7bKjC7Hg==:17 a=AJiqeHfAAAAA:20 a=NeJZvmmVAAAA:20 a=1MSDjx2PAAAA:20 a=48vgC7mUAAAA:8 a=5Gplp7oSAAAA:20 a=NEAV23lmAAAA:8 a=lMeC_Aeq8sVAdjqcGrkA:9 a=QEXdDO2ut3YA:10 a=kHtCqhTfAAAA:20 a=v4wMtMI8AAAA:20 a=W2066UXJpIhtqKciWB4A:9 a=Yw4KZXJLdnRkm8bo:21 a=_W_S_7VecoQA:10 a=w1C3t2QeGrPiZgrLijVG:22
X-SECURESERVER-ACCT: lgl@island-resort.com
From: Laurence Lundblade <lgl@island-resort.com>
Message-Id: <962D86DE-8A1C-4782-BE27-135EC3AA9ED4@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_22165C27-7C33-45B8-B725-11E091C023A5"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Date: Mon, 26 Jul 2021 13:23:01 -0700
In-Reply-To: <005501d78220$09496bd0$1bdc4370$@yahoo.com>
Cc: cose <cose@ietf.org>
To: g_e_montenegro=40yahoo.com@dmarc.ietf.org
References: <005501d78220$09496bd0$1bdc4370$.ref@yahoo.com> <005501d78220$09496bd0$1bdc4370$@yahoo.com>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-CMAE-Envelope: MS4xfEI63gl+j/0mlsOTvStAOfLYHDnNeB5Xq/8D4Q8c9s0dyYldLmo4ybO1huaoNg+6vm8RQmLRIfoM6tSMAiVMfBzxRm8l+6gN+uD57iCiCzT4JvUXsC2X Tl6lFwGLt8uMFfcVP4lXv1QSt3hS/fcvPLUMn7LF5cNqfxz4nRGZVUh35S7AUJSw0KuWqOxK8RnvEA2VnvW5gftzGwjK1b4dJY/TcCPQaeeC0bauFywwp7aB vTQGTARLpaBtseUqTZ7wmA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/HDEn1t21QH9azmupTZb9gezVw9A>
Subject: Re: [COSE] Looking for COSE libraries and open source implementations
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jul 2021 20:23:15 -0000

--Apple-Mail=_22165C27-7C33-45B8-B725-11E091C023A5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Here=E2=80=99s the GitHub lookup  on the COSE key word: =
https://github.com/topics/cose

COSE-C is the original, but it is not maintained now: =
https://github.com/cose-wg/COSE-C

My own maintained implementation (just signing so far) is here: =
https://github.com/laurencelundblade/t_cose

LL


> On Jul 26, 2021, at 6:13 AM, g_e_montenegro=3D40yahoo.com@dmarc.ietf.org=
 wrote:
>=20
> Hi Folks,
> =20
> I=E2=80=99m looking at COSE versus more traditional alternatives, pros =
and cons, and a huge cons would be access to open source implementations =
and libraries.
> =20
> Anybody know of a good source of information about COSE libraries and =
open source implementations?
> =20
> I=E2=80=99m aware of https://github.com/cose-wg =
<https://github.com/cose-wg>, which has some good pointers, but they =
appear somewhat outdated.=20
> =20
> Thanks for any hints.
> =20
> Gabriel
> _______________________________________________
> COSE mailing list
> COSE@ietf.org <mailto:COSE@ietf.org>
> https://www.ietf.org/mailman/listinfo/cose =
<https://www.ietf.org/mailman/listinfo/cose>

--Apple-Mail=_22165C27-7C33-45B8-B725-11E091C023A5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Here=E2=80=99s the GitHub lookup &nbsp;on the COSE key =
word:&nbsp;<a href=3D"https://github.com/topics/cose" =
class=3D"">https://github.com/topics/cose</a><div class=3D""><br =
class=3D""></div><div class=3D"">COSE-C is the original, but it is not =
maintained now:&nbsp;<a href=3D"https://github.com/cose-wg/COSE-C" =
class=3D"">https://github.com/cose-wg/COSE-C</a></div><div class=3D""><br =
class=3D""></div><div class=3D"">My own maintained implementation (just =
signing so far) is here:&nbsp;<a =
href=3D"https://github.com/laurencelundblade/t_cose" =
class=3D"">https://github.com/laurencelundblade/t_cose</a></div><div =
class=3D""><br class=3D""></div><div class=3D"">LL</div><div =
class=3D""><br class=3D""><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On Jul 26, 2021, at 6:13 AM, <a =
href=3D"mailto:g_e_montenegro=3D40yahoo.com@dmarc.ietf.org" =
class=3D"">g_e_montenegro=3D40yahoo.com@dmarc.ietf.org</a> =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"WordSection1" style=3D"page: WordSection1; caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Hi Folks,<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">I=E2=80=99m looking at =
COSE versus more traditional alternatives, pros and cons, and a huge =
cons would be access to open source implementations and libraries.<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Anybody know of a good =
source of information about COSE libraries and open source =
implementations?<o:p class=3D""></o:p></div><div style=3D"margin: 0in; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">I=E2=80=99m aware of<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"https://github.com/cose-wg" style=3D"color: rgb(5, 99, 193); =
text-decoration: underline;" class=3D"">https://github.com/cose-wg</a>, =
which has some good pointers, but they appear somewhat outdated.<span =
class=3D"Apple-converted-space">&nbsp;</span><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Thanks for any hints.<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Gabriel<o:p =
class=3D""></o:p></div></div><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">_______________________________________________</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">COSE mailing list</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><a =
href=3D"mailto:COSE@ietf.org" style=3D"color: rgb(5, 99, 193); =
text-decoration: underline; font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" class=3D"">COSE@ietf.org</a><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><a =
href=3D"https://www.ietf.org/mailman/listinfo/cose" style=3D"color: =
rgb(5, 99, 193); text-decoration: underline; font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" =
class=3D"">https://www.ietf.org/mailman/listinfo/cose</a></div></blockquot=
e></div><br class=3D""></div></body></html>=

--Apple-Mail=_22165C27-7C33-45B8-B725-11E091C023A5--


From nobody Mon Jul 26 13:33:33 2021
Return-Path: <gabriel_montenegro_2000@yahoo.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CCAC3A0853 for <cose@ietfa.amsl.com>; Mon, 26 Jul 2021 13:33:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level: 
X-Spam-Status: No, score=-1.848 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 bctRaxMuTqPg for <cose@ietfa.amsl.com>; Mon, 26 Jul 2021 13:33:29 -0700 (PDT)
Received: from sonic312-21.consmr.mail.bf2.yahoo.com (sonic312-21.consmr.mail.bf2.yahoo.com [74.6.128.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4B2123A084A for <cose@ietf.org>; Mon, 26 Jul 2021 13:33:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1627331606; bh=TY+ZvfM6jko0MlJBkyc8b/tAsKYwteE74N9rbWrO4j0=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From:Subject:Reply-To; b=sSSZ97AeQBYzg5Hg61+Gj5sxiSU1hrJLICSoO43ExcioVoNgJV/OHWOwf6TaYeXtLiHES7k+fLcuw77kZ1H8RFrptKSuaPmYm2pUoeS0XM9HQx3TvaCI6d9bOB6UGWlodgyq/fWC7Ak2Syv97y5pWOqJiDSq6ud9lUy/hxkNUQW00dFqx9AZYUzuiq4LDyurI5WLxJVX0ipVKLOYEieNh8riNWVuLPOmUTY1iIREOZrfXSKuk1E5kShijoKgW/tlE3zlmp7N8V+iIXU98jJS/OTxr1kJ59oy2fNf/TXyVFnKl4PxFMj/dduoFE6xNP7d+rXUTyWhIhs4VIX1GWhMZg==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;  t=1627331606; bh=A3tIZRLMXxJ+pTm8qf7OwgQmSkZO/atDlEVrQJSDYPO=;  h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=MUMqqd4WASi9WVz0z6G9gdUoB4TnRt3U79tygABJ17+xqARhNggzbRKuRTMSd0APA+yEGjw03t3KGn56apTTXDX830BKZtOPAxzhCh49hYOFJYC8fMnKDERcPZbO/iapyyNedg6t4GJwwkZwQsLh6K/wkN14/bjYdpV2Srm798NrnRqmAWO0y/eVHKceuz+vmt5+g/PQpq+Sadzlil+p+jI/BAkhwVfEqCZadcEW3elopHxJnFit4EHmZwxCd6cgFGOYTdSPd5rhGYAZqTxO6KVoEGw5V+HakY+jGUtajddHA4G4xM9JWTjXoWk56NtGMcCV5wF4fJVTjTDh2x9VVA==
X-YMail-OSG: Z7WpXMkVM1n664MgEBwT7z7gA6SIyc_n557bjcC2C04o7USmkt.348p.4dyuY5i W6Vs_K_qXHUGAUZpFGZcqxvfkJ1QO2pgRP1fnizFdohj66cXwWo8wZ2gAinXU0iE0vRCkULDip8G gGEIyPLMXPb.31fYRo6awSMlyMe7tZ_tUvs7KBlvz0d_l0aN.uZFNZFpXXpK9yhLGbgVbF3LbQLu R6AnMzF_k3CsbNcnlYoEIDvyIGj.ZA_dgq6HADaPua_n5I_rpraOzwuG3tFZs4uNBhq0cboEM9rm RgjAECMUE8bFN.8m0MSi61brp_QBOXO5NcitSQPBKkDDxM0tEUYjJVKU2.Tlagvwa7yPNuBV05OH jHpLruW3ZUhyeAcBZOllQTkYcSaJxEo9O.B_aSQdxKh7W7vFRfTt7XmPSjbbZcUc9yP7WZ9DIGv4 p4PywiZGV16.OKMLCESKT0D2Tl.QfCbBsWXad4vLOyiJ436uAXz5RLr4pDUQoRnm8fPWvrJNT8hs vUoFYv1OB9xlwrWtKXvxJs.GZK.5y_EyOk2DEBEDpRu3UkwXu39DdDfwJtw2T31EndxzXVWw1Mm4 1.VguKbZiesu_8.gai_q3448QRJbkGJIEKyiYaTjyikaR7VtqypoyqFraN8GFXT4_fNh21qrYbCu YzqYQSdvWj0d2y0f9Pcd_GT7JW3N.8tCj8zccnRS3hdlgEfHiX5U4JGNhUAsG8Vk38wdvQG08ef7 RhY5uCrHt3BmPAHMvYBIiIi8QZWMHS8tZDmqhp0o2CyS26aS_j6mnBtFlbB18qw31ESpdBYN7z_c zw3JqdJ3DVQ0XMLqttlnHXGjzl9x4MAwAMuV89Xu_0WpUninDUBXt6hqwUnoxrlp0PzhfV.d5J6d bao30oUoNTOJmmdgNE47zFKAZHIF5D5Qc0z2ycNJK2SCdRjpo_ggC.FAy4eyMMbEgOORXwsCLqyv rEf0ZfeU4HOW.LrsWhwYtfnlVthlgVn4PORrqg0FzEkk9.If479S8_0aSfIsHRTQ89WhWSgfkCh3 6IY5bV4xbYq4udP_wV.Cob2ObdzXvznM4.zBJsR.aHsW1VE3m2kB9ryXfAjtXh3TJdelpCgeQiEh y4myntp7A7SxAuv_GlDmh1U0OzLlB.Y4A1r.exxEdXp.xQ_j4KX9hCUjncsoOyk.F1EuC_Hnacsm 1ikDdy6x8c2x9XoS6g_1MTuUbNy0MwuPT8i5uTG.SCeVkI93iysSeObtp1AhtDdNHX1tAugW.dEf ruB60lsZKu3XGi8IjaooAwTZgf3EkKc7QeK77Ela577PVwguv6zU.ECOmRq6lJXysoZJOdHpyx4A 38G8JBPV2VxmgVfGOcji86N.gRhNlATjVceaqV7COAZNjLpEiNuLaZBgK9L6pa0qxJUqEw9Ld8LW 2L7un2_uT1NDb92jqeamzlfCLUCb19QHeevh9taFAcDnDTRlz11GWkz1blYCkdM7ZiFfbmPEANqI jhpFQnzA2C2wg72JL2gQmSNyB.5MjKva.i8QndSsyQEhUG2yYqGyXoZdGw0NB.vNBnlhEH7YjQkZ DGt1foyL.BksvOelZsU2DbvTz2bBmk.7NgFv6wZL78yxB8iYbe68PFmaqTPtEfdf8D7yk84oM43t yoHfpRqdEcHtpBj6tzMWDfPm1v_FJhqQhDwjI3QROWpmLnhTV_odR6WMgIimQw4P695KtbGW8HJ7 8QiKasU69aUWXFtuYYGWMft6JnYaw8jA.5Vdz8ntHi_u1OfToO5yc0IHZbrHJeLsEInXfDQNTLtV Goa8NJy0RoCYKYuyZgq6F0KFETmrWNvpDfTLeNvlxUDCqX.e7b3PNT3aqK0t9Sq_jSmt_3AGKm70 O6izhG53YUbH_XSZUjtrBqtxuhqbw.ongqt68Zd5n.eRlA0SOwprba8OaJNO0Q4_xSOo16ir7y35 MR1lTtE0wGR7lW6wR2WEHsrnqbw57WLt5m29ve9k8f_Qwmmunazll6xWE1SA150epJ19.DURKfPz Zaab2Vqq8kgm2WxRm3ZKmTh0ZPKM5LlC0eRGtkoXU4o9_7Gk.vzaBNwBgWX2AKqzQg651MIdWyVK tQCL5JNqFh4W08ZcFLutUluEDl_QQowfonCGfZQeMoz5leibVVWOAsw5gyHBZPnXehNIEMEqTVeR 6mI5DDNf6UA0xaJTsGPndqnCzVLZk50bp9_6WxkI_dWjEg3G_0FMJBe_i.1LJL7_2wockuZCLVuo jsl4k0gDCbUj5yZFY8ffLDGhGNqq7fDH2wQ_e5PG9lzqeIaDru6HniIUSwDPUSjCoXe0SJMtQceU 8N2eAMQQ4bkzKhQzSxXsPWOwbn9wUrbQoa43qyXyxgitz2Sgnmv52hGa_knPvyScJAIgQ4Dt2ajr vkXU29ENTnSNiUbZ35OZz.9sjGUn68A9QWjZ1p0zOH4SjWtsCYhGYNInYgq4ywytZX5ZrC8kghs6 Mu0N4OqqG0liJZ3vNHP3gld_0xv04VmLY9VffWKW4oWSDVaM2wtU5I1oamT0KHhBjFgGS5A_kMkk 6JRKd9XhdcuiapASJdEcvRnSu3uj1w3iwmfUA0nN73DxXyV3NINiEH6QLjNxuSH3ad8p2UFNvztU RwgclSwHaUYcFdP82Sb0JDVo429SDuFlZnfe4gIF9SSawgQ--
X-Sonic-MF: <gabriel_montenegro_2000@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Mon, 26 Jul 2021 20:33:26 +0000
Received: by kubenode531.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5e459d5f0676b0118a387c2a7aa367ba;  Mon, 26 Jul 2021 20:33:22 +0000 (UTC)
From: <g_e_montenegro@yahoo.com>
To: "'Laurence Lundblade'" <lgl@island-resort.com>, <g_e_montenegro=40yahoo.com@dmarc.ietf.org>
Cc: "'cose'" <cose@ietf.org>
References: <005501d78220$09496bd0$1bdc4370$.ref@yahoo.com> <005501d78220$09496bd0$1bdc4370$@yahoo.com> <962D86DE-8A1C-4782-BE27-135EC3AA9ED4@island-resort.com>
In-Reply-To: <962D86DE-8A1C-4782-BE27-135EC3AA9ED4@island-resort.com>
Date: Mon, 26 Jul 2021 16:33:20 -0400
Message-ID: <00b001d7825d$79dd88d0$6d989a70$@yahoo.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B1_01D7823B.F2CD2150"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQD8OdsADZIQ1FUNdDKRodlzjtObBgH0LPOvAcBA1TCs7qNfQA==
Content-Language: en-us
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/IYOEjOMxLl3k3OnKhW4fxZslvCE>
Subject: Re: [COSE] Looking for COSE libraries and open source implementations
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jul 2021 20:33:32 -0000

This is a multipart message in MIME format.

------=_NextPart_000_00B1_01D7823B.F2CD2150
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Thanks, Laurence!

=20

From: COSE <cose-bounces@ietf.org> On Behalf Of Laurence Lundblade
Sent: Monday, July 26, 2021 16:23
To: g_e_montenegro=3D40yahoo.com@dmarc.ietf.org
Cc: cose <cose@ietf.org>
Subject: Re: [COSE] Looking for COSE libraries and open source =
implementations

=20

Here=E2=80=99s the GitHub lookup  on the COSE key word: =
https://github.com/topics/cose

=20

COSE-C is the original, but it is not maintained now: =
https://github.com/cose-wg/COSE-C

=20

My own maintained implementation (just signing so far) is here: =
https://github.com/laurencelundblade/t_cose

=20

LL

=20





On Jul 26, 2021, at 6:13 AM, g_e_montenegro=3D40yahoo.com@dmarc.ietf.org =
<mailto:g_e_montenegro=3D40yahoo.com@dmarc.ietf.org>  wrote:

=20

Hi Folks,

=20

I=E2=80=99m looking at COSE versus more traditional alternatives, pros =
and cons, and a huge cons would be access to open source implementations =
and libraries.

=20

Anybody know of a good source of information about COSE libraries and =
open source implementations?

=20

I=E2=80=99m aware of  <https://github.com/cose-wg> =
https://github.com/cose-wg, which has some good pointers, but they =
appear somewhat outdated.=20

=20

Thanks for any hints.

=20

Gabriel

_______________________________________________
COSE mailing list
 <mailto:COSE@ietf.org> COSE@ietf.org
 <https://www.ietf.org/mailman/listinfo/cose> =
https://www.ietf.org/mailman/listinfo/cose

=20


------=_NextPart_000_00B1_01D7823B.F2CD2150
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:"Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple style=3D'word-wrap:break-word;-webkit-nbsp-mode: =
space;line-break:after-white-space'><div class=3DWordSection1><p =
class=3DMsoNormal>Thanks, Laurence!<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #E1E1E1 =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b>From:</b> COSE =
&lt;cose-bounces@ietf.org&gt; <b>On Behalf Of </b>Laurence =
Lundblade<br><b>Sent:</b> Monday, July 26, 2021 16:23<br><b>To:</b> =
g_e_montenegro=3D40yahoo.com@dmarc.ietf.org<br><b>Cc:</b> cose =
&lt;cose@ietf.org&gt;<br><b>Subject:</b> Re: [COSE] Looking for COSE =
libraries and open source implementations<o:p></o:p></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Here=E2=80=99s the GitHub lookup &nbsp;on the COSE key =
word:&nbsp;<a =
href=3D"https://github.com/topics/cose">https://github.com/topics/cose</a=
><o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>COSE-C is the original, but it is not maintained =
now:&nbsp;<a =
href=3D"https://github.com/cose-wg/COSE-C">https://github.com/cose-wg/COS=
E-C</a><o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>My own maintained implementation (just signing so far) =
is here:&nbsp;<a =
href=3D"https://github.com/laurencelundblade/t_cose">https://github.com/l=
aurencelundblade/t_cose</a><o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>LL<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal><br><br><o:p></o:p></p><blockquote =
style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><div><p =
class=3DMsoNormal>On Jul 26, 2021, at 6:13 AM, <a =
href=3D"mailto:g_e_montenegro=3D40yahoo.com@dmarc.ietf.org">g_e_montenegr=
o=3D40yahoo.com@dmarc.ietf.org</a> wrote:<o:p></o:p></p></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=3DMsoNormal>Hi =
Folks,<o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal>I=E2=80=99m looking at COSE versus more traditional =
alternatives, pros and cons, and a huge cons would be access to open =
source implementations and libraries.<o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Anybody know of a good source of information about =
COSE libraries and open source =
implementations?<o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal>I=E2=80=99m aware of<span =
class=3Dapple-converted-space>&nbsp;</span><a =
href=3D"https://github.com/cose-wg"><span =
style=3D'color:#0563C1'>https://github.com/cose-wg</span></a>, which has =
some good pointers, but they appear somewhat outdated.<span =
class=3Dapple-converted-space>&nbsp;</span><o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Thanks for any hints.<o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Gabriel<o:p></o:p></p></div><p class=3DMsoNormal><span =
style=3D'font-size:9.0pt;font-family:"Helvetica",sans-serif'>____________=
___________________________________<br>COSE mailing list<br></span><a =
href=3D"mailto:COSE@ietf.org"><span =
style=3D'font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#0563C1=
'>COSE@ietf.org</span></a><span =
style=3D'font-size:9.0pt;font-family:"Helvetica",sans-serif'><br></span><=
a href=3D"https://www.ietf.org/mailman/listinfo/cose"><span =
style=3D'font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#0563C1=
'>https://www.ietf.org/mailman/listinfo/cose</span></a><o:p></o:p></p></d=
iv></blockquote></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></body></html>
------=_NextPart_000_00B1_01D7823B.F2CD2150--


From nobody Tue Jul 27 09:06:44 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE9583A1064 for <cose@ietfa.amsl.com>; Tue, 27 Jul 2021 09:06:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 sSeEHVmVF1bf for <cose@ietfa.amsl.com>; Tue, 27 Jul 2021 09:06:38 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B5953A1058 for <cose@ietf.org>; Tue, 27 Jul 2021 09:06:38 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id EA60D389B7; Tue, 27 Jul 2021 12:10:21 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4oGB-EJ6Cknf; Tue, 27 Jul 2021 12:10:18 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 7080A389B4; Tue, 27 Jul 2021 12:10:18 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 722AF440; Tue, 27 Jul 2021 12:06:32 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: g_e_montenegro=40yahoo.com@dmarc.ietf.org, cose <cose@ietf.org>
In-Reply-To: <962D86DE-8A1C-4782-BE27-135EC3AA9ED4@island-resort.com>
References: <005501d78220$09496bd0$1bdc4370$.ref@yahoo.com> <005501d78220$09496bd0$1bdc4370$@yahoo.com> <962D86DE-8A1C-4782-BE27-135EC3AA9ED4@island-resort.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Tue, 27 Jul 2021 12:06:32 -0400
Message-ID: <13619.1627401992@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/rBtbtiDOTCoc2DOJ2klESzc7r28>
Subject: Re: [COSE] Looking for COSE libraries and open source implementations
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jul 2021 16:06:43 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


    > I=E2=80=99m looking at COSE versus more traditional alternatives, pro=
s and
    > cons, and a huge cons would be access to open source implementations
    > and libraries.
    >
    > Anybody know of a good source of information about COSE libraries and
    > open source implementations?

I implement enough COSE (Sign1 only) to do RFC8366/Constrained-Vouchers at:
   https://github.com/AnimaGUS-minerva/ChariWTs

I also use https://github.com/AnimaGUS-minerva/cbor-rust
from https://github.com/franziskuskiefer/cbor-rust (Mozilla).

I think that you'll find that COSE is rather a swiss-army-knife kit, and th=
at
many users will implement (and test) what they need, and leave the rest
aside.
Given the constrained focus of COSE, you may never see an all-singing libra=
ry.

Also, the way in which COSE integrates with CBOR libraries probably depends
heavily on exactly how the data will be used.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmEALwgACgkQgItw+93Q
3WXpSggAsIwrV3gbEwCdP8oGJhwghrQUfH6uDBZKHQJ6CgjTtuni2s5+YoIGf+jW
B9msYq6f1So8NoNYiOJKQ2Bcnz7kgNBgXzYKH4XThb3L3z6HM37OUtRhXHhhETaV
027n2fHMJ0470qqsfhK0IWRTEjDPEKbxDmav7DwLwXx/oIhTL2OZuRivzue0d1gg
Tu8GIjCjMiziZ7rFJaeyKmryCXE0PYHyKiuFPaOQ/vGmgbxkX8pd5nddhKiz/4dC
e34keYoca95os5dM6XbcWVSnKZNmwbHez5F9yDvqEk88zYgxzwKHrEamzqulbvA7
36I7G+OlA/1esKkIqjFHuUWKpr8HHA==
=BTNq
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Jul 27 18:27:24 2021
Return-Path: <BSipos@rkf-eng.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B476C3A153F for <cose@ietfa.amsl.com>; Tue, 27 Jul 2021 18:27:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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=rkf-eng.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 ku7jefvrhxOG for <cose@ietfa.amsl.com>; Tue, 27 Jul 2021 18:27:17 -0700 (PDT)
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2049.outbound.protection.outlook.com [40.107.236.49]) (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 CE24D3A1540 for <cose@ietf.org>; Tue, 27 Jul 2021 18:27:17 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ifeoi6X9PRtIRt8tNjvsbSLmYY8e59Dg7gKEXZZr1V0N4IIePorM0WAJ7desJ5JR3EMKv8Dc6XC/OZ+VRyGh7oNPDlJACab8ns2D689uZCPViOsSmRhc8YBwZ8wEpDsMr4/jG2iVAGoC0f6osx/hFbq99VtS5sep3r8AjuTtnJxE99TGresocAuvo6eUVkvkBwIzlf4WG2P12lZcUHzQB27S3L7w9P+vweBSUrIOsZhsaDX+OvonyQ2tazjQrq8xWvfizTJDyu753BcJV8awOm1gDlMUHdVEBvN/0UHT70VkKX6vVrzd1NLn5X/24fMpCCwoTqlJyjyhKD3xc1fUdQ==
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=aPPP0WgpSn2s23RUL27Fv5i+ylAoD+UrQlJN9FfwEcM=; b=EkR92QEsooC5+is+jXF2fCW8vnxctceWbstkoF5xL19VMf7tHoSbLBLtnOr0D2mKsmH2cEsyDor7qIgS6lpl3R5wjylffzPLjT96hEvLZdpayoSsZHRFbORL0KKw3Oq2JG4geofB+oEhSgDcIHrTn4so8U0bxBLLjvBF2rUAXGixLn2Vxpnd0QPDyY2vi40TiXnpkt90yToHkXvuumlVyRGY6joKbvsaI8efD0xQ5MEPQLsxZfiQwgw9X4UeFGNOpC0leeQH+qhXtRRPpRoLH2cJTAJoNuwQroYjW2U/gKlfPUCHk30/83+RgzKoHOLiH8unog8Ohg5vm6McEloyaQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=rkf-eng.com; dmarc=pass action=none header.from=rkf-eng.com; dkim=pass header.d=rkf-eng.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rkf-eng.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aPPP0WgpSn2s23RUL27Fv5i+ylAoD+UrQlJN9FfwEcM=; b=EZLOcBKilU6Beyskvr3f/Kyy3LdTXDMpAyPDNajAOIyk+RP2IUpI7mim21pcrVfmSE942oqqr1JlaIpQ+HQ/s/oXke1SVQPhGXZqN2GUfTVvzy9AN6uRhD3Y5P+01QofhHUATD9GAt1wd8ZUUMgNqIqnthi6NSSHUgSa2lZEoWw=
Received: from MN2PR13MB3567.namprd13.prod.outlook.com (2603:10b6:208:168::10) by MN2PR13MB3294.namprd13.prod.outlook.com (2603:10b6:208:135::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.14; Wed, 28 Jul 2021 01:27:14 +0000
Received: from MN2PR13MB3567.namprd13.prod.outlook.com ([fe80::f845:66e:abee:d10c]) by MN2PR13MB3567.namprd13.prod.outlook.com ([fe80::f845:66e:abee:d10c%6]) with mapi id 15.20.4373.018; Wed, 28 Jul 2021 01:27:13 +0000
From: Brian Sipos <BSipos@rkf-eng.com>
To: "cose@ietf.org" <cose@ietf.org>
CC: "g_e_montenegro@yahoo.com" <g_e_montenegro@yahoo.com>
Thread-Topic: [COSE] Looking for COSE libraries and open source implementations
Thread-Index: AQHXg0TZLuVXkJn1TkuC65tQ3IByyA==
Date: Wed, 28 Jul 2021 01:27:13 +0000
Message-ID: <MN2PR13MB3567C324401F4E510BBDCC8B9FEA9@MN2PR13MB3567.namprd13.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=rkf-eng.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8bb2b746-38f8-4042-5165-08d95166d43a
x-ms-traffictypediagnostic: MN2PR13MB3294:
x-microsoft-antispam-prvs: <MN2PR13MB3294E164B1B9463DD1ED3F379FEA9@MN2PR13MB3294.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 1fyqzPyVhuFKbJ/sQDVgDo03L90ft7o1IdJBToniOZcn5/ARGcQvaBNXHHuxon8X6f+Mb13uQyz9SuaraFdJFK3NZMW6mh3ilsVwXW8Pl2AAoDTZBT/MCl8osXwrR8dDMjfZYXUcGS7IHRX1jKuf4reprrt0nbyYb0uaS/GNFS4tZBFxhOGM1IfEe9tRHA/ChIHgW+SuOg59N3pbfGDEHLMal5U+r6aqbfNCWd7/mNlF1OMwHzc2jvhaEne+fCMZ7y80r0xoBTYpX7KkLq6m17IdQD6IXmrhfSXTry9rQfjCFOrCIV8ww/VD/guASI709jiSkZPWojoHvFT2SnSANIzt7ZtqYUoEDDY3fX1HT7wk+01XLXAoTD0+ofYWGK+t+jNU3mOcRe9gjpk7O3rJsEZ3pY9M6OahWtx1kqhjyNc6QnT+/5Tsnq+5k60SaZSOrZA+iHOyBDATJ1HNBLSFxoPvYphKZGi74Qiy8xx+Doz0c+RVrsi6f57pzL8mzuUzzAqEeghigiL/zwahKLnEPHusJK4dXDXVGN+JuPW05nqEwnQDxXENERLLFzEWwAH0xBmda9ckD2AR89Ehfvx4PDEP3+1cOHZ/7ir4RUglFR3ZDAitz8+C+LpTxH74VAGm+P6xJyY2NaA9rstQjxCFQDsS1PAD0abbinpQO09cJZ1ZaRJ9Su2FyEzhQG3bQ53ooZ3Hmj+qekw3JchlFoaQe2cGP9TI/lvgvO9Lx7XYK79ks27n6n7l4VElH9CSgtiZud2m5FDo0BoQj+keQoJInXR0viGgFzOJvKoQGHmmytA=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:MN2PR13MB3567.namprd13.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(396003)(39830400003)(136003)(376002)(346002)(66476007)(122000001)(66556008)(66946007)(52536014)(76116006)(55016002)(6506007)(8676002)(26005)(38070700005)(9686003)(966005)(5660300002)(71200400001)(4744005)(33656002)(186003)(4326008)(2906002)(83380400001)(66446008)(166002)(508600001)(6916009)(38100700002)(8936002)(19627405001)(316002)(64756008)(86362001)(7696005); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?LfTNfDYL27MSdG4Uzko1hy/Dzc5zTLCgSZuact9b8z1YnXa+19B2vm/Sco?= =?iso-8859-1?Q?Xpcwku/A+wfd7esSziTM6Ex7jWp6NsaFAoAAXPHh1zBwqqJeI5SVJK2wUp?= =?iso-8859-1?Q?fNu6N7+U6/thQqDNJtB++jdD4WzAIyfGCIcUvC7uorCcjIaS3kKANhbtBT?= =?iso-8859-1?Q?sl3bDJB1SisJlaFiuVg1nuzrRf6E6yiOQh/vICwltIP01lNSDtuIr3nghf?= =?iso-8859-1?Q?9Qz6QV9u2t28QpD8Bs6ExU1gewvtoW1M7V+vvIudBWIhdjuhY6oWWoUEzq?= =?iso-8859-1?Q?0Vu+vPeqhLG2deGkCghPIcak/90Uc2WAhVHHv9ELpHbeP6elOWnOLf3xh7?= =?iso-8859-1?Q?QlISNh0/Cj52XCOTjRw7h52W5HRC0PcI+xtV6tFTAkEMfmOpq0TpB92kZH?= =?iso-8859-1?Q?wiyVzhjUJoZWwxvihT0oQ2nDg/QFg0GMQvzNCmYMEj5QvYcTYPII8RsoJh?= =?iso-8859-1?Q?NjrISeyp2qYvsituCe2NgT1RTn/5tQg/10uNIXWf7lUe5XH5zcOBh4P/Uu?= =?iso-8859-1?Q?iv+gpf/0xMHzS/zXUwBFj12z8jyd2QHauK05hU6Q1rL/rkO7sge3s4iVug?= =?iso-8859-1?Q?OFmc3/k/cypJSiZGx53p5B+0GAiOkrFDkUITKWiqqjVKSof6TX1y6xfBgY?= =?iso-8859-1?Q?0U43efTrMsA2n4gh0xQ7jtmI+94RP3SQjh1mlTrXSy0fA/ySISXxREvIp6?= =?iso-8859-1?Q?6FO08Mm8XcDGgFRBSXOyjJ2SVI9pzZufJoKuI+F9fKRYDS25eNaK8xBE+K?= =?iso-8859-1?Q?1Rcl+VFCCpM9kDBnOTjLnrLcVlohGEgSvPgKqf6EXdGLRHD9vRTSxx3usI?= =?iso-8859-1?Q?sEkOyISa6DYjE3tSQ2GuW9fV9ig/WKkMWxrn+RfsT++bEQP/w0EMeXEhEi?= =?iso-8859-1?Q?Opri80ljuNoVpTaqSBtZe7LqTxkwMncKXqOZWlCD7occ+jI5HLqRCctlO6?= =?iso-8859-1?Q?TuYsgLs8XAQe4bjiCcWn5MDrT1rLEtnV6zkStVTsN/cwKuDzSkbl1ha4/u?= =?iso-8859-1?Q?v3El+Qpn4R1jTwQIYYNaUqYSyA/TDzb1LQdjwDXCUx8PNPB2gMlr7S2l5M?= =?iso-8859-1?Q?sk5hauJ/jpojwhkJmyXsQe/GtyPTTKgkkV1KUfXRSUgWvXwSC5hrX4Qi31?= =?iso-8859-1?Q?fnheizAFxCj1uMHr10pOuV0kr4IZr9QRKVo6JhOybLpBmA7uISwYbvIpIC?= =?iso-8859-1?Q?7IeK3qDvOCi8xxnYCeqZKrTpIneGZZddHNSmh30CTLDRr7N12dzhWA8O3U?= =?iso-8859-1?Q?Yxm9Jg+67/k+79rjoHAELsK+Bhyuvz9JhoJcQvbWJBH6qyE8zxeaphrqBe?= =?iso-8859-1?Q?HR4UduLobOa1nH7WtVeslqQoMRxJhAosGM64l6bgDpvrHWc=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB3567C324401F4E510BBDCC8B9FEA9MN2PR13MB3567namp_"
MIME-Version: 1.0
X-OriginatorOrg: rkf-eng.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR13MB3567.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8bb2b746-38f8-4042-5165-08d95166d43a
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2021 01:27:13.6842 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4ed8b15b-911f-42bc-8524-d89148858535
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: msPFNwx/L3zst5onG426jXHqpjqXdQjf2Npqfqqo3ukNN2iLAU11OSvFAATwOQZHpFlK0aDCytACGQqZ9r7tYA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3294
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/rZ0OjEPdfP8tzFgH8SCOUkPs_kI>
Subject: Re: [COSE] Looking for COSE libraries and open source implementations
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2021 01:27:23 -0000

--_000_MN2PR13MB3567C324401F4E510BBDCC8B9FEA9MN2PR13MB3567namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Gabriel,
For prototyping and higher-level use there is a Python library "cose" [1] w=
ith a same-named PyPi package [2] which has good test coverage and a quite =
robust and extensible API, though the API has gone through recent changes.
As Michael mentioned, the use of COSE, and the API needed to write or read =
COSE messages, is very application dependent (e.g., how many layers of key =
indirection is acceptable or required).

[1] https://github.com/TimothyClaeys/pycose
[2] https://pypi.org/project/cose/


Hi Folks,

I'm looking at COSE versus more traditional alternatives, pros and cons, an=
d
a huge cons would be access to open source implementations and libraries.

Anybody know of a good source of information about COSE libraries and open
source implementations?

I'm aware of https://github.com/cose-wg, which has some good pointers, but
they appear somewhat outdated.

Thanks for any hints.

Gabriel

--_000_MN2PR13MB3567C324401F4E510BBDCC8B9FEA9MN2PR13MB3567namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Gabriel,</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
For prototyping and higher-level use there is a Python library &quot;cose&q=
uot;<span style=3D"background-color:rgb(255, 255, 255);display:inline !impo=
rtant"><span>&nbsp;</span>[1]</span>&nbsp;with a same-named PyPi package [2=
] which has good test coverage and a quite robust and
 extensible API, though the API has gone through recent changes.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
As Michael mentioned, the use of COSE, and the API needed to write or read =
COSE messages, is very application dependent (e.g., how many layers of key =
indirection is acceptable or required).</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
[1]&nbsp;<a href=3D"https://github.com/TimothyClaeys/pycose" id=3D"LPlnk">h=
ttps://github.com/TimothyClaeys/pycose</a></div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
[2]&nbsp;<a href=3D"https://pypi.org/project/cose/" id=3D"LPlnk">https://py=
pi.org/project/cose/</a></div>
<div class=3D"_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_=
1"></div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<blockquote itemscope=3D"" itemtype=3D"https://schemas.microsoft.com/Quoted=
Text" style=3D"border-left: 3px solid rgb(200, 200, 200); border-top-color:=
 rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-=
color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex; color: rg=
b(102, 102, 102);">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<pre class=3D"wordwrap" style=3D"box-sizing:border-box;font-family:SFMono-R=
egular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier=
 New&quot;, monospace;font-size:12.25px;margin-top:0px;margin-bottom:1rem;o=
verflow:auto;display:block;color:rgb(33, 37, 41);text-align:left;background=
-color:rgb(255, 255, 255)">Hi Folks,=0A=
=0A=
I'm looking at COSE versus more traditional alternatives, pros and cons, an=
d=0A=
a huge cons would be access to open source implementations and libraries.=
=0A=
=0A=
Anybody know of a good source of information about COSE libraries and open=
=0A=
source implementations?=0A=
=0A=
I'm aware of <a href=3D"https://github.com/cose-wg" rel=3D"nofollow" style=
=3D"box-sizing:border-box;color:rgb(51, 122, 183)">https://github.com/cose-=
wg</a>, which has some good pointers, but=0A=
they appear somewhat outdated. =0A=
=0A=
Thanks for any hints.=0A=
=0A=
Gabriel</pre>
</div>
</blockquote>
</body>
</html>

--_000_MN2PR13MB3567C324401F4E510BBDCC8B9FEA9MN2PR13MB3567namp_--


From nobody Tue Jul 27 18:32:32 2021
Return-Path: <g_e_montenegro@yahoo.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 177BB3A1568 for <cose@ietfa.amsl.com>; Tue, 27 Jul 2021 18:32:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 OchQFk4AItIZ for <cose@ietfa.amsl.com>; Tue, 27 Jul 2021 18:32:25 -0700 (PDT)
Received: from sonic309-15.consmr.mail.bf2.yahoo.com (sonic309-15.consmr.mail.bf2.yahoo.com [74.6.129.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E1CE3A1566 for <cose@ietf.org>; Tue, 27 Jul 2021 18:32:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1627435943; bh=IEZJYFQw0mdofZlGInTXP3qaw7B/jlbhmC1B3ImFiyo=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=LJqBPKgEbY/LLK3CqQvgofe6Rj9T0c89MiMeFzs24x8QmrRTcu+cM6uLFHncBU8Jg6fCyMcIUs6T4D2qbag4xAUOf/sN2JLlT8gmKRiAV6M+Lp6lpcvt0G+Bj6Eugq3QW4p+X6jpq5e4Gqm718B7gQLAyJy3t0WYSLRb09iNkkLR7qyYSKBBYa2Q2BPYiX/0pXj57mOQdyyNdZYxIXenmMEdNd0UXNSHufDQ6oRxsEm7nlBFdwR6PvPJL4aAS9mTC92NLkvhd5W/RXTrbnKGCDc17/JxH/EzzeAXNsBl7a0QEfWLqiZW4pzh8ABIbi9fvZ+NekcemyeO/o2uDz1VtA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;  t=1627435943; bh=0NOCC3yZDnI7CmCJ+JpWJqaErxJ4wnS+8mG/0DoYM7N=;  h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=kwXlgmFu+AAm+dAbV0w7Q6soemv1DuGiYUJHjmVG/M1wR3qxLV3AjB99hJrcabeV8ubrzPdh7vg5ZGgOKHsfaAKw2ET1Isz99haOizj8Ar66W+RekFVb5l7drjznzQmvMx76aiapK3ygkfyz0RbksHr1sS0usWwNAAOhZqdqJwOcJDxhjW4DmD+7QsnTLnD1fWFYPUpha0e5kW8nyko9m0mdOne/Z4adPH2TM116aTMYCwOnhMT+hyf/OANvj51GoT4PPlUkpyADQuOz4p1QszUWP7vF1N7IlfOgCzv0iIznLlR5LG5/d8n2bF8e9sX5S8KsjonBboG76iVqoT6Xlw==
X-YMail-OSG: sNDgeTYVM1nhelPjUSJinLwie6jYtDhceggMA8cG8AeKqe3PAR8vhD.YWiEu6zm F0WMqIp_6DQ89jyuPMDnJTfnLhXI0hsCObCHWex_1R1eUQ5Iij7jFOoNPC.idDkgv8jYoNe2cklR nw.HbETvfOxRYCbt1O3a8FNtVAeHuSRnWtaAKh8To3iRjEs5sC.WMXU9F_xKM1gbPUWhNY53AFQd Xh7jtoRs2Llt12vRXzHy92IOH7QLvVVHmlfHDkqa1yh3HV94dE_XRRVLV8ahMknSC9Uf0LNKACYw V6QC5754zi75qbvr_Khd0NNmX8gwdWvWLOn.DA8CeHgvLlj9vNUI70owvRo4n4Heoz6e7DLAFrpD 7M7f8T.hIT2I6pzKQu9nGz.8lJfagCF8Mc_kkfQTpO8ciE9rwZRoAOx.vTeYVCL5WEtAJFILv.iN 40.WJ4.p0.jZbSqaEax0dJn5tltZ8hvNuXKez0nWdsb9LA7gNMaTyS4qcaE_wbas_KDQGgAzJez1 bJ6EV77kFng8fKiqNU_j_rtUIPqkby7hIsC16cDu1eOOb3599zTmlM617mArJK9OP8Tio644NNtm xE_nVoEi4wO4s9X34gBmCgU1a99aV51z6hIUaPxDkBQe7W1bmnF458J9gx4mECkT9HpXLUhgJ9aS 7Al0wjohELnzE_2ZC9JdHc87Zam0PWOm77bheRbdFeqixtfhz9uejz9v82lVc.xfpIDJ_YqJGXBf kj3tA_rqKMuUtsAW._WKgwfyxMVloxgkz7yl9ikUpJywMhD5VPNQwRjtaYXemcloN6.kNP_AFWWW H0hhTpV9_XMXC8kPrVS3RzbZ3d2dbGTzQ_lOFfZ7_vjuV13XRy.kBcb6bK0eI1YeQ9jv1Gql81CS TMFZK5n_CxTHbQTMANC0DIGm5nlBo3E_Yn6N1pcaRAPx2eutffdI61QM_V8jaPsCKEdyybPmLEQR RLSxgkoAmbMbMXXtfr0S9rqG8JnFPyZ3Y7dsUKmL0VeIlstc462P5tpXgyc_b6RD0KMZojZXh_6t Pm7onyuWuczLaMy0pNVmMq2lqXnmwVS3qtHximj8fsMP0T6EekrFEnSDrbXijVEcWSKzo4UrYt3C FD.Zwz6Js5U5fN0fzM36RO5upoNk9IruC_rvW0WH3tErGx7AJGYODq29tj6u2F63DrYXY8obf1IJ WS.EO.f_5C6Fk.T.MkUe7tna3FWzKjF1vNOoEVliZ2gBodej1XDb3k5BYX4GvfIUQQdsgxKDfx3c xReqlowWmaS7fvsrhRlkbdbhQHPY1oqASWTI8jfdX8XEI2ENb6HXXnTtdJsidDW8LbKzEO4o.aKb Wg3mVv85ySGcN58aAASmw4igVCf2ahfwsAjb4nCIpHLbzrVx3UhckX0HiCAkeckTSg9hj5ajBHgI b4pf7yUMqzIjCpCA2nuCnSKDUWFOHhuTx9rfuBuwUQt5RFDWSZFjbGyVGPGTLn6qfDFkzGQvUUWE jKxb1AKW0aUPGge_XVFZ3SLvqVtsAMYRd9ZOtFMccqS7QdkMCJ4guu5Q7We9_shGBy0Oe_2dPF7C Bd6KsCYudML.cAn1zZr.BtHJ76STNvU0z2cPIoaT54JoOCekJTgjKKD7X6WaxRsTxFG4w0lqtmat c0c7q3lOz49jqmIkeVQMbFzMxOY4fQsGI__rZ7bBdcwsKtXp7hmk9Ygo4RyEBoCylHIMUTjZZJy3 tSe6v6OEV9JyCfp7u.EBNMpU1.RegKpNiC37Fsng6NRCKaWAoWGS8hoxbKWeNZcDH0FTlzFCKpdI Ov1pjcaYbSexAy.2spJIfHWE6_VvNTnynQIvrohG8y5DzhgUJPqmUTqOp.dpeQTDOInUX_6piM6l 2tDlWBM7FEhG_ya0S1_yh6Q6y_RvCwdZzm6qyZKL3_iwk4dE483ScaP75kktvN_7_YExCGrGIaZ0 daVsAtQ2RgO64fZKkcLRLZndbiyoVhz6g26UajDM6kN53DZOJHgKnQJqMqLYYXoxRQqynzWn_cab h7Czl_SeliPtq5t45iDPQnmld_7T151M7lHF2KMnyLUuojNrMJeKQfEIPthadz817PdBq2iuCX5e MSUPZmdk6Bf.69FUW0Kc6YFDyWt1WSeiwZc9b8gzm8AJHIBymlYDuKYCtYOJ9tCNP8tna9pLjHjQ HmSLi.N46QV8jHpNfQMEsxfs5go_Hw2Z1oUDT9YcImxqkL.ARcPM6BWWMvPE25pwEj646DoFv1.R eeglfGqP1JTQTyrplzNUFmSCyNCQec2W_al_sKTrVDAmw7y6p7oXdyWfJonct0gdPzMPuK926ot5 nPEKQUxawyBlYHe6Ts5wYBCziGjvQoY5aLka_xjPqWXoOG50LFzG8kp9.LW2avan7HVRPl8fWUZS 63hbQOpaakZIYzh10IIPxXqnteubUciVqsIXb6OhA_3q4NIjkpzlblyEJV6CYq4g1licoM1CUYhG KhnvRIE2_qxtGNfAQ6NHN2ru.mARQ_T4d1FXa7932ELJ6RPLQeC3sarkKqptXZWgWBKXoEIJ1eSV 5nkXyiXssaRcmQe8JZ9UEYf4J7ohV5Lcuq838DaqMmA--
X-Sonic-MF: <g_e_montenegro@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Wed, 28 Jul 2021 01:32:23 +0000
Date: Wed, 28 Jul 2021 01:32:19 +0000 (UTC)
From: "g_e_montenegro@yahoo.com" <g_e_montenegro@yahoo.com>
To: "cose@ietf.org" <cose@ietf.org>, Brian Sipos <BSipos@rkf-eng.com>
Message-ID: <869209811.295203.1627435939660@mail.yahoo.com>
In-Reply-To: <MN2PR13MB3567C324401F4E510BBDCC8B9FEA9@MN2PR13MB3567.namprd13.prod.outlook.com>
References: <MN2PR13MB3567C324401F4E510BBDCC8B9FEA9@MN2PR13MB3567.namprd13.prod.outlook.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;  boundary="----=_Part_295202_1045665578.1627435939658"
X-Mailer: WebService/1.1.18749 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/nNxOC2wgZdbbdCPM2Y68CQljabI>
Subject: Re: [COSE] Looking for COSE libraries and open source implementations
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2021 01:32:30 -0000

------=_Part_295202_1045665578.1627435939658
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

 Thanks, Brian and Michael!
    On Tuesday, July 27, 2021, 09:27:31 PM EDT, Brian Sipos <bsipos@rkf-eng=
.com> wrote: =20
=20
  #yiv2503599085 P {margin-top:0;margin-bottom:0;}Gabriel,For prototyping a=
nd higher-level use there is a Python library "cose"=C2=A0[1]=C2=A0with a s=
ame-named PyPi package [2] which has good test coverage and a quite robust =
and extensible API, though the API has gone through recent changes.As Micha=
el mentioned, the use of COSE, and the API needed to write or read COSE mes=
sages, is very application dependent (e.g., how many layers of key indirect=
ion is acceptable or required).
[1]=C2=A0https://github.com/TimothyClaeys/pycose[2]=C2=A0https://pypi.org/p=
roject/cose/

Hi Folks,

I'm looking at COSE versus more traditional alternatives, pros and cons, an=
d
a huge cons would be access to open source implementations and libraries.

Anybody know of a good source of information about COSE libraries and open
source implementations?

I'm aware of https://github.com/cose-wg, which has some good pointers, but
they appear somewhat outdated.=20

Thanks for any hints.

Gabriel
_______________________________________________
COSE mailing list
COSE@ietf.org
https://www.ietf.org/mailman/listinfo/cose
 =20
------=_Part_295202_1045665578.1627435939658
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html><head></head><body><div class="ydp38d4b2b7yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div></div>
        <div dir="ltr" data-setdir="false">Thanks, Brian and Michael!</div><div><br></div>
        
        </div><div id="yahoo_quoted_8140356534" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Tuesday, July 27, 2021, 09:27:31 PM EDT, Brian Sipos &lt;bsipos@rkf-eng.com&gt; wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv2503599085">

 
<style type="text/css">#yiv2503599085 P {margin-top:0;margin-bottom:0;}</style>

<div dir="ltr">
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">
Gabriel,</div>
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">
For prototyping and higher-level use there is a Python library "cose"<span style="background-color:rgb(255, 255, 255);display:inline !important;"><span>&nbsp;</span>[1]</span>&nbsp;with a same-named PyPi package [2] which has good test coverage and a quite robust and
 extensible API, though the API has gone through recent changes.</div>
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">
As Michael mentioned, the use of COSE, and the API needed to write or read COSE messages, is very application dependent (e.g., how many layers of key indirection is acceptable or required).</div>
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">
<br>
</div>
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">
[1]&nbsp;<a rel="nofollow noopener noreferrer" target="_blank" href="https://github.com/TimothyClaeys/pycose" id="yiv2503599085LPlnk">https://github.com/TimothyClaeys/pycose</a></div>
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">
[2]&nbsp;<a rel="nofollow noopener noreferrer" target="_blank" href="https://pypi.org/project/cose/" id="yiv2503599085LPlnk">https://pypi.org/project/cose/</a></div>
<div class="yiv2503599085_Entity yiv2503599085_EType_OWALinkPreview yiv2503599085_EId_OWALinkPreview yiv2503599085_EReadonly_1"></div>
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">
<br>
</div>
<blockquote itemscope="" itemtype="https://schemas.microsoft.com/QuotedText" style="border-left:3px solid rgb(200, 200, 200);border-top-color:rgb(200, 200, 200);border-right-color:rgb(200, 200, 200);border-bottom-color:rgb(200, 200, 200);padding-left:1ex;margin-left:0.8ex;color:rgb(102, 102, 102);">
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">
<pre class="yiv2503599085wordwrap" style="font-family:SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-size:12.25px;margin-top:0px;overflow:auto;display:block;color:rgb(33, 37, 41);text-align:left;background-color:rgb(255, 255, 255);">Hi Folks,

I'm looking at COSE versus more traditional alternatives, pros and cons, and
a huge cons would be access to open source implementations and libraries.

Anybody know of a good source of information about COSE libraries and open
source implementations?

I'm aware of <a rel="nofollow noopener noreferrer" target="_blank" href="https://github.com/cose-wg" style="color:rgb(51, 122, 183);">https://github.com/cose-wg</a>, which has some good pointers, but
they appear somewhat outdated. 

Thanks for any hints.

Gabriel</pre>
</div>
</blockquote>
</div>

</div>_______________________________________________<br>COSE mailing list<br><a ymailto="mailto:COSE@ietf.org" href="mailto:COSE@ietf.org">COSE@ietf.org</a><br><a href="https://www.ietf.org/mailman/listinfo/cose" target="_blank">https://www.ietf.org/mailman/listinfo/cose</a><br></div>
            </div>
        </div></body></html>
------=_Part_295202_1045665578.1627435939658--


From nobody Wed Jul 28 04:45:39 2021
Return-Path: <ajitomi@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD4903A0A6D for <cose@ietfa.amsl.com>; Wed, 28 Jul 2021 04:45:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 JQ-HXBvWhkLF for <cose@ietfa.amsl.com>; Wed, 28 Jul 2021 04:45:36 -0700 (PDT)
Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C61703A0A6C for <cose@ietf.org>; Wed, 28 Jul 2021 04:45:35 -0700 (PDT)
Received: by mail-ed1-x531.google.com with SMTP id u12so2793991eds.2 for <cose@ietf.org>; Wed, 28 Jul 2021 04:45:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=6206imxhOM1QBBMaZC8klizeJP9Fqc3kTo5gO5H/Ja0=; b=FKi9Vx8IDBk4SMXiOSnBHDUMPIO8B/uwlp7kW491/1WcjAHA11uc28unGF8kum9ti5 qUBuSIVoULQYuTib/GF5loYVGWIFiCBBCnDPTR1gp5caGqNdIOiBYtG/PD36OBs3Sqm3 Tk4wtxeT6VAe2dW11muykBmo1tLRC4XtJzBnOlr38X6zVMczMrN+FJwEatChmf/as42O QQtyAKO+TwkOfqpKLLQHGNEQBKSI/sRAPRBSHYFp21vrEKxFicPM8MUv0bmXhzdQ8cgf YSwxaV86BD8I1I0C5imlq30nfPKLirtPaWIGIFktqMrIBTAGbSJjuB9N18knmK2RGnR5 zvrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6206imxhOM1QBBMaZC8klizeJP9Fqc3kTo5gO5H/Ja0=; b=OPOgDk/J+KKgZHezq89dK0hwI0B/dFGEIz/8KzsIpEcIcyQGsqxORrAJUikyza7/pI EWDAfQX8jgvIEMPMFUpkXRBBkEV0PN+bz4Afj889zkNGlPkF08rfBNOwV5qs2DJqLGyR DuBkE3o7G/tOPSKtHPp3qdtuyfjBa+zmgcMfEHQrvTB86WhMVYOMLFPWvpAj+biWhdML Hd+JH+saYaLCuQlRoiZjSngpb83kFJW09H2eM5rGascnxDATQ455HWNgSzcy9/CJ9vxR STcN+W2uOWlbG2JxA/T/j6ZxsSuVBwRA8yzKLUYYmoOLEjTDrP2xckYJmN8jesGLQCtC N5hA==
X-Gm-Message-State: AOAM533F+hnV7C4oSGeZGK0It0kjqWC0GTKpw4ifc2/25OUEqgVXl6hV Lhe35BKQ9tptANkmzJs+swXQfSN9lJSWTRDW09QQLd0Y+EC3
X-Google-Smtp-Source: ABdhPJwC0hH96oXE+eWurAY1YTKeR/chyimb8OxJ3eZ/iIDkC8jJyOklGIA72vvFuLStoCfOxsj+cbfA7+tX11UCbAA=
X-Received: by 2002:a05:6402:7d3:: with SMTP id u19mr16687202edy.188.1627472732349;  Wed, 28 Jul 2021 04:45:32 -0700 (PDT)
MIME-Version: 1.0
From: AJITOMI Daisuke <ajitomi@gmail.com>
Date: Wed, 28 Jul 2021 20:45:21 +0900
Message-ID: <CAFWvErVLfud5ffyzKdBJmzm7Wj+=osfZ0u7tKVpniicZDYqjxg@mail.gmail.com>
To: cose@ietf.org
Content-Type: multipart/alternative; boundary="00000000000017e53205c82d8691"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/QfbFcXkog2lkK3v8l8HAV8pjLKg>
Subject: [COSE] tstr values for kty, alg, crv, etc.
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2021 11:45:38 -0000

--00000000000017e53205c82d8691
Content-Type: text/plain; charset="UTF-8"

Hi folks,

I am an open source CWT/COSE library (Python CWT:
https://github.com/dajiaji/python-cwt) implementer.
I've already implemented most of the functionality of COSE and CWT, but
there are a few things I would like to clarify.

One of the questions I have is the 'tstr' values for 'kty', 'alg', 'crv',
or 'key_ops' which have the type definition "tstr / int".

At first, I thought "Name" values defined in the IANA registries should be
used, but for example, RFC8152 (Section 16.2) says as follows:

"Name: The name is present to make it easier to refer to and discuss the
registration entry. The value is not used in the protocol."

In my opinion, the tstr type for 'kty', 'alg', 'crv' or 'key_ops' is not
necessary because I think the major advantage of COSE is its
compactness,but I would like to know what you are assuming as the value of
tstr.

I apologize if this topic has already been discussed.

Regards,
Daisuke

--00000000000017e53205c82d8691
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi folks,<br><br>I am an open source CWT/COSE library (Pyt=
hon CWT: <a href=3D"https://github.com/dajiaji/python-cwt">https://github.c=
om/dajiaji/python-cwt</a>) implementer.<br>I&#39;ve already implemented mos=
t of the functionality of COSE and CWT, but there are a few things I would =
like to clarify.<br><br>One of the questions I have is the &#39;tstr&#39; v=
alues for &#39;kty&#39;, &#39;alg&#39;, &#39;crv&#39;, or &#39;key_ops&#39;=
 which have the type definition &quot;tstr / int&quot;.<br><br>At first, I =
thought &quot;Name&quot; values defined in the IANA registries should be us=
ed, but for example, RFC8152 (Section 16.2) says as follows: <br><br>&quot;=
Name: The name is present to make it easier to refer to and discuss the reg=
istration entry. The value is not used in the protocol.&quot;<br><br>In my =
opinion, the tstr type for &#39;kty&#39;, &#39;alg&#39;, &#39;crv&#39; or &=
#39;key_ops&#39; is not necessary because I think the major advantage of CO=
SE is its compactness,but I would like to know what you are assuming as the=
 value of tstr.<div><br></div><div>I apologize if this topic has already be=
en discussed.</div><div><div><br></div><div><div>Regards,</div><div>Daisuke=
<br></div></div></div></div>

--00000000000017e53205c82d8691--


From nobody Wed Jul 28 05:47:43 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 401743A0DC1 for <cose@ietfa.amsl.com>; Wed, 28 Jul 2021 05:47:42 -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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 h8mXjaweoh6u for <cose@ietfa.amsl.com>; Wed, 28 Jul 2021 05:47:37 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E5403A0DBF for <cose@ietf.org>; Wed, 28 Jul 2021 05:47:37 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GZYN5319bz31MY; Wed, 28 Jul 2021 14:47:33 +0200 (CEST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_C36E9960-5508-46FF-B63C-773F24556CDB"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAFWvErVLfud5ffyzKdBJmzm7Wj+=osfZ0u7tKVpniicZDYqjxg@mail.gmail.com>
Date: Wed, 28 Jul 2021 14:47:33 +0200
Cc: cose@ietf.org
X-Mao-Original-Outgoing-Id: 649169253.0615619-79b9546948341307f4142752fcb60e81
Message-Id: <815DB7E9-555A-4A7D-B3DE-CC807DE3A222@tzi.org>
References: <CAFWvErVLfud5ffyzKdBJmzm7Wj+=osfZ0u7tKVpniicZDYqjxg@mail.gmail.com>
To: AJITOMI Daisuke <ajitomi@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/fWB-WDJv7aacql4xI8Q3fC7o9SY>
Subject: Re: [COSE] tstr values for kty, alg, crv, etc.
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2021 12:47:42 -0000

--Apple-Mail=_C36E9960-5508-46FF-B63C-773F24556CDB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Daisuke,

> On 2021-07-28, at 13:45, AJITOMI Daisuke <ajitomi@gmail.com> wrote:
>=20
> In my opinion, the tstr type for 'kty', 'alg', 'crv' or 'key_ops' is =
not necessary because I think the major advantage of COSE is its =
compactness,but I would like to know what you are assuming as the value =
of tstr.

The registrant gets the choice between a text string and an integer.

https://www.iana.org/assignments/cose/cose.xhtml lists the registration =
procedures for certain ranges, e.g.:

https://www.iana.org/assignments/cose/cose.xhtml#algorithms

Range 	Registration Procedures=20
Strings of length 1	Standards Action With Expert Review
Integer values between -256 and 255	Standards Action With Expert =
Review
Strings of length 2	Specification Required
Integer values from 256 to 65535	Specification Required
Integer values from -65536 to -257	Specification Required
Strings of length greater than 2	Expert Review
Integer values greater than 65535	Expert Review

So labels the representations of which would be 1+0 and 1+1 bytes long =
require standards action, 1+2, specification required, and 1+>2, expert =
review.

It doesn=E2=80=99t look like anyone has felt a need to register a text =
string label for an algorithm ID yet; there are still quite a few 1+1 =
(and even a few 1+0!) values available for registration.

I would expect that, until we run out of codepoints, the registration of =
text labels will remain an occurrence for special circumstances (which =
means we might not be prepared for text labels when we finally actually =
need them).

Gr=C3=BC=C3=9Fe, Carsten


--Apple-Mail=_C36E9960-5508-46FF-B63C-773F24556CDB
Content-Type: multipart/related; type="text/html";
 boundary="Apple-Mail=_33E64115-E62C-4A24-8E30-5483BE5F9294"


--Apple-Mail=_33E64115-E62C-4A24-8E30-5483BE5F9294
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;">Hi Daisuke,<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">On 2021-07-28, at 13:45, =
AJITOMI Daisuke &lt;<a href=3D"mailto:ajitomi@gmail.com" =
class=3D"">ajitomi@gmail.com</a>&gt; wrote:<br class=3D""><br =
class=3D"">In my opinion, the tstr type for 'kty', 'alg', 'crv' or =
'key_ops' is not necessary because I think the&nbsp;major advantage of =
COSE is its compactness,but I would like to know what you are assuming =
as&nbsp;the value of tstr.<br class=3D""></blockquote><br class=3D""><div =
class=3D"">The registrant gets the choice between a text string and an =
integer.</div><div class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://www.iana.org/assignments/cose/cose.xhtml" =
class=3D"">https://www.iana.org/assignments/cose/cose.xhtml</a> lists =
the registration procedures for certain ranges, e.g.:</div><div =
class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://www.iana.org/assignments/cose/cose.xhtml#algorithms" =
class=3D"">https://www.iana.org/assignments/cose/cose.xhtml#algorithms</a>=
</div><div class=3D""><br class=3D""></div><div class=3D"">Range&nbsp;<img=
 style=3D"border-style: none; vertical-align: middle;" =
apple-inline=3D"yes" id=3D"235F5BA1-2606-4DB4-8D7B-DD3DAD1CCDB5" =
src=3D"cid:59334E33-1038-4E0E-A805-E5A37F8A1904@Speedport_W_724V_09011603_=
06_007" class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>Registration Procedures&nbsp;<img =
style=3D"border-style: none; vertical-align: middle;" apple-inline=3D"yes"=
 id=3D"CF3AD99B-855E-4173-A86D-83AFBC2D00E1" =
src=3D"cid:59575613-D8CA-4462-93C3-100AF03A3247@Speedport_W_724V_09011603_=
06_007" class=3D""><br class=3D"">Strings of length 1<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>Standards =
Action With Expert Review<br class=3D"">Integer values between -256 and =
255<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Standards Action With Expert Review<br class=3D"">Strings of =
length 2<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Specification Required<br class=3D"">Integer values from 256 to =
65535<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Specification Required<br class=3D"">Integer values from -65536 =
to -257<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Specification Required<br class=3D"">Strings of length greater =
than 2<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Expert Review<br class=3D"">Integer values greater than =
65535<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Expert Review</div><div class=3D""><br class=3D""></div><div =
class=3D"">So labels the representations of which would be 1+0 and 1+1 =
bytes long require standards action, 1+2, specification required, and =
1+&gt;2, expert review.</div><div class=3D""><br class=3D""></div><div =
class=3D"">It doesn=E2=80=99t look like anyone has felt a need to =
register a text string label for an algorithm ID yet; there are still =
quite a few 1+1 (and even a few 1+0!) values available for =
registration.</div><div class=3D""><br class=3D""></div><div class=3D"">I =
would expect that, until we run out of codepoints, the registration of =
text labels will remain an occurrence for special circumstances (which =
means we might not be prepared for text labels when we finally actually =
need them).</div><div class=3D""><br class=3D""></div><div =
class=3D"">Gr=C3=BC=C3=9Fe, Carsten<br class=3D""><br =
class=3D""></div></body></html>=

--Apple-Mail=_33E64115-E62C-4A24-8E30-5483BE5F9294
Content-Transfer-Encoding: base64
Content-Disposition: inline;
	filename=sort_none.gif
Content-Type: image/gif;
	x-unix-mode=0666;
	name="sort_none.gif"
Content-Id: <59334E33-1038-4E0E-A805-E5A37F8A1904@Speedport_W_724V_09011603_06_007>

R0lGODlhDgAMAPcuAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4O
Dg8PDxAQEBERERISEhMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyAgICEh
ISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0
NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdH
R0hISElJSUpKSktLS0xMTE1NTU5OTk9PT1BQUFFRUVJSUlNTU1RUVFVVVVZWVldXV1hYWFlZWVpa
WltbW1xcXF1dXV5eXl9fX2BgYGFhYWJiYmNjY2RkZGVlZWZmZmdnZ2hoaGlpaWpqamtra2xsbG1t
bW5ubm9vb3BwcHFxcXJycnNzc3R0dHV1dXZ2dnd3d3h4eHl5eXp6ent7e3x8fH19fX5+fn9/f4CA
gIGBgYKCgoODg4SEhIWFhYaGhoeHh4iIiImJiYqKiouLi4yMjI2NjY6Ojo+Pj5CQkJGRkZKSkpOT
k5SUlJWVlZaWlpeXl5iYmJmZmZqampubm5ycnJ2dnZ6enp+fn6CgoKGhoaKioqOjo6SkpKWlpaam
pqenp6ioqKmpqaqqqqurq6ysrK2tra6urq+vr7CwsLGxsbKysrOzs7S0tLW1tba2tre3t7i4uLm5
ubq6uru7u7y8vL29vb6+vr+/v8DAwMHBwcLCwsPDw8TExMXFxcbGxsfHx8jIyMnJycrKysvLy8zM
zM3Nzc7Ozs/Pz9DQ0NHR0dLS0tPT09TU1NXV1dbW1tfX19jY2NnZ2dra2tvb29zc3N3d3d7e3t/f
3+Dg4OHh4eLi4uPj4+Tk5OXl5ebm5ufn5+jo6Onp6erq6uvr6+zs7O3t7e7u7u/v7/Dw8PHx8fLy
8vPz8/T09PX19fb29vf39/j4+Pn5+fr6+vv7+/z8/P39/f7+/v///yH5BAEKAP8AIf4VQ3JlYXRl
ZCB3aXRoIFRoZSBHSU1QACwCAAAADAAMAAAIMQDhCBxIcOC/gwgTCvxXcCFDOAcLInT4EOJEixET
PtSIceNFjBQlemwIkaLGiCQLBgQAOw==
--Apple-Mail=_33E64115-E62C-4A24-8E30-5483BE5F9294
Content-Transfer-Encoding: base64
Content-Disposition: inline;
	filename=sort_up.gif
Content-Type: image/gif;
	x-unix-mode=0666;
	name="sort_up.gif"
Content-Id: <59575613-D8CA-4462-93C3-100AF03A3247@Speedport_W_724V_09011603_06_007>

R0lGODlhDAAOAOcuAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4O
Dg8PDxAQEBERERISEhMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyAgICEh
ISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0
NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdH
R0hISElJSUpKSktLS0xMTE1NTU5OTk9PT1BQUFFRUVJSUlNTU1RUVFVVVVZWVldXV1hYWFlZWVpa
WltbW1xcXF1dXV5eXl9fX2BgYGFhYWJiYmNjY2RkZGVlZWZmZmdnZ2hoaGlpaWpqamtra2xsbG1t
bW5ubm9vb3BwcHFxcXJycnNzc3R0dHV1dXZ2dnd3d3h4eHl5eXp6ent7e3x8fH19fX5+fn9/f4CA
gIGBgYKCgoODg4SEhIWFhYaGhoeHh4iIiImJiYqKiouLi4yMjI2NjY6Ojo+Pj5CQkJGRkZKSkpOT
k5SUlJWVlZaWlpeXl5iYmJmZmZqampubm5ycnJ2dnZ6enp+fn6CgoKGhoaKioqOjo6SkpKWlpaam
pqenp6ioqKmpqaqqqqurq6ysrK2tra6urq+vr7CwsLGxsbKysrOzs7S0tLW1tba2tre3t7i4uLm5
ubq6uru7u7y8vL29vb6+vr+/v8DAwMHBwcLCwsPDw8TExMXFxcbGxsfHx8jIyMnJycrKysvLy8zM
zM3Nzc7Ozs/Pz9DQ0NHR0dLS0tPT09TU1NXV1dbW1tfX19jY2NnZ2dra2tvb29zc3N3d3d7e3t/f
3+Dg4OHh4eLi4uPj4+Tk5OXl5ebm5ufn5+jo6Onp6erq6uvr6+zs7O3t7e7u7u/v7/Dw8PHx8fLy
8vPz8/T09PX19fb29vf39/j4+Pn5+fr6+vv7+/z8/P39/f7+/v///yH+FUNyZWF0ZWQgd2l0aCBU
aGUgR0lNUAAh+QQBCgD/ACwAAAAADAAMAAAINQDhCBxIcOC/gwgTCkzI8N/ChggfHgQAQCEchBQp
Rrz4L2PGgws9enTIESJJkyBLQizIUmBAADs=
--Apple-Mail=_33E64115-E62C-4A24-8E30-5483BE5F9294--

--Apple-Mail=_C36E9960-5508-46FF-B63C-773F24556CDB--


From nobody Wed Jul 28 13:07:10 2021
Return-Path: <ajitomi@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 86D0F3A1E35 for <cose@ietfa.amsl.com>; Wed, 28 Jul 2021 13:07:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level: 
X-Spam-Status: No, score=-2.096 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 OL_dn-_VZhnC for <cose@ietfa.amsl.com>; Wed, 28 Jul 2021 13:07:03 -0700 (PDT)
Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B401F3A1E32 for <cose@ietf.org>; Wed, 28 Jul 2021 13:07:02 -0700 (PDT)
Received: by mail-ej1-x634.google.com with SMTP id ga41so6494393ejc.10 for <cose@ietf.org>; Wed, 28 Jul 2021 13:07:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Fs/HTdyLuLjNdHYkdbTDnbYT6GQfqIpCHDIFBs6XehU=; b=JxHDzJ/ytDfNxhFYDt9W5QGL36QTNQfQOna/y+HYCi9RiaxJPHsH+4XHWmuklR9NZ2 chIfMfui/JjEbax6TuLdlSNFc8c4rhtz3/TosFLj7iVEANqwr78bThJK/SpMVLbI7Ibp nqQprwwaNaom5sfZtf8yJlBpexnJ5NM6QYBu5LRn/VXN02XpO2a6Oc8RjGWsXCw5zKzK nUe4QYsrXRQKyTdDibbY1UPMCSPlIOjTvu6g4ZiMvyYW/x+5wNOfHymVz5pm7Bqm8CIR suEORCIjNmWSm+b7XCBj58cJMg3/i+RjUGSDs2o+iuGvDyeRhNH7lB9HBCZRYogeEZaQ NJQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fs/HTdyLuLjNdHYkdbTDnbYT6GQfqIpCHDIFBs6XehU=; b=IkoJ8SrKtX4vz/minkgKBkuNETMvyQVEx7ZQZ2gzMHFOeXcmpo6nvxFaNaxhOiVVIt cAvrTUrs1cBhD7pHA/A2WibFF8FOPUQVyj+ojG0u5wOaloA6dWJB9iNn30gA8ecrw1Dz ahH8xigemtTUyx7+lSlZUeWXWxqdJu6604ymCvJ65ArAD77OoOkNullpAY1ys4QmlTgX SwE9D6+RselNClgY3IR1KP7ZDFd751mEOJcbBl7+S8DAvarjCPuokoW4fn37tIqsCfRo lq0uGwn9TCfNlPLDFuVmKf1HmiSeA7lvYNnMeXDQYmh6ppCRJ1++RWvrRL7nlr5DGBDM W6kg==
X-Gm-Message-State: AOAM533ZujN1vlQQCG6ly+sHj90/2sUjC8nLo8BrJ5S3yfHAg2VoUx42 vWRoNnWuhSsi+p1O/nnovpbzrP1hm4MxENLVhlc921jate1r
X-Google-Smtp-Source: ABdhPJxXwiCWQwaNyVnlZ6cATeJxYFSCR3ctDFKgX4jvGFh30oyhDBBiI9GtPY70s1sLeZw6NZ+UHCDBbHOhpwiKbEE=
X-Received: by 2002:a17:906:138d:: with SMTP id f13mr1188139ejc.34.1627502819500;  Wed, 28 Jul 2021 13:06:59 -0700 (PDT)
MIME-Version: 1.0
References: <CAFWvErVLfud5ffyzKdBJmzm7Wj+=osfZ0u7tKVpniicZDYqjxg@mail.gmail.com> <815DB7E9-555A-4A7D-B3DE-CC807DE3A222@tzi.org>
In-Reply-To: <815DB7E9-555A-4A7D-B3DE-CC807DE3A222@tzi.org>
From: AJITOMI Daisuke <ajitomi@gmail.com>
Date: Thu, 29 Jul 2021 05:06:48 +0900
Message-ID: <CAFWvErU2tNA=BoMCMX3tGVmbT0TCf4FC3FA+2J_MZx9Z+DpVog@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: cose@ietf.org
Content-Type: multipart/related; boundary="0000000000006f0b9605c8348773"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/khhCLxaMdIc83pb1dFMvPwL-kd4>
Subject: Re: [COSE] tstr values for kty, alg, crv, etc.
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2021 20:07:09 -0000

--0000000000006f0b9605c8348773
Content-Type: multipart/alternative; boundary="0000000000006f0b9505c8348772"

--0000000000006f0b9505c8348772
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Carsten,

Thanks for your quick reply.

> Strings of length 1 Standards Action With Expert Review
> Strings of length 2 Specification Required
> Strings of length greater than 2 Expert Review

I overlooked the above part of the IANA registry.
As for alg, my question was solved and I understood that tstr type values
are not the aliases of int type values but I doubt the necessity to support
tstr type values for alg, etc.
For a specific length value, the number of tstr-type values is much smaller
than that of int type values and I think the merit of introducing the tstr
type is relatively small (compared to the demerit of that).

> (which means we might not be prepared for text labels when we finally
actually need them).

At least my implementation supports only 'int' type and I don't know the
implementations which support tstr type alg. Considering the
interoperability, we'd better update the spec from "tstr / int" to "int"...

By the way, are kty, crv and key_ops the same as alg? At least for kty and
crv, there is no mention about text string in the IANA registry like the
above alg.

2021=E5=B9=B47=E6=9C=8828=E6=97=A5(=E6=B0=B4) 21:47 Carsten Bormann <cabo@t=
zi.org>:

> Hi Daisuke,
>
> On 2021-07-28, at 13:45, AJITOMI Daisuke <ajitomi@gmail.com> wrote:
>
> In my opinion, the tstr type for 'kty', 'alg', 'crv' or 'key_ops' is not
> necessary because I think the major advantage of COSE is its
> compactness,but I would like to know what you are assuming as the value o=
f
> tstr.
>
>
> The registrant gets the choice between a text string and an integer.
>
> https://www.iana.org/assignments/cose/cose.xhtml lists the registration
> procedures for certain ranges, e.g.:
>
> https://www.iana.org/assignments/cose/cose.xhtml#algorithms
>
> Range  Registration Procedures
> Strings of length 1 Standards Action With Expert Review
> Integer values between -256 and 255 Standards Action With Expert Review
> Strings of length 2 Specification Required
> Integer values from 256 to 65535 Specification Required
> Integer values from -65536 to -257 Specification Required
> Strings of length greater than 2 Expert Review
> Integer values greater than 65535 Expert Review
>
> So labels the representations of which would be 1+0 and 1+1 bytes long
> require standards action, 1+2, specification required, and 1+>2, expert
> review.
>
> It doesn=E2=80=99t look like anyone has felt a need to register a text st=
ring
> label for an algorithm ID yet; there are still quite a few 1+1 (and even =
a
> few 1+0!) values available for registration.
>
> I would expect that, until we run out of codepoints, the registration of
> text labels will remain an occurrence for special circumstances (which
> means we might not be prepared for text labels when we finally actually
> need them).
>
> Gr=C3=BC=C3=9Fe, Carsten
>
>

--0000000000006f0b9505c8348772
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Carsten,<div><br></div><div>Thanks for your quick reply=
.</div><div><br><div>&gt; Strings of length 1<span style=3D"white-space:pre=
-wrap">	</span>Standards Action With Expert Review<br>&gt; Strings of lengt=
h 2<span style=3D"white-space:pre-wrap">	</span>Specification Required<br>&=
gt; Strings of length greater than 2<span style=3D"white-space:pre-wrap">	<=
/span>Expert Review<br></div><br class=3D"gmail-Apple-interchange-newline">=
I overlooked the above part of the IANA registry.</div><div>As for alg, my =
question was solved and I understood that tstr type values are not the alia=
ses of int type values but I doubt the necessity to support tstr type value=
s for alg, etc.</div><div>For a specific length value, the number of tstr-t=
ype values is much smaller than that of int type values and I think the mer=
it of introducing the tstr type is relatively small (compared to the demeri=
t of that).</div><div><br></div><div>&gt; (which means we might not be prep=
ared for text labels when we finally actually need them).<br></div><div>=C2=
=A0<br></div><div>At least my implementation supports only &#39;int&#39; ty=
pe and I don&#39;t know the implementations which support tstr type alg. Co=
nsidering the interoperability, we&#39;d better update the spec from &quot;=
tstr / int&quot; to &quot;int&quot;...<br><br></div><div>By the way, are kt=
y, crv and key_ops the same as alg? At least for kty and crv, there is no m=
ention about text string in the IANA registry like the above alg.</div></di=
v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">2021=
=E5=B9=B47=E6=9C=8828=E6=97=A5(=E6=B0=B4) 21:47 Carsten Bormann &lt;<a href=
=3D"mailto:cabo@tzi.org">cabo@tzi.org</a>&gt;:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><div style=3D"overflow-wrap: break-word;">=
Hi Daisuke,<br><br><blockquote type=3D"cite">On 2021-07-28, at 13:45, AJITO=
MI Daisuke &lt;<a href=3D"mailto:ajitomi@gmail.com" target=3D"_blank">ajito=
mi@gmail.com</a>&gt; wrote:<br><br>In my opinion, the tstr type for &#39;kt=
y&#39;, &#39;alg&#39;, &#39;crv&#39; or &#39;key_ops&#39; is not necessary =
because I think the=C2=A0major advantage of COSE is its compactness,but I w=
ould like to know what you are assuming as=C2=A0the value of tstr.<br></blo=
ckquote><br><div>The registrant gets the choice between a text string and a=
n integer.</div><div><br></div><div><a href=3D"https://www.iana.org/assignm=
ents/cose/cose.xhtml" target=3D"_blank">https://www.iana.org/assignments/co=
se/cose.xhtml</a> lists the registration procedures for certain ranges, e.g=
.:</div><div><br></div><div><a href=3D"https://www.iana.org/assignments/cos=
e/cose.xhtml#algorithms" target=3D"_blank">https://www.iana.org/assignments=
/cose/cose.xhtml#algorithms</a></div><div><br></div><div>Range=C2=A0<img st=
yle=3D"border-style: none; vertical-align: middle;" id=3D"gmail-m_-14844990=
59794755672235F5BA1-2606-4DB4-8D7B-DD3DAD1CCDB5" src=3D"cid:17aee61dd60d356=
798f1"><span style=3D"white-space:pre-wrap">	</span>Registration Procedures=
=C2=A0<img style=3D"border-style: none; vertical-align: middle;" id=3D"gmai=
l-m_-1484499059794755672CF3AD99B-855E-4173-A86D-83AFBC2D00E1" src=3D"cid:17=
aee61dd60566ddbb22"><br>Strings of length 1<span style=3D"white-space:pre-w=
rap">	</span>Standards Action With Expert Review<br>Integer values between =
-256 and 255<span style=3D"white-space:pre-wrap">	</span>Standards Action W=
ith Expert Review<br>Strings of length 2<span style=3D"white-space:pre-wrap=
">	</span>Specification Required<br>Integer values from 256 to 65535<span s=
tyle=3D"white-space:pre-wrap">	</span>Specification Required<br>Integer val=
ues from -65536 to -257<span style=3D"white-space:pre-wrap">	</span>Specifi=
cation Required<br>Strings of length greater than 2<span style=3D"white-spa=
ce:pre-wrap">	</span>Expert Review<br>Integer values greater than 65535<spa=
n style=3D"white-space:pre-wrap">	</span>Expert Review</div><div><br></div>=
<div>So labels the representations of which would be 1+0 and 1+1 bytes long=
 require standards action, 1+2, specification required, and 1+&gt;2, expert=
 review.</div><div><br></div><div>It doesn=E2=80=99t look like anyone has f=
elt a need to register a text string label for an algorithm ID yet; there a=
re still quite a few 1+1 (and even a few 1+0!) values available for registr=
ation.</div><div><br></div><div>I would expect that, until we run out of co=
depoints, the registration of text labels will remain an occurrence for spe=
cial circumstances (which means we might not be prepared for text labels wh=
en we finally actually need them).</div><div><br></div><div>Gr=C3=BC=C3=9Fe=
, Carsten<br><br></div></div></blockquote></div>

--0000000000006f0b9505c8348772--

--0000000000006f0b9605c8348773
Content-Type: image/gif; name="sort_none.gif"
Content-Disposition: inline; filename="sort_none.gif"
Content-Transfer-Encoding: base64
Content-ID: <17aee61dd60d356798f1>
X-Attachment-Id: 17aee61dd60d356798f1

R0lGODlhDgAMAPcuAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4O
Dg8PDxAQEBERERISEhMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyAgICEh
ISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0
NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdH
R0hISElJSUpKSktLS0xMTE1NTU5OTk9PT1BQUFFRUVJSUlNTU1RUVFVVVVZWVldXV1hYWFlZWVpa
WltbW1xcXF1dXV5eXl9fX2BgYGFhYWJiYmNjY2RkZGVlZWZmZmdnZ2hoaGlpaWpqamtra2xsbG1t
bW5ubm9vb3BwcHFxcXJycnNzc3R0dHV1dXZ2dnd3d3h4eHl5eXp6ent7e3x8fH19fX5+fn9/f4CA
gIGBgYKCgoODg4SEhIWFhYaGhoeHh4iIiImJiYqKiouLi4yMjI2NjY6Ojo+Pj5CQkJGRkZKSkpOT
k5SUlJWVlZaWlpeXl5iYmJmZmZqampubm5ycnJ2dnZ6enp+fn6CgoKGhoaKioqOjo6SkpKWlpaam
pqenp6ioqKmpqaqqqqurq6ysrK2tra6urq+vr7CwsLGxsbKysrOzs7S0tLW1tba2tre3t7i4uLm5
ubq6uru7u7y8vL29vb6+vr+/v8DAwMHBwcLCwsPDw8TExMXFxcbGxsfHx8jIyMnJycrKysvLy8zM
zM3Nzc7Ozs/Pz9DQ0NHR0dLS0tPT09TU1NXV1dbW1tfX19jY2NnZ2dra2tvb29zc3N3d3d7e3t/f
3+Dg4OHh4eLi4uPj4+Tk5OXl5ebm5ufn5+jo6Onp6erq6uvr6+zs7O3t7e7u7u/v7/Dw8PHx8fLy
8vPz8/T09PX19fb29vf39/j4+Pn5+fr6+vv7+/z8/P39/f7+/v///yH5BAEKAP8AIf4VQ3JlYXRl
ZCB3aXRoIFRoZSBHSU1QACwCAAAADAAMAAAIMQDhCBxIcOC/gwgTCvxXcCFDOAcLInT4EOJEixET
PtSIceNFjBQlemwIkaLGiCQLBgQAOw==
--0000000000006f0b9605c8348773
Content-Type: image/gif; name="sort_up.gif"
Content-Disposition: inline; filename="sort_up.gif"
Content-Transfer-Encoding: base64
Content-ID: <17aee61dd60566ddbb22>
X-Attachment-Id: 17aee61dd60566ddbb22

R0lGODlhDAAOAOcuAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4O
Dg8PDxAQEBERERISEhMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyAgICEh
ISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0
NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdH
R0hISElJSUpKSktLS0xMTE1NTU5OTk9PT1BQUFFRUVJSUlNTU1RUVFVVVVZWVldXV1hYWFlZWVpa
WltbW1xcXF1dXV5eXl9fX2BgYGFhYWJiYmNjY2RkZGVlZWZmZmdnZ2hoaGlpaWpqamtra2xsbG1t
bW5ubm9vb3BwcHFxcXJycnNzc3R0dHV1dXZ2dnd3d3h4eHl5eXp6ent7e3x8fH19fX5+fn9/f4CA
gIGBgYKCgoODg4SEhIWFhYaGhoeHh4iIiImJiYqKiouLi4yMjI2NjY6Ojo+Pj5CQkJGRkZKSkpOT
k5SUlJWVlZaWlpeXl5iYmJmZmZqampubm5ycnJ2dnZ6enp+fn6CgoKGhoaKioqOjo6SkpKWlpaam
pqenp6ioqKmpqaqqqqurq6ysrK2tra6urq+vr7CwsLGxsbKysrOzs7S0tLW1tba2tre3t7i4uLm5
ubq6uru7u7y8vL29vb6+vr+/v8DAwMHBwcLCwsPDw8TExMXFxcbGxsfHx8jIyMnJycrKysvLy8zM
zM3Nzc7Ozs/Pz9DQ0NHR0dLS0tPT09TU1NXV1dbW1tfX19jY2NnZ2dra2tvb29zc3N3d3d7e3t/f
3+Dg4OHh4eLi4uPj4+Tk5OXl5ebm5ufn5+jo6Onp6erq6uvr6+zs7O3t7e7u7u/v7/Dw8PHx8fLy
8vPz8/T09PX19fb29vf39/j4+Pn5+fr6+vv7+/z8/P39/f7+/v///yH+FUNyZWF0ZWQgd2l0aCBU
aGUgR0lNUAAh+QQBCgD/ACwAAAAADAAMAAAINQDhCBxIcOC/gwgTCkzI8N/ChggfHgQAQCEchBQp
Rrz4L2PGgws9enTIESJJkyBLQizIUmBAADs=
--0000000000006f0b9605c8348773--


From nobody Wed Jul 28 13:50:28 2021
Return-Path: <lgl@island-resort.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5882E3A1F88 for <cose@ietfa.amsl.com>; Wed, 28 Jul 2021 13:50:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.894
X-Spam-Level: 
X-Spam-Status: No, score=-1.894 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 tUCwAgAywyFH for <cose@ietfa.amsl.com>; Wed, 28 Jul 2021 13:50:22 -0700 (PDT)
Received: from p3plsmtpa07-05.prod.phx3.secureserver.net (p3plsmtpa07-05.prod.phx3.secureserver.net [173.201.192.234]) (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 A7BE53A1F8B for <cose@ietf.org>; Wed, 28 Jul 2021 13:50:22 -0700 (PDT)
Received: from [192.168.0.100] ([71.92.144.145]) by :SMTPAUTH: with ESMTPSA id 8qVQm6Ich0LVM8qVQmw2yD; Wed, 28 Jul 2021 13:50:21 -0700
X-CMAE-Analysis: v=2.4 cv=JJ/+D+Gb c=1 sm=1 tr=0 ts=6101c30d a=E5cCtQzjhQJ5yJ7bKjC7Hg==:117 a=E5cCtQzjhQJ5yJ7bKjC7Hg==:17 a=gKmFwSsBAAAA:8 a=pGLkceISAAAA:8 a=I0CVDw5ZAAAA:8 a=48vgC7mUAAAA:8 a=c_kvtayOXd3qHdv-p4wA:9 a=QEXdDO2ut3YA:10 a=PtFgCIV0m5xhtFzs1iEA:9 a=2l8Rbuk2aaDfsJ_m:21 a=_W_S_7VecoQA:10 a=nnPW6aIcBuj1ljLj_o6Q:22 a=YdXdGVBxRxTCRzIkH2Jn:22 a=w1C3t2QeGrPiZgrLijVG:22
X-SECURESERVER-ACCT: lgl@island-resort.com
From: Laurence Lundblade <lgl@island-resort.com>
Message-Id: <41E79CBD-04D1-4C0F-BEE3-4F63780D514E@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_1548EE5A-031D-48BC-B522-059D01216938"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Date: Wed, 28 Jul 2021 13:50:20 -0700
In-Reply-To: <815DB7E9-555A-4A7D-B3DE-CC807DE3A222@tzi.org>
Cc: AJITOMI Daisuke <ajitomi@gmail.com>, cose@ietf.org
To: Carsten Bormann <cabo@tzi.org>
References: <CAFWvErVLfud5ffyzKdBJmzm7Wj+=osfZ0u7tKVpniicZDYqjxg@mail.gmail.com> <815DB7E9-555A-4A7D-B3DE-CC807DE3A222@tzi.org>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-CMAE-Envelope: MS4xfAlR3C+Z87AQyjIOZCDnYZJejcHiqPZOnbSOfiIVd+jqutly6w1xfHRhhddXGkFyfTPEJcpfsUCgNHdsEuzzaDxSLuX0rFQYtkHoH/xSPsoFq2sFsfPP AM+CFezBPzm/oy7naW3rk98ORo/0FMDHRKFlx34QrhaI0ohpfuuI3/G+atYEDoqSnpX8cVPyQW7IFDh/Q27G1BwbdqVaZODNyJXSuhEV+D9bCZt7Xrksin8a
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/wxl-xDf2HMheZQZwCsNOTqdbbSA>
Subject: Re: [COSE] tstr values for kty, alg, crv, etc.
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jul 2021 20:50:27 -0000

--Apple-Mail=_1548EE5A-031D-48BC-B522-059D01216938
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Yes, I much prefer int labels for a small C implementation. Adding =
support for tstr labels would noticeably increase code size. I hope no =
one registers a tstr label.  It seems unlikely because algorithms are =
relatively hard to invent and vet.

LL


> On Jul 28, 2021, at 5:47 AM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> Hi Daisuke,
>=20
>> On 2021-07-28, at 13:45, AJITOMI Daisuke <ajitomi@gmail.com =
<mailto:ajitomi@gmail.com>> wrote:
>>=20
>> In my opinion, the tstr type for 'kty', 'alg', 'crv' or 'key_ops' is =
not necessary because I think the major advantage of COSE is its =
compactness,but I would like to know what you are assuming as the value =
of tstr.
>=20
> The registrant gets the choice between a text string and an integer.
>=20
> https://www.iana.org/assignments/cose/cose.xhtml =
<https://www.iana.org/assignments/cose/cose.xhtml> lists the =
registration procedures for certain ranges, e.g.:
>=20
> https://www.iana.org/assignments/cose/cose.xhtml#algorithms =
<https://www.iana.org/assignments/cose/cose.xhtml#algorithms>
>=20
> Range <sort_none.gif>	Registration Procedures <sort_up.gif>
> Strings of length 1	Standards Action With Expert Review
> Integer values between -256 and 255	Standards Action With Expert =
Review
> Strings of length 2	Specification Required
> Integer values from 256 to 65535	Specification Required
> Integer values from -65536 to -257	Specification Required
> Strings of length greater than 2	Expert Review
> Integer values greater than 65535	Expert Review
>=20
> So labels the representations of which would be 1+0 and 1+1 bytes long =
require standards action, 1+2, specification required, and 1+>2, expert =
review.
>=20
> It doesn=E2=80=99t look like anyone has felt a need to register a text =
string label for an algorithm ID yet; there are still quite a few 1+1 =
(and even a few 1+0!) values available for registration.
>=20
> I would expect that, until we run out of codepoints, the registration =
of text labels will remain an occurrence for special circumstances =
(which means we might not be prepared for text labels when we finally =
actually need them).
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
> _______________________________________________
> COSE mailing list
> COSE@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


--Apple-Mail=_1548EE5A-031D-48BC-B522-059D01216938
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Yes, =
I much prefer int labels for a small C implementation. Adding support =
for tstr labels would noticeably increase code size. I hope no one =
registers a tstr label. &nbsp;It seems unlikely because algorithms are =
relatively hard to invent and vet.<div class=3D""><br =
class=3D""></div><div class=3D"">LL<br class=3D""><div><br =
class=3D""></div><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On Jul 28, 2021, at 5:47 AM, Carsten Bormann =
&lt;<a href=3D"mailto:cabo@tzi.org" class=3D"">cabo@tzi.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;" class=3D"">Hi Daisuke,<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">On 2021-07-28, at 13:45, =
AJITOMI Daisuke &lt;<a href=3D"mailto:ajitomi@gmail.com" =
class=3D"">ajitomi@gmail.com</a>&gt; wrote:<br class=3D""><br =
class=3D"">In my opinion, the tstr type for 'kty', 'alg', 'crv' or =
'key_ops' is not necessary because I think the&nbsp;major advantage of =
COSE is its compactness,but I would like to know what you are assuming =
as&nbsp;the value of tstr.<br class=3D""></blockquote><br class=3D""><div =
class=3D"">The registrant gets the choice between a text string and an =
integer.</div><div class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://www.iana.org/assignments/cose/cose.xhtml" =
class=3D"">https://www.iana.org/assignments/cose/cose.xhtml</a> lists =
the registration procedures for certain ranges, e.g.:</div><div =
class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"https://www.iana.org/assignments/cose/cose.xhtml#algorithms" =
class=3D"">https://www.iana.org/assignments/cose/cose.xhtml#algorithms</a>=
</div><div class=3D""><br class=3D""></div><div =
class=3D"">Range&nbsp;<span =
id=3D"cid:59334E33-1038-4E0E-A805-E5A37F8A1904@Speedport_W_724V_09011603_0=
6_007">&lt;sort_none.gif&gt;</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>Registration =
Procedures&nbsp;<span =
id=3D"cid:59575613-D8CA-4462-93C3-100AF03A3247@Speedport_W_724V_09011603_0=
6_007">&lt;sort_up.gif&gt;</span><br class=3D"">Strings of length 1<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>Standards =
Action With Expert Review<br class=3D"">Integer values between -256 and =
255<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Standards Action With Expert Review<br class=3D"">Strings of =
length 2<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Specification Required<br class=3D"">Integer values from 256 to =
65535<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Specification Required<br class=3D"">Integer values from -65536 =
to -257<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Specification Required<br class=3D"">Strings of length greater =
than 2<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Expert Review<br class=3D"">Integer values greater than =
65535<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Expert Review</div><div class=3D""><br class=3D""></div><div =
class=3D"">So labels the representations of which would be 1+0 and 1+1 =
bytes long require standards action, 1+2, specification required, and =
1+&gt;2, expert review.</div><div class=3D""><br class=3D""></div><div =
class=3D"">It doesn=E2=80=99t look like anyone has felt a need to =
register a text string label for an algorithm ID yet; there are still =
quite a few 1+1 (and even a few 1+0!) values available for =
registration.</div><div class=3D""><br class=3D""></div><div class=3D"">I =
would expect that, until we run out of codepoints, the registration of =
text labels will remain an occurrence for special circumstances (which =
means we might not be prepared for text labels when we finally actually =
need them).</div><div class=3D""><br class=3D""></div><div =
class=3D"">Gr=C3=BC=C3=9Fe, Carsten<br class=3D""><br =
class=3D""></div></div>_______________________________________________<br =
class=3D"">COSE mailing list<br class=3D""><a =
href=3D"mailto:COSE@ietf.org" class=3D"">COSE@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/cose<br =
class=3D""></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_1548EE5A-031D-48BC-B522-059D01216938--


From nobody Fri Jul 30 05:29:06 2021
Return-Path: <goran.selander@ericsson.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8CE63A287F for <cose@ietfa.amsl.com>; Fri, 30 Jul 2021 05:29:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level: 
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, 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_PASS=-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=ericsson.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 bzC76QLVbmpJ for <cose@ietfa.amsl.com>; Fri, 30 Jul 2021 05:29:01 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2084.outbound.protection.outlook.com [40.107.21.84]) (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 34B193A287C for <cose@ietf.org>; Fri, 30 Jul 2021 05:29:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lCHRVEHcWj9KQyetSSSAqU29qjHOl3kEXG7Fa4XRLLz0+BMsYD5CbTwtmysYX0AE2SruzLdy6UR1njziKQPVzad9Xs+gBLSO3Kjwfm37dNMtI0VUkn6iawsmxKQEc/YCZpj+SVt24bCwJOzat7BBAWrPWIr6FkbN+fms5YS/loDYHEpbfYFBjvYdR9jRfxWvQSteKws2NTEW647W40QgtSkK70R8qFy5RZMhpAbvmiBCaquYGPJkS1NBZmtxOIsNafua1VwyURkiDV7Pg2WQu7uQ12pe+EP4z3q5TqR5pIxTN8DUJEtD5SNHHXBqf3uSNtOshpZ0+5juVt8UIoMP0A==
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=OBY6YpSKkZmCu6760mZjW4Y+iqyFPWw8cNNqqC4z7bo=; b=ZyqCtL2DFqMYTn0+jWZwKZdiZ5U4HwlKUlX4uRYk1P1HpfFDok4qfWaw3VGcHloZwpU6L660gCRLvezHFGmcMOiD/N4tmkqqimNs+BJ0wLIVE5obixzEPS0HH41LadjVwmen7DlKb3C3j06e7aTRck/maZfAN8kXG1ztMJsleLJWVIQQ82sgUvb0lr6lI8CMZE+I1Ju8G/nnwdVeSEHRRyI8DBjdGsy7jktMmcBkRXCe337lI8JklW6J9XhNbOv/OrRw7gq99gXXk2DMNJzrukEee5oFr+LQbRiWwEg195wm+6T4Y5vU1Gvi6Azt6E9qofSYz3m1KGV4ZHPLQPMXjQ==
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=OBY6YpSKkZmCu6760mZjW4Y+iqyFPWw8cNNqqC4z7bo=; b=Bt0H/5+O8/lgB6mqJBjN/p3ackBEbikx7TgwEYdRxONeLYRNPblKX3n9pJqAqC4jHesfS+dyDtnemhXoHEFvGA+vWGcYiwLe2wNLuCHR4AiLXYxBO+fbujXOxxOUoSuD8ydchFwbOWxIhNT21BUayhX8E+GxfawXSKHYOmc8iFs=
Received: from HE1PR07MB3500.eurprd07.prod.outlook.com (2603:10a6:7:31::20) by HE1PR0702MB3545.eurprd07.prod.outlook.com (2603:10a6:7:83::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.12; Fri, 30 Jul 2021 12:28:58 +0000
Received: from HE1PR07MB3500.eurprd07.prod.outlook.com ([fe80::cd1:7696:8078:61f3]) by HE1PR07MB3500.eurprd07.prod.outlook.com ([fe80::cd1:7696:8078:61f3%6]) with mapi id 15.20.4373.020; Fri, 30 Jul 2021 12:28:58 +0000
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: "cose@ietf.org" <cose@ietf.org>
Thread-Topic: Key identifier of type bstr / int
Thread-Index: AQHXhT54TcPpMfWo3E61Id/NsrhJvw==
Date: Fri, 30 Jul 2021 12:28:58 +0000
Message-ID: <95B75634-B147-4756-A950-C6B139CF3ADD@ericsson.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.51.21071101
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a7f3cd5c-0d55-415f-f2e5-08d953559adc
x-ms-traffictypediagnostic: HE1PR0702MB3545:
x-microsoft-antispam-prvs: <HE1PR0702MB3545FE667F86192C18085234F4EC9@HE1PR0702MB3545.eurprd07.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: SSQiug03GWzQu4UKm9WuYxK56lXsMaJjQgA2FX3dNY11v9zLh5sJtY6XhjqFdaDMxg3YjhkAQnBZIaCpqqKAxD0qjFMosgYqydL7cq31MevirkrpY2cny2ORViYIFFrjW1g2ypxUwBVqncVX3VI4oDVti6jrsXMgjLo07FdjR06F0Bv2ZjuEXvsgtZhzsunhRk1fK6WzzTZ5rf0shhwRzAeZEbODgZQqzSCqL7uoGkIhnbhK8DOUIQXXmGY4V63IYSnyzh9jL9STdnEyw05XnrIEDYuAQUNQMVHeFLufHDcAeRqfP+P9GZrtcxPbzDs4B8RMFOn1uJ/COZ8D3pc062FnnIYg8my8agrMzqGt7VQHttGrrL3Mv7mmjB7CwSnXQmNVLgE5w6YnnbhN4gS9eo2R6uqKRNIQnvUOSL6XilBU2Y8sv9VC0uvCBXXG2eKZeAA+7e+paddEexIL7pVIJs6G9uRrs8JutoezLG3yMS3RhN+7RHNb9fQpK+5l6koUrM6uymTxGT4XLzUwIjwAtzUBG0Q4ldOuQQpcw957Z79gNshkJGVfAEWgQLHikIAMUhi+Cu9zdgfSHO/npkL6clNH+OvlszV6YYjsYMp6JW7mwecdvHQnuTC6b4rEoXq6uhoQNTKiPlzEAoDoGNzv0poSz3bgW7XuJIJxu3/jXYJxnAoBD1bdsdpw+W5bywQNYUUyn+IiFjWMqNbpQexRl6+9M5q3bZnhoIHTb+MaK9duDMPcPw6Evi1czqoHitEv
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR07MB3500.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(346002)(366004)(396003)(39860400002)(136003)(376002)(122000001)(38100700002)(8676002)(186003)(66556008)(66476007)(66446008)(64756008)(66946007)(2616005)(36756003)(76116006)(316002)(91956017)(8936002)(26005)(85182001)(5660300002)(33656002)(6512007)(85202003)(2906002)(71200400001)(6486002)(6506007)(86362001)(6916009)(38070700005)(478600001)(45980500001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VkVWUnJPNHFsNTlzOWxkRDRZNXhBejAyUVk4TDVvUjVNRy9Zd3FEZEhaczRn?= =?utf-8?B?YVc3S1hGMGtuZUpNZVhsZkR6QUgvSWRjR0c0SlJ5RG1xQlhJc0pKR1A2eFZ5?= =?utf-8?B?UTB0SmNSZnlZN0RnNnpvMnNRaHM3ZWtueWVOU2o3aHpLQkFRTHNjSlgvVlpr?= =?utf-8?B?TTVEWWVSQTBPVDFGWm5jcWhnUys3UXE2NkdEQzFlbnB6MFI5NEJuakswMWpy?= =?utf-8?B?My9Ock00TlFmelMrQjMwMklWMi9id0ZwRGdmZWh6VXdqYzI0VCszOTA1R3hj?= =?utf-8?B?Mmx5NXdLbERpVnhqMzMyRTJRTUZ2akFQRGZjbGxSWDd1TmpPZEdCS2FVQnRr?= =?utf-8?B?aG1ROXFIWlRQaG1aNGg5bFJnTDlkRzlaWE96clc3OEpFUmpMbStDTkRvTVI5?= =?utf-8?B?OFNLUzZBaWF5Uy95bjdQb3dveklWTWFhbDBUWDJOeHJmY0diVVVPMDA2elYr?= =?utf-8?B?ZlpkM1NENFRpcjVrWGdzMWE5UFpTSHNKblNmMnVtY29sVnpBci9KSmpkclpm?= =?utf-8?B?YXRaQ3BzTFM1emYrVTRCaXlUZVBGSUVidEtYUWJHd0xZazRDUWFMU1pYdXk4?= =?utf-8?B?SWlwRE5mZFlXZXNEdFUwbDNyNUZ0STBPb3hEUUdYUFN0TWlDUzJSRlFqODlU?= =?utf-8?B?Tk5JSnlmejdWRWIrNWhCcDFSc3VEdm5HWXJkS1RUT3VFUU04UCtDdnpRNkF6?= =?utf-8?B?OTZjY1RFeFBlZVBVdjR6ZzNXZXNCaWNrbWNVZHpTRm1nTEpFWFNEU0lUOWRC?= =?utf-8?B?bERnR0NJTE1YWElYUWFuOHFITjB3aTZKVE9zb1RKY1lXRWM1S0hZRnNrM3ZJ?= =?utf-8?B?VG9uOEtWOERZQWpPMnE3V0NXR05rbk9WVHdmU2JYNEdKa1hxa1c2ZGxZVGta?= =?utf-8?B?ZGdVc0ErSU5nUjFNZEtxbEIzekNXZ3BGSzZlQmVpMFBLdDBiSVlqSkRoRUJh?= =?utf-8?B?akZuT05RM3B3WTQxRTJWVUhkczJ6b01uQUZNaElvY2tDaThTT2FrbEFiUVlX?= =?utf-8?B?RzdaV2h5ZDg4Wm1mcm44cnhMQ2ZadGpqVFR6ZEgxOTlBaDV3azZxaXNidmI0?= =?utf-8?B?UFE3YUNRaHJPTnhhZWR3eHExR3FmQkYwZHprdEhhNWdhTzhqWkRNOFFwTVo2?= =?utf-8?B?Rkl0dFhNRmQrd0lSR0pMT0ozQTMwT3dXRzhBZ1ZpWlBRU1FmSUJTQWNNZGpl?= =?utf-8?B?V3lKVW5KbGVKV3RIandEdGJ2ZWhhSlR2TzlFWkN2YXBUd1Jna0hjakx4TGw0?= =?utf-8?B?bEZRL1BvS0RRL2lJUkNIeFY2ejArUS8zSGFvbXZFTDVXTUJUZFNrcjNiT1dq?= =?utf-8?B?R0dDTHY3aytIRGcwZnp4ZFJUaTlyZE9VUnp3Z0xRY0htTDNsM1U1Y0orT1Rh?= =?utf-8?B?QTA3aU9WU0RxdGxVVFpwcnFWaTV3aFMyQVUxS0RqS2VjdTlNU1VXQ0FYSlc0?= =?utf-8?B?blRCeUpBWTN4aWYxUFZhSW4ramw5cGVkNTJxT0w2eTdnYVVQN1UyWHVQUlBr?= =?utf-8?B?bWxyNDAwOC9NVE1QaGdiUVBsNGxlZWI5K0k2M1E4UkNzM3kwQjhtNG51TllD?= =?utf-8?B?QlRTVWQ5SkxyM0c0YjB3eWpFZWhaMkdOcDFFcVFVeWd0ZFVHOW1CRU9wUE1y?= =?utf-8?B?WkFDRWIyalFueWxnc0pyeVdkZ2NoWDlCUTUrWEg3eWt0UTNqcFljOFBXQkcx?= =?utf-8?B?RkVSV0V3RmdZQ1lPUUdrVUFvTlhleGJRNGhYTDlmeHdoTjNMc0pXc1ljZWhQ?= =?utf-8?B?RHh1OHpIdW03aEJ1dDZWTVdqSzBjMFdWOE5OcCt1dzBBNFg0a0NNRnZJODQ1?= =?utf-8?B?Z3RZaTdxd1Y4L0tiSHdsQT09?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <DF9F686FFFEBE14AA1C966B3A7FBBA3B@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB3500.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a7f3cd5c-0d55-415f-f2e5-08d953559adc
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2021 12:28:58.3413 (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: HYdEqPTXpFIj4y9O5ZZpxXOx2rDXcXmJCxsIGy7WldmKBansFLaoeDRzixUQHQW9OjMXQMKwOuMKP+dX3NFYe5qIcfRsUMNxOO2bpE48V5A=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3545
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/q_6kay8Z_4Wr48TFBXZU2oGRqoE>
Subject: [COSE] Key identifier of type bstr / int
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Jul 2021 12:29:06 -0000

SGksDQoNCkluIExBS0UgeWVzdGVyZGF5IHdlIGhhZCBhIGRpc2N1c3Npb24gb24gY29tcGFjdCBr
ZXkgaWRlbnRpZmllcnMuIFRoZSBtYWluIGNhbmRpZGF0ZSB0byB1c2UsICdraWQnLCBpcyBzcGVj
aWZpZWQgYXMgYSBDQk9SIGJzdHIsIHdoaWNoIGlzIHR5cGljYWxseSBhdCBsZWFzdCAyIGJ5dGVz
IChleGNlcHRpb246IGVtcHR5IGJzdHIgd2hpY2ggaXMgMSBieXRlKS4gV2UgdGhlcmVmb3JlIHdh
bnQgdG8gYWxsb3cga2V5cyB0byBiZSBpZGVudGlmaWVkIHdpdGggQ0JPUiBpbnRzIHdoaWNoIGhh
cyA0OCAxLWJ5dGUgdmFsdWVzIHRvIGFsbG93IGZvciBhIGxhcmdlciBudW1iZXIgb2Ygb3B0aW1h
bGx5IHNtYWxsIGlkZW50aWZpZXJzLg0KDQpPbmUgc29sdXRpb24gd291bGQgYmUgdG8gZGVmaW5l
IGEgbmV3IENPU0Uga2V5IGNvbW1vbiBwYXJhbWV0ZXIgYW5kIENPU0UgaGVhZGVyIHBhcmFtZXRl
ciwgc2F5ICdraWQyJywgb2YgdHlwZSBic3RyIC8gaW50LiBBbm90aGVyIHNvbHV0aW9uIHdvdWxk
IGJlIHRvIGV4dGVuZCAna2lkJyB0byBiZSBic3RyIC8gaW50Lg0KDQpJbiB0aGUgZm9ybWVyIGNh
c2UgYSAna2lkMicgY2FuIGJlIHVzZWQgdG8gcmVmZXJlbmNlIGtleXMgaWRlbnRpZmllZCB3aXRo
IGVpdGhlciAna2lkMicgb3IgJ2tpZCcsIGJ1dCAna2lkJyB3b3VsZCBub3QgYmUgYWJsZSB0byBy
ZWZlcmVuY2Uga2V5cyBpZGVudGlmaWVkIHdpdGggJ2tpZDInIGhhdmluZyBhbiBpbnQgdmFsdWUu
IE5vdCBjbGVhciB0byBtZSBpZiB0aGF0IGlzIGEgcHJvYmxlbS4gDQoNCldoaWxlIHRoZSBMQUtF
IFdHIGRpZCBub3QgZXhwcmVzcyBhbnkgcHJlZmVyZW5jZSwgb25lIG9waW5pb24gSSBsZWFybnQg
YWZ0ZXIgdGhlIG1lZXRpbmcgd2FzIGEgcHJlZmVyZW5jZSBvZiBleHRlbmRpbmcgJ2tpZCcgdG8g
YnN0ciAvIGludC4NCg0KV2hhdCBkbyBmb2xrcyBpbiBDT1NFIHRoaW5rPw0KDQpJJ20gZmFtaWxp
YXIgd2l0aCB0aGUgcHJvY2VzcyBvZiByZWdpc3RlcmluZyBuZXcgQ09TRSBwYXJhbWV0ZXJzLCB3
aGF0IGlzIHRoZSByZXF1aXJlbWVudCBmb3IgY2hhbmdpbmcgdGhlIHZhbHVlIHR5cGUgb2YgYW4g
ZXhpc3RpbmcgcmVnaXN0cmF0aW9uPyBTdGFuZGFyZHMgYWN0aW9uIHdpdGggZXhwZXJ0IHJldmll
dz8NCg0KVGhhbmtzDQpHw7ZyYW4NCg0KDQo=

