Re: [openpgp] Deriving an OpenPGP secret key from a human readable seed

Phillip Hallam-Baker <phill@hallambaker.com> Sat, 19 October 2019 03:40 UTC

Return-Path: <hallam@gmail.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93201120104 for <openpgp@ietfa.amsl.com>; Fri, 18 Oct 2019 20:40:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.474
X-Spam-Level:
X-Spam-Status: No, score=-1.474 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.172, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 vSEJzWgllwXw for <openpgp@ietfa.amsl.com>; Fri, 18 Oct 2019 20:40:09 -0700 (PDT)
Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 E58001200F6 for <openpgp@ietf.org>; Fri, 18 Oct 2019 20:40:08 -0700 (PDT)
Received: by mail-ot1-f51.google.com with SMTP id c10so6642492otd.9 for <openpgp@ietf.org>; Fri, 18 Oct 2019 20:40:08 -0700 (PDT)
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=xsXR0SPz1bk9bsP5iumQ0gw0KfnRreGp6O44Ylg9uOw=; b=MH7zaU2CYXdWHis0TUk7OSPU8AyZKJRImSSgNPYKZB1ziZPdsYRwRXdAs+swbwv9v2 UkDhw1jBhqbaCOD6/8xRaZm3r4P00VcnOiyGOsA0IrcMjJgggyaCmSczVoz+s8bbSrUj 0EGHHNhUkoMU2HdbbppPx+cotG5+Gp1uRf3xIAtjjrEhF6OxV4OhUtjS3Uz0SWFWTvo4 +A3o3Z7TCpqzp+zmnCcB0WaZ9OgdzVMNazvTTwwiXdeKlOUl83Yi6koYEfhINthBeAcD mK452mBY2uWeHSBcO2/eS1Gy+0GTEH9hXrrNUPjaXQoZwNQXuyCCPiOedcsToizvYArn kpww==
X-Gm-Message-State: APjAAAVSb1DtzZgtFY4HOlYugyCj7x/Dtg0OgwMZ61jAcOQplFkJKm9N Dq6Knf15nUrURRydtxv7zXrM/TS5WKKRdcgXcpMvye2kM3o=
X-Google-Smtp-Source: APXvYqw1J0JIwQhmYQPTicUw3YpW9Oamd7tLcqXZM+Hqwxuyk2bOz76Jk3iHdOJQNI3+T9DTWsWdIRwMrGVbJ0O/u6k=
X-Received: by 2002:a9d:7d92:: with SMTP id j18mr10378739otn.37.1571456408163; Fri, 18 Oct 2019 20:40:08 -0700 (PDT)
MIME-Version: 1.0
References: <5eb8774d-8d4f-63e3-29bc-53f3c8d21c51@kuix.de> <FAAB5286-1C26-4F32-AB76-8B1E2C93FA77@icloud.com> <2efcd737-34b3-00bb-527f-725daf6e8509@kuix.de> <20191018225100.bnslptroeenuusxf@camp.crustytoothpaste.net>
In-Reply-To: <20191018225100.bnslptroeenuusxf@camp.crustytoothpaste.net>
From: Phillip Hallam-Baker <phill@hallambaker.com>
Date: Fri, 18 Oct 2019 23:40:03 -0400
Message-ID: <CAMm+LwhL7ys67J=TaLwWDFEpb91H5SwQChVuoaHHqmCsoTiQjg@mail.gmail.com>
To: "brian m. carlson" <sandals@crustytoothpaste.net>
Cc: IETF OpenPGP <openpgp@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fd1b3805953b34ed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/HbsZrYcosattQrs-ccDTzMbhluk>
Subject: Re: [openpgp] Deriving an OpenPGP secret key from a human readable seed
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Oct 2019 03:40:11 -0000

Someone just said we need a spec. Here is a spec:
https://www.ietf.org/id/draft-hallambaker-mesh-udf-07.txt

It is in the new format which is intended to be read as HTML. Until the
tools catch up, you can read it here:
http://mathmesh.com/Documents/draft-hallambaker-mesh-udf.html

The draft does not specify the value of e which it should but I am pretty
sure we have standardized on 65537. I see no reference to p being greater
than q and it is a mystery to me why we would care when the RSA parameters
are the modulus and the private exponent d. Knowledge of p and q is only
used to determine d, they are not req