Re: [Cbor] draft-ietf-cbor-tags-oid-00.txt

Carsten Bormann <cabo@tzi.org> Mon, 03 August 2020 05:38 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53E863A0B2B for <cbor@ietfa.amsl.com>; Sun, 2 Aug 2020 22:38:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.003
X-Spam-Level:
X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[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 peCegBHLkPRv for <cbor@ietfa.amsl.com>; Sun, 2 Aug 2020 22:38:45 -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 CCFF13A0B2D for <cbor@ietf.org>; Sun, 2 Aug 2020 22:38:44 -0700 (PDT)
Received: from [172.16.42.101] (p5089ae91.dip0.t-ipconnect.de [80.137.174.145]) (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 4BKmry2trMzyTN; Mon, 3 Aug 2020 07:38:42 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <87v9i0w5un.fsf@hobgoblin.ariadne.com>
Date: Mon, 03 Aug 2020 07:38:42 +0200
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 618125921.952752-d94cf930ba64bde14452fe8d0360924f
Content-Transfer-Encoding: quoted-printable
Message-Id: <C1BFB862-5022-4B5F-A1BD-F49B14D3B1C0@tzi.org>
References: <87v9i0w5un.fsf@hobgoblin.ariadne.com>
To: "Dale R. Worley" <worley@ariadne.com>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/xT2l1tqg8atFuzLzjYPEBxKIpCc>
Subject: Re: [Cbor] draft-ietf-cbor-tags-oid-00.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Aug 2020 05:38:48 -0000

On 2020-08-03, at 09:23, Dale R. Worley <worley@ariadne.com> wrote:
> 
> Carsten Bormann <cabo@tzi.org> writes:
>> (Crypto) keys don't have to be much longer, see
>> https://tools.ietf.org/html/draft-mattsson-cose-cbor-cert-compress-01#appendix-A
>> for a worked example.
> 
> I don't know elliptic-curve crypto well enough to follow that, but it
> seems to me that you're going to have a hard time putting a 2048 bit key

That would be RSA.  Applications that care about certificate size today use ECC, with 256-bit keys (32 bytes).

> in less than about 256 octets, and the signature will need a similar
> number of octets.  So all overheads should be counted against a minimum
> of 512 octets of essentially binary data.

Five years ago, yes.  But now it is worth to use ECC as a yard stick.

Grüße, Carsten