Re: [Cfrg] Error in the examples for draft-mcgrew-hash-sigs/

"Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com> Thu, 07 March 2019 16:27 UTC

Return-Path: <sfluhrer@cisco.com>
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 0A4811313EF for <cfrg@ietfa.amsl.com>; Thu, 7 Mar 2019 08:27:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 whNh3wsxSLg0 for <cfrg@ietfa.amsl.com>; Thu, 7 Mar 2019 08:27:57 -0800 (PST)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C54B41279AA for <cfrg@irtf.org>; Thu, 7 Mar 2019 08:27:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1199; q=dns/txt; s=iport; t=1551976076; x=1553185676; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=SPY4+mk6QLZcTeBmwyVEvjOPVnYnnOLBESxhrJnezrU=; b=HX8Hygg41MqgFCewzgWJS3AXWw94IHhyMD3FMafWwBcq0nOcMcdyoHbZ 8DK/hhCiRq8Xb58SqRxo7FUt65kHDf7krPmf2RL9iWSYiqMxU92nkEhXA rS7H56x0BB5pF9PnQh64ygpzlkkhi7glu1lFdnkM1mbUxDOv7Muhu2Oiy 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AFAAD6RYFc/5hdJa1kGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAQGBUgMBAQEBAQsBgg9ogQMnCpdCgg2YI4F7CwEBGAuESQK?= =?us-ascii?q?ENSI1CA0BAQMBAQcBAwJtHAyFSgEBAQQBATg0FwQCAQgOAwQBAR8QJwsdCAE?= =?us-ascii?q?BBAESCIMbgXUPrC2KJAWBLwGLKxeBQD+DdS6DBRkBh0MCpBUJAotGhzUhkzW?= =?us-ascii?q?KcZI4AhEUgSghATWBVnAVO4JsghUYiF+FP0ExjGGBHwEB?=
X-IronPort-AV: E=Sophos;i="5.58,451,1544486400"; d="scan'208";a="529255600"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2019 16:27:55 +0000
Received: from XCH-RTP-009.cisco.com (xch-rtp-009.cisco.com [64.101.220.149]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id x27GRt6G005151 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 7 Mar 2019 16:27:55 GMT
Received: from xch-rtp-006.cisco.com (64.101.220.146) by XCH-RTP-009.cisco.com (64.101.220.149) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 7 Mar 2019 11:27:54 -0500
Received: from xch-rtp-006.cisco.com ([64.101.220.146]) by XCH-RTP-006.cisco.com ([64.101.220.146]) with mapi id 15.00.1473.003; Thu, 7 Mar 2019 11:27:54 -0500
From: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
To: Jim Schaad <ietf@augustcellars.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Error in the examples for draft-mcgrew-hash-sigs/
Thread-Index: AdTUb0TtrnlH/rfvRk6e/o2ioUO17AAk0pqA
Date: Thu, 7 Mar 2019 16:27:54 +0000
Message-ID: <c8857e50dfa248a6ba00293951d9fcbc@XCH-RTP-006.cisco.com>
References: <022201d4d46f$c805f900$5811eb00$@augustcellars.com>
In-Reply-To: <022201d4d46f$c805f900$5811eb00$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.98.2.51]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.149, xch-rtp-009.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/B7LMvtNRLB62GvskCFWpUYPMUCY>
Subject: Re: [Cfrg] Error in the examples for draft-mcgrew-hash-sigs/
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: Thu, 07 Mar 2019 16:28:05 -0000

Yup, you're right; the test vector is wrong.

I believe that's something I can fix in the AUTH48 corrections at the end of the RFC process...

> -----Original Message-----
> From: Cfrg <cfrg-bounces@irtf.org> On Behalf Of Jim Schaad
> Sent: Wednesday, March 06, 2019 5:56 PM
> To: cfrg@irtf.org
> Subject: [Cfrg] Error in the examples for draft-mcgrew-hash-sigs/
> 
> I have been toiling away to get my implementation of this draft working.  In
> the process of doing so, I ended up spending a certain amount of time trying
> to figure out this problem.  If you attempt to generate the public key from
> the private key seed given in the document, you will never be able to
> succeed.  The problem is that the sample program from Cisco takes this key
> and performs some transformations on it in order to generate the identifier
> and the real seed for Appendix A.
> 
> The correct seed is
> 55 8B 89 66 C4 8A E9 CB 89 8B 42 3C 83 44 3A AE
> 01 4A 72 F1 B1 AB 5C C8 5C F1 D8 92 90 3B 54 39
> 
> 
> Jim
> 
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg