Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id C67DC9DA for ; Thu, 27 Dec 2018 11:04:19 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0AE667DB for ; Thu, 27 Dec 2018 11:04:18 +0000 (UTC) Received: by mail-wr1-f49.google.com with SMTP id t6so17928990wrr.12 for ; Thu, 27 Dec 2018 03:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=zQRdfvLHyeDRmOPvxpmcNtyGONL4XI/gcfWyM24mlUY=; b=PWrG5DBBHDZt1EdpwpKkpxjM0yQTTEBsYoZxQ5NKmYM+BPf/9G3ZEw+VxC3T+F7nfh NKq5MB1N4TF2Z/Anx5h2+RLhJNohZB6LPvlz3LORilFjki0v8V3/0fQk9TPJAGyQd7VS F7B1DVMyOW1VRqKDHRG1PLhMKYSb3cT6336fJ2oVcz09uhJhvvvi6iPj/u1SbF8zDqoS gFoGtbE2kKgD9NVdYYuCm2ui3dwL+gn+Bqkz05sLaxPzXqqA5K2Fwmx7iz94bEXHVo7Q 43zA2V+4S3crhZA1ZAIaZbM2MjtTHtd5Zr4DvSURS3mFeVB3em37WZoX9W08fEj/F/3C X4+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language; bh=zQRdfvLHyeDRmOPvxpmcNtyGONL4XI/gcfWyM24mlUY=; b=YDNg4DSzalqmGVih6bG4j5NVrwRFXEUaYX3IynZDDDoPEFrB7PZuCZdHrnKrFkr7Ea 2TR9W9BfxWnrDH+SjcwuyxTD09Dfa9ZVLQg1JVh5YduQOPAqc9TzKrIUD/UpWhRV6eOa 9mqqq89bFzwwxRU9JC53C+ql8WauaesLl2CQY8fND4x60thxUtJfl/Gk3NmSpUMGuQ9W 9gQ2bYeVuxREM5tX77KhPVxs/ohJ7EH16jEupmZ8dPHbtE++D3g4/qBTZdFWb/INsYXv B71ojPTEaYozQT9hPkpXpjWS/Ml4GfG/nYNedyUNNB1wDLJJw3+nbwyCurvxKvpdvu8l 01BQ== X-Gm-Message-State: AJcUukdso92b9uY3S7a/3Kx7hpakUiNdnSceDMMmTEEwlTN9TidEdm+8 hTOIR6IYRsuxdxVNhNwTp34cBnTf X-Google-Smtp-Source: ALg8bN4izag9mim0mvGvHv/I0nGn2Gs3Axy8vMlz1XFDUlJXyO6JuAkusQYnoTte1Dr9RukoConGJw== X-Received: by 2002:a5d:6b81:: with SMTP id n1mr23360429wrx.149.1545908657393; Thu, 27 Dec 2018 03:04:17 -0800 (PST) Received: from [192.168.1.10] (lfbn-nic-1-41-15.w2-15.abo.wanadoo.fr. [2.15.134.15]) by smtp.googlemail.com with ESMTPSA id y185sm19627786wmg.34.2018.12.27.03.04.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Dec 2018 03:04:16 -0800 (PST) To: James MacWhyte References: <68330522-7e7c-c3b4-99a9-1c68ddb56f23@gmail.com> <743fb106-977e-1f34-47af-9fb3b8621e72@gmail.com> From: Aymeric Vitte Openpgp: preference=signencrypt Autocrypt: addr=vitteaymeric@gmail.com; prefer-encrypt=mutual; keydata= mQINBFdW8uABEAC7HJScbB2d/lmYoY5Cn9loEjJwfLs1LC3om030bWFGiH3Ceo5XeHUT94rw Pi+HaHU8ea94425SXIFsnqp/ouoT/8Ffn6vED0OoRmK0jE4fqDApXSpoL2mHX9PAGdUItMtD YrxBiBZNfMkctEsm4NrQ4TCvB3Yrm6Fc69inXJjUoYgPw5tHafE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HxXmCw0Nrbm9Q3ryl80z/G9utfFNO3Gwc q31QW3n3LJHnpqdrV3WsRzT5NwJMVtiIAGRrX8ZomtarWHT0PeEHC2xBdFzRrJtmkrwer0Wc 0nBzD7vk1XEXC9nODbmlgsesoHFgRwQBst3wClCbX1gv8aSfxQNpaf9UBC8DmyrQ621UXpBo PvcFEtWxV44vJfP0WOLCCN0Pzv2F2I66iKo7VMqbr5jlNAXJN9I1hXb7qwYJmBC9j5oeEoqv A9d44WWpxrdAr8qih4Nv89k9+9F6NoqORY3FGuVDKiW8CVhCmGT7bIvNeyicVBZFipXqPcKL VFduO2c5Ubc2npMWLUF1k9JJc9tH75l3+F/0RbYVTzGAZ+zSaudwR6h8YiCN2DBZGZkJEZbh 3X/l6jtijMN/W9sPHyyKvm/TmeEC27S3TqZPZ8PUQLxZC70V6gMbenh01JdSQsn5t8Ru0RNh Blt0g7IyZyIKCE9b+TyzbYpX6qgqEBUHia5b0vyPtQacWQlZ8uqnghAqNkLluEsy7Q/7xG6M wXUYEDsFOmB9dKOzcAOIhpxlVjSKu5mzXJ11sEtE8nyF5NJ/riCA7FGcjlki3zIpzQUNo9v7 vXl2h6Tivlk= Message-ID: Date: Thu, 27 Dec 2018 12:04:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------80CE2C045D11BB10DE780A7D" Content-Language: fr X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Thu, 27 Dec 2018 14:59:24 +0000 Cc: Bitcoin Protocol Discussion Subject: Re: [bitcoin-dev] BIP39 seeds X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2018 11:04:19 -0000 This is a multi-part message in MIME format. --------------80CE2C045D11BB10DE780A7D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Le 26/12/2018 à 19:54, James MacWhyte a écrit : > > On Wed, Dec 26, 2018 at 11:33 AM Aymeric Vitte > wrote: > > so, even with a tool like yours, they can be misleaded, for > example trying a few words to replace the missing/incorrect one, > get a valid seed and stay stuck with it forever trying to play > with BIP44/49 to find their keys > > > Just a small detail, but my tool actually looks up all the possible > combinations and then finds which one has been used before by looking > for past transactions on the blockchain. Therefore, it won't tell you > your phrase is correct unless it is a phrase that has actually been > used before (preventing what you described). I saw that your tool was querying blockchain.info, but it cannot guess what derivation path was used and if it is a standard one what addresses were used, and even if successful it works only for bitcoin (so maybe it should just output the ~1500 possible phrases and/or xprv, and be completely offline, this is still doable for people) > > Using some algorithm to take some input and generate a bip39 phrase > that you can use with any bip39 wallet sounds perfectly reasonable. I forgot to mention that this can help also solving the "what if something happens to me" case giving to the family the seed and the parameter(s) for the derivation path, or an easy way to find it (better than something like: remind this passphrase, take the sha256 of it, then use some other stuff to find the encryption algo, take n bytes of the hash, use it to decode my wallet or my seed... and then everybody looking at you like crazy) --------------80CE2C045D11BB10DE780A7D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit


