Re: [CFRG] XDR in RFC8391
stefan@gazdag.de Wed, 09 December 2020 15:49 UTC
Return-Path: <stefan@gazdag.de>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EAF733A08C5 for <cfrg@ietfa.amsl.com>; Wed, 9 Dec 2020 07:49:06 -0800 (PST)
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, 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 G6q7NKeBbFRI for <cfrg@ietfa.amsl.com>; Wed, 9 Dec 2020 07:49:05 -0800 (PST)
Received: from smtprelay07.ispgateway.de (smtprelay07.ispgateway.de [134.119.228.105]) (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 645863A0E55 for <cfrg@irtf.org>; Wed, 9 Dec 2020 07:49:05 -0800 (PST)
Received: from [134.119.228.3] (helo=webmailfront-cgn01.ispgateway.de) by smtprelay07.ispgateway.de with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.92.3) (envelope-from <stefan@gazdag.de>) id 1kn1i9-0005Hy-CY; Wed, 09 Dec 2020 16:49:01 +0100
Received: from p57a3ef30.dip0.t-ipconnect.de (p57a3ef30.dip0.t-ipconnect.de [87.163.239.48]) by webmail.df.eu (Horde Framework) with HTTP; Wed, 09 Dec 2020 16:49:01 +0100
Date: Wed, 09 Dec 2020 16:49:01 +0100
Message-ID: <20201209164901.Horde.w7UXKDdX5Q6zpxhnXKDU-A5@webmail.df.eu>
From: stefan@gazdag.de
To: "Kretschmer, Andreas" <andreas.kretschmer@siemens.com>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
References: <VI1PR10MB22850F4780CA2E97A7EA18F795F30@VI1PR10MB2285.EURPRD10.PROD.OUTLOOK.COM> <20201203093425.Horde.zzLgaonniDlwff9qSq1X8A1@webmail.df.eu> <AM0PR10MB227452DD0D56F5641145D86F95F20@AM0PR10MB2274.EURPRD10.PROD.OUTLOOK.COM>
In-Reply-To: <AM0PR10MB227452DD0D56F5641145D86F95F20@AM0PR10MB2274.EURPRD10.PROD.OUTLOOK.COM>
User-Agent: Internet Messaging Program (IMP) H5 (6.0.4)
Content-Type: text/plain; charset="UTF-8"; format="flowed"; DelSp="Yes"
MIME-Version: 1.0
Content-Disposition: inline
X-Df-Sender: c3RlZmFuQGdhemRhZy5kZQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/gEAbhNkVYRMO168z0IwRvvWrQUI>
Subject: Re: [CFRG] XDR in RFC8391
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Dec 2020 15:49:07 -0000
Hi Andreas, please excuse the late answer. The identifier should be 4 byte, yet it looks like the ots_signature itself is missing. Currently working on an errata. Kind Regards, Stefan Quoting "Kretschmer, Andreas" <andreas.kretschmer@siemens.com>: > Hallo Stefan, > > Is this right: > > If I want to encode a xmss_ots_signature (e.g. as part of a > xmss_signature) I have to write at first 4 byte for the " > xmss_algorithm_type type" discriminator followed by 4 byte for an > specific arm? > > Thanks, > Andreas > > -----Original Message----- > From: stefan@gazdag.de <stefan@gazdag.de> > Sent: Donnerstag, 3. Dezember 2020 09:34 > To: Kretschmer, Andreas (T RDA CST SEA-DE) <andreas.kretschmer@siemens.com> > Cc: cfrg@irtf.org > Subject: Re: [CFRG] XDR in RFC8391 > > Hi Andreas, > > thanks for pointing out the issues and please excuse the inconvencience. > >> - some Identifiers contain "/" and "-", RFC4506 allows only letter, >> digits and underbars > The easy fix for which I'd settle as suggested by David is to use underbars. > >> - some enum bodies end with ",}", RFC4506 requests "}" here > You're right. Please omit the commas. > >> - some union definitions have incomplete declarations in the >> case-spec, e.g. the union xmss_ots_signature refers to the >> wotsp-sha2_256 without giving a type. > It's just a numeric identifier, as pointed out by Carsten, defined as > ots_algorithm_type. Does this help or do you have any further > questions about it? > >> - Is there a fixed formal correct version of the RFC8391 XDR >> definitions available? > No, there isn't, yet. But we could e.g. go for an errata for the RFC. > > Kind Regards, > Stefan (speaking for the authors)
- [CFRG] XDR in RFC8391 Kretschmer, Andreas
- Re: [CFRG] XDR in RFC8391 David McGrew (mcgrew)
- Re: [CFRG] XDR in RFC8391 Kretschmer, Andreas
- Re: [CFRG] XDR in RFC8391 Carsten Bormann
- Re: [CFRG] XDR in RFC8391 stefan
- Re: [CFRG] XDR in RFC8391 Kretschmer, Andreas
- Re: [CFRG] XDR in RFC8391 stefan
- Re: [CFRG] XDR in RFC8391 Kretschmer, Andreas
- Re: [CFRG] XDR in RFC8391 stefan