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

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 17 October 2019 10:20 UTC

Return-Path: <mcr@sandelman.ca>
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 E824B120860 for <openpgp@ietfa.amsl.com>; Thu, 17 Oct 2019 03:20:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 B8IBXBcBNpZu for <openpgp@ietfa.amsl.com>; Thu, 17 Oct 2019 03:20:40 -0700 (PDT)
Received: from relay.sandelman.ca (relay.cooperix.net [176.58.120.209]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24AF61200E7 for <openpgp@ietf.org>; Thu, 17 Oct 2019 03:20:39 -0700 (PDT)
Received: from dooku.sandelman.ca (dhcp-25-21.mtg.ripe.net [193.0.25.21]) by relay.sandelman.ca (Postfix) with ESMTPS id 98B861F455 for <openpgp@ietf.org>; Thu, 17 Oct 2019 10:20:38 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id B624810B6; Thu, 17 Oct 2019 12:21:27 +0200 (CEST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: openpgp@ietf.org
In-reply-to: <70fb51f6-86ec-a4e3-9641-07f69630ee70@kuix.de>
References: <5eb8774d-8d4f-63e3-29bc-53f3c8d21c51@kuix.de> <8736fs7ao8.fsf@fifthhorseman.net> <70fb51f6-86ec-a4e3-9641-07f69630ee70@kuix.de>
Comments: In-reply-to Kai Engert <kaie@kuix.de> message dated "Thu, 17 Oct 2019 11:01:58 +0200."
X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Thu, 17 Oct 2019 12:21:27 +0200
Message-ID: <23101.1571307687@dooku.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/SoY5hGpQZrzTZgy-rhcJhAKw2Hs>
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: Thu, 17 Oct 2019 10:20:42 -0000

Kai Engert <kaie@kuix.de> wrote:
    > - look at existing encrypted email, an extract the key ID, to understand
    > which key needs to be recovered. But that might be a subkey ID, so
    > further searching is required to identify the ID of the master key?

Maybe they can't get access to their IMAP folder until they decrypt their
backup, so I think that this is a more reasonable concern.

But, I think you have over-constrained the problem space.

    >> I'm not personally very convinced about this general approach -- it's
    >> the equivalent of an unchangeable password that you've committed to
    >> publicly

    > Why do you consider it equivalent, if the seed was randomly generated,
    > and the list of words isn't influenced by the user?

It's equivalent to a system generated password.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-