Le 26/12/2018 à 19:54, James MacWhyte a écrit :

On Wed, Dec 26, 2018 at 11:33 AM Aymeric Vitte <vitteaymeric@gmail.com> wrote:

so, even with a tool like yours, they can be misleaded, for example trying a few words to replace the missing/incorrect one, get a valid seed and stay stuck with it forever trying to play with BIP44/49 to find their keys


Just a small detail, but my tool actually looks up all the possible combinations and then finds which one has been used before by looking for past transactions on the blockchain. Therefore, it won't tell you your phrase is correct unless it is a phrase that has actually been used before (preventing what you described).

I saw that your tool was querying blockchain.info, but it cannot guess what derivation path was used and if it is a standard one what addresses were used, and even if successful it works only for bitcoin (so maybe it should just output the ~1500 possible phrases and/or xprv, and be completely offline, this is still doable for people)


Using some algorithm to take some input and generate a bip39 phrase that you can use with any bip39 wallet sounds perfectly reasonable.

I forgot to mention that this can help also solving the "what if something happens to me" case giving to the family the seed and the parameter(s) for the derivation path, or an easy way to find it (better than something like: remind this passphrase, take the sha256 of it, then use some other stuff to find the encryption algo, take n bytes of the hash, use it to decode my wallet or my seed... and then everybody looking at you like crazy)

--------------80CE2C045D11BB10DE780A7D--