Re: [Tm-rid] Some updates and work on HHITs

"Wiethuechter, Adam" <adam.wiethuechter@axenterprize.com> Wed, 14 August 2019 18:28 UTC

Return-Path: <adam.wiethuechter@axenterprize.com>
X-Original-To: tm-rid@ietfa.amsl.com
Delivered-To: tm-rid@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26E23120D3C for <tm-rid@ietfa.amsl.com>; Wed, 14 Aug 2019 11:28:58 -0700 (PDT)
X-Quarantine-ID: <350CbPasUcJu>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BANNED, message contains text/x-python,.exe,hhit-gen.py
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=axenterprize.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 350CbPasUcJu for <tm-rid@ietfa.amsl.com>; Wed, 14 Aug 2019 11:28:55 -0700 (PDT)
Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A49E0120D30 for <tm-rid@ietf.org>; Wed, 14 Aug 2019 11:28:55 -0700 (PDT)
Received: by mail-qt1-x82c.google.com with SMTP id x4so13165125qts.5 for <tm-rid@ietf.org>; Wed, 14 Aug 2019 11:28:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axenterprize.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cUvSf5KbKD1PgwJvwXgVdaho0pmrlKe9+oq+n9WqDz4=; b=mwN8IV5mBG1Ebk5HzQw+9J1UG3FKayMRCn5qJc1yZzSD42XqPFGriTzZSGbLColhVP ATUAhtgVpQ4CxJmHmfIOZ+2swma7rBiPVZdMxUj6WNCRJ0G18sLOAI1fUMR2xbvSfVTh bsswgZu9XxhjnmtkroD4Izy2Sao2wTe+mzSS4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cUvSf5KbKD1PgwJvwXgVdaho0pmrlKe9+oq+n9WqDz4=; b=b6d3rbOB80igru7I0BwAebWWob3HzPIuqUYiw9uBEXlTs+mLew7B7fi3Zxh53a4TuT bbkDSnqfj4x/D0o0OSmm0lBvgHkLULlNsC/YIXOAKRttKZS7lC8cdHa9eurujG+K1ugk dQ1R9mwm7yNVDMR5M+sJFwKn1DganNjbWam1bYQviIaKHLPXJ56BkWgaumAr/L5rk5+L DcPsqvidOIG77/acNrl+ea3kfr0diL/bmUQOuQILOPxMX9YET98ufkdrEDfCxL2PvFfA KgH9ngxcBeqUiVPImTOgNPutKwuiX9joCRnRBDfX5GR58muV0YgFEC1FodPBn7auGdo9 ztlg==
X-Gm-Message-State: APjAAAVQh6lThjQtk4E7hlkcgAKpY1oFYHSa/VcdyyFO73T8q/sQyA6J 0So0yTtcZD2fCbIJ9OVRBntRDZO8PnGVImyf7GMs5js=
X-Google-Smtp-Source: APXvYqwuzqSYQA3B389/GPWKJw8P+jcppS7GvNjs+WZBotVApFGKxnaJn1mpuWX90IQ382l2wnsxs6+N8s6GVs1SItE=
X-Received: by 2002:ac8:31ba:: with SMTP id h55mr679767qte.363.1565807334724; Wed, 14 Aug 2019 11:28:54 -0700 (PDT)
MIME-Version: 1.0
References: <d04d866c-24cc-eb6c-219f-9eb511160a87@labs.htt-consult.com>
In-Reply-To: <d04d866c-24cc-eb6c-219f-9eb511160a87@labs.htt-consult.com>
From: "Wiethuechter, Adam" <adam.wiethuechter@axenterprize.com>
Date: Wed, 14 Aug 2019 14:28:43 -0400
Message-ID: <CA+r8TqX52fyPpRBW6=UnnqV19qtSPc9u5gqAs7YoeKhz2aY67w@mail.gmail.com>
To: Robert Moskowitz <rgm@labs.htt-consult.com>
Cc: "tm-rid@ietf.org" <tm-rid@ietf.org>
Content-Type: multipart/mixed; boundary="000000000000f94e72059017ed85"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tm-rid/75G1BbhgtQjCMNuEoHu34xmbYdw>
Subject: Re: [Tm-rid] Some updates and work on HHITs
X-BeenThere: tm-rid@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Trustworthy Multipurpose RemoteID <tm-rid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tm-rid>, <mailto:tm-rid-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tm-rid/>
List-Post: <mailto:tm-rid@ietf.org>
List-Help: <mailto:tm-rid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tm-rid>, <mailto:tm-rid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Aug 2019 18:28:58 -0000

All,

Attached is a quick Python3 script I created using Bob's email.
It does not handle the actual creation of the HHIT yet, but does perform
the operations for the key generation.

On Wed, Aug 14, 2019 at 8:50 AM Robert Moskowitz <rgm@labs.htt-consult.com>
wrote:

> Just to let people here know I have been working away with some
> groundwork, expanding on the prior list of documents and peripheral things.
>
> Right now I am working on what a eddsa pki would be that would back up
> the proposed HHITs and various repositories.  For this I want to
> generate some testing HHITs.
>
> I will use openssl from my draft-moskowitz-eddsa-pki and HHIT format
> from draft-moskowitz-hierarchical-hip (sec 4).
>
> I make the ed25519 keypair with:
>
>     openssl genpkey -aes256 -algorithm ed25519 -outform pem -out
> entity.key.pem
>
> Note the keypair is encrypted; it contains the private key.  This can be
> viewed with:
>
>     openssl pkey -inform pem -in entity.key.pem -text -noout
>
> The public key can be extracted in DER format with:
>
> openssl pkey -in entity.key.pem -out entity.pub.der -outform DER -pubout
>
> For the HHIT:
>
> HIT SUITE ID = 4
> RAA = 10
> HDA = 20
>
> It would be great to have this as a python or perl script.  That way I
> may learn something along the way.
>
> Inputs are:
>
> key file name
> key password
> HIT Suite ID
> RRA
> HDA
>
> Output should be:
>
> the HHIT in 128bit binary to some file
> the HHIT in ipv6 : display format
>
> Thanks on any help.  I will be posting this to both the tm-rid list and
> the hipsec list.
>
> Bob
>
>
> --
> Tm-rid mailing list
> Tm-rid@ietf.org
> https://www.ietf.org/mailman/listinfo/tm-rid
>


-- 
73's,
Adam T. Wiethuechter