Re: [COSE] Help with RFC8152 encryption example

Carsten Bormann <cabo@tzi.org> Mon, 10 May 2021 15:03 UTC

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 850433A2046 for <cose@ietfa.amsl.com>; Mon, 10 May 2021 08:03:15 -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 KMfdpHruwsSD for <cose@ietfa.amsl.com>; Mon, 10 May 2021 08:03:10 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96A833A2042 for <cose@ietf.org>; Mon, 10 May 2021 08:03:10 -0700 (PDT)
Received: from [192.168.217.118] (p548dcb12.dip0.t-ipconnect.de [84.141.203.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Ff47112rYzyXT; Mon, 10 May 2021 17:03:09 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <25CC1B9F-FBE1-482D-BDE4-724A684F53D5@tzi.org>
Date: Mon, 10 May 2021 17:03:08 +0200
Cc: cose@ietf.org
X-Mao-Original-Outgoing-Id: 642351788.731704-ced9f92caa3cc7d06db26c8b3ce4ba03
Content-Transfer-Encoding: quoted-printable
Message-Id: <7E82B2CB-54A3-440F-82C2-DB0BD26AB1BC@tzi.org>
References: <b9138e0c-a63f-bb15-11f1-b7c4519ebf2e@gmail.com> <BEEEB4E5-5FAC-4EA6-88FD-23D7B031C7AB@tzi.org> <53320179-c867-d0c3-4b50-6eeb11ab5fd4@gmail.com> <25CC1B9F-FBE1-482D-BDE4-724A684F53D5@tzi.org>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.6)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/H_deg64GOKWvGCG7L8-26nTV67s>
Subject: Re: [COSE] Help with RFC8152 encryption example
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, 10 May 2021 15:03:25 -0000

On 2021-05-10, at 16:36, Carsten Bormann <cabo@tzi.org> wrote:
> 
> But 8152 predates that document, so it uses basic DN, which doesn’t have <</>> yet, which is part of the problem you had.)

… and I should have added that this is fixed in draft-ietf-cose-rfc8152bis-struct-15, which is really what you should be using anyway.

BTW, it’s in the RFC editor queue, but I don’t understand its status:
https://www.rfc-editor.org/cluster_info.php?cid=C416

Grüße, Carsten