Re: [Cose] Key management for MACs (was Re: Review of draft-schaad-cose-msg-01)

Ilari Liusvaara <ilari.liusvaara@elisanet.fi> Fri, 10 July 2015 09:36 UTC

Return-Path: <ilari.liusvaara@elisanet.fi>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 033851A8A76 for <cose@ietfa.amsl.com>; Fri, 10 Jul 2015 02:36:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
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 f0buJfMQLBDB for <cose@ietfa.amsl.com>; Fri, 10 Jul 2015 02:36:41 -0700 (PDT)
Received: from emh06.mail.saunalahti.fi (emh06.mail.saunalahti.fi [62.142.5.116]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C089C1A8A74 for <cose@ietf.org>; Fri, 10 Jul 2015 02:36:40 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id 2548469A11; Fri, 10 Jul 2015 12:36:38 +0300 (EEST)
Date: Fri, 10 Jul 2015 12:36:37 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20150710093637.GA9976@LK-Perkele-VII>
References: <CA+k3eCQUPxZfWM9XcKaTLN-WOx2cHEi9SAGSRFTtv71iSCUqdQ@mail.gmail.com> <559576A9.9090002@gmx.net> <BY2PR03MB442C02F758E34B29BBD0CEAF5970@BY2PR03MB442.namprd03.prod.outlook.com> <001001d0b90c$3c874af0$b595e0d0$@augustcellars.com> <00c501d0b9a5$c8f869d0$5ae93d70$@augustcellars.com> <CA+k3eCS-7UK9RDfnkKCLK0ApTdNhSamYY3LL73+e1=rBvz7vDA@mail.gmail.com> <000f01d0baad$8a781b20$9f685160$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <000f01d0baad$8a781b20$9f685160$@augustcellars.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/0MTYz19H8u8N-Be3nLRokFQ-DCQ>
Cc: 'Brian Campbell' <bcampbell@pingidentity.com>, cose@ietf.org
Subject: Re: [Cose] Key management for MACs (was Re: Review of draft-schaad-cose-msg-01)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
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, 10 Jul 2015 09:36:43 -0000

On Thu, Jul 09, 2015 at 06:12:49PM -0700, Jim Schaad wrote:
>  
> Looking at the new signature formats coming out of CFRG, I am not sure
> what the lengths of the signatures are,

AFAICT,

64 or 112-114 bytes (packable to 112 with some bit shuffling). One
proposal allows half-length hash, giving 48 or 84 bytes.

Public keys are 32 or 57 bytes.

(All can be defined on intermediate size curves too, for
intermediate signature/pubkey size at intermediate security).



-Ilari