<oembed><type>rich</type><version>1.0</version><author_name>npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_name><author_url>https://nostr.ae/npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2014-03-27&#xA;📝 Original message:Obviously, SHA256 can&#39;t magically generate more entropy out of nothing, it&#xA;just stretches whatever is put in. If your seed was only 32 bits then&#xA;hashing wouldn&#39;t save you: every possible private key could easily be&#xA;calculated in advance.&#xA;&#xA;&#xA;On Thu, Mar 27, 2014 at 2:12 PM, Thomas Kerin &lt;thomas.kerin at gmail.com&gt;wrote:&#xA;&#xA;&gt; Isn&#39;t the length of the seed arbitrary anyway? Once decoded using whatever&#xA;&gt; mnemonic implementation (electrums, or BIP0039) the bytestream is&#xA;&gt; immediately passed to HMAC-SHA256 to generate the master key. No matter&#xA;&gt; what your initial entropy is, it would be hashed anyway.&#xA;&gt;&#xA;&gt;&#xA;&gt; On Thu, Mar 27, 2014 at 12:49 PM, Mike Hearn &lt;mike at plan99.net&gt; wrote:&#xA;&gt;&#xA;&gt;&gt; Ah, BIP32 allows for a range of entropy sizes and it so happens that they&#xA;&gt;&gt; picked 256 bits instead of 128 bits.&#xA;&gt;&gt;&#xA;&gt;&gt; I&#39;d have thought that there is a right answer for this. 2^128 should not&#xA;&gt;&gt; be brute forceable, and longer sizes have a cost in terms of making the&#xA;&gt;&gt; seeds harder to write down on paper. So should this be a degree of freedom?&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; On Thu, Mar 27, 2014 at 1:28 PM, Mike Hearn &lt;mike at plan99.net&gt; wrote:&#xA;&gt;&gt;&#xA;&gt;&gt;&gt; By the way, I just noticed that greenaddress.it is creating seeds that&#xA;&gt;&gt;&gt; have 24 words instead of 12. Does anyone know what&#39;s up with that? They&#xA;&gt;&gt;&gt; claim to be using BIP32 wallets so I wanted to see if they were using the&#xA;&gt;&gt;&gt; default structure and if so, whether bitcoinj was compatible with it&#xA;&gt;&gt;&gt; (before I switch to the one discussed here). But it seems we fall at the&#xA;&gt;&gt;&gt; first hurdle ...&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; On Thu, Mar 27, 2014 at 1:06 PM, Thomas Voegtlin &lt;thomasv1 at gmx.de&gt;wrote:&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; Le 27/03/2014 12:30, Marek Palatinus a écrit :&#xA;&gt;&gt;&gt;&gt; &gt; Ah, I forget to two things, which should be into the BIP as well:&#xA;&gt;&gt;&gt;&gt; &gt;&#xA;&gt;&gt;&gt;&gt; &gt; a) Gap factor for addresses; as Thomas mentioned, although some&#xA;&gt;&gt;&gt;&gt; software&#xA;&gt;&gt;&gt;&gt; &gt; can watch almost unlimited amount of unused addresses, this is serious&#xA;&gt;&gt;&gt;&gt; &gt; concern for lightweight or server-based wallets like Electrum or&#xA;&gt;&gt;&gt;&gt; &gt; myTREZOR. myTREZOR currently uses gap factor 10, which is (from my&#xA;&gt;&gt;&gt;&gt; &gt; experience so far) quite sane for most of users.&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; Yes, I was planning to increase the number of available unused addresses&#xA;&gt;&gt;&gt;&gt; to 10 or 20 in the bip32 version of Electrum.&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; Related to this, here is another idea I would like to submit:&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; Instead of using a &#34;gap limit&#34; (maximal number of consecutive unused&#xA;&gt;&gt;&gt;&gt; addresses), I think we should get rid of the topology, and simply count&#xA;&gt;&gt;&gt;&gt; the number of unused addresses since the beginning of the sequence.&#xA;&gt;&gt;&gt;&gt; Indeed, the topology of the sequence of addresses is of no interest to&#xA;&gt;&gt;&gt;&gt; the user. Users often misinterpret &#34;gap limit&#34; as the &#34;number of unused&#xA;&gt;&gt;&gt;&gt; addresses available&#34;, so I think we should just give them what they want&#xA;&gt;&gt;&gt;&gt; :) This is easier to understand, and it makes things more predictable,&#xA;&gt;&gt;&gt;&gt; because the wallet will always display the same number of unused&#xA;&gt;&gt;&gt;&gt; addresses (except when it is waiting for confirmations).&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&gt; ------------------------------------------------------------------------------&#xA;&gt;&gt;&gt;&gt; _______________________________________________&#xA;&gt;&gt;&gt;&gt; Bitcoin-development mailing list&#xA;&gt;&gt;&gt;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt;&gt;&gt;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; ------------------------------------------------------------------------------&#xA;&gt;&gt;&#xA;&gt;&gt; _______________________________________________&#xA;&gt;&gt; Bitcoin-development mailing list&#xA;&gt;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140327/2c5954bd/attachment.html&gt;</html></oembed>