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

mcgrew <mcgrew@cisco.com> Thu, 07 March 2019 00:59 UTC

Return-Path: <mcgrew@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 CCB061312A3 for <cfrg@ietfa.amsl.com>; Wed, 6 Mar 2019 16:59:20 -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_HIGH=-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 CaYLIznd_UBl for <cfrg@ietfa.amsl.com>; Wed, 6 Mar 2019 16:59:19 -0800 (PST)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DECCB13128E for <cfrg@irtf.org>; Wed, 6 Mar 2019 16:59:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=998; q=dns/txt; s=iport; t=1551920358; x=1553129958; h=mime-version:subject:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=7TWmX2jJLKmWZ6Tiivl6+Qtp9qgDxzZFB0d6C8kXaR8=; b=YUqmZcxrHTdicnYMIk3tUs4WaFeMO6xGWiPCEb4DKGERVRCYtHhbtFPC Nw2DJszt4AdI7oZNwlL/1+EJbmckHQn1ZwMHlHYUEa+EIdLZ0Tj1/wAzs ATXoSzwsr2Hc7XmyUYfrFER5GWdibcb/sSXGQjHHW6hrHOnDacDZ+63iv 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AKAADRa4Bc/5xdJa1kGQEBAQEBAQEBAQEBAQcBAQEBAQGBUwIBAQEBAQsBgg9ogQMnCpdlgWglmCOBewsBARgLhEkChDEiNgcNAQEDAQEDAQMCbRwMhUoBAQEDAQEBODQLBQsLCQUKHhAnMAYOBYMiAYFtCA+sOIVEhGYFgS8BiygXgT9AgTgME4IeLoMFGQGBYoM7giYCkXCSHwmDNIgPhz0ZgXaFZotTmjOCbQIRFIFODCWBVnAVOyoBgkE+gVcYiF+FXSEBATGMdAGBHgEB
X-IronPort-AV: E=Sophos;i="5.58,450,1544486400"; d="scan'208";a="243472606"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2019 00:59:18 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id x270xHI1011829 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 7 Mar 2019 00:59:18 GMT
Received: from rtp-mcgrew-nitro5.cisco.com (10.117.145.150) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 6 Mar 2019 18:59:16 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
From: mcgrew <mcgrew@cisco.com>
In-Reply-To: <022201d4d46f$c805f900$5811eb00$@augustcellars.com>
Date: Wed, 06 Mar 2019 19:59:04 -0500
CC: cfrg@irtf.org, "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
Content-Transfer-Encoding: quoted-printable
Message-ID: <53F9D8BC-F87C-4375-AE6C-56CF71047A14@cisco.com>
References: <022201d4d46f$c805f900$5811eb00$@augustcellars.com>
To: Jim Schaad <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.3445.102.3)
X-Originating-IP: [10.117.145.150]
X-ClientProxiedBy: xch-aln-008.cisco.com (173.36.7.18) To XCH-ALN-004.cisco.com (173.36.7.14)
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: rcdn-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Kpq1F719xbZHsFxpzKc1P-QJaPg>
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 00:59:21 -0000


> On Mar 6, 2019, at 5:56 PM, Jim Schaad <ietf@augustcellars.com> wrote:
> 
> 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

What sample program?   Can you please point us to the code you mean?

thanks

David

> 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