<oembed><type>rich</type><version>1.0</version><author_name>npub10f96gqrsu4qpygfgvuvzce47aavjvql703egfde0l2hua8dzpszs67ej47</author_name><author_url>https://nostr.ae/npub10f96gqrsu4qpygfgvuvzce47aavjvql703egfde0l2hua8dzpszs67ej47</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2014-03-11&#xA;📝 Original message:&gt; Trezor and Electrum may be earlier than this.&#xA;&#xA;Sorry for not joining the discussion earlier.&#xA;&#xA;I have postponed the release of bip32 features in Electrum due to &#xA;ongoing discussions with Trezor and bitcoinj developers.&#xA;I planned to post a summary in a separate thread, but this info is also &#xA;relevant for this thread, so I&#39;m posting here.&#xA;(sorry if this is a bit offtopic, though)&#xA;&#xA;I plan to create a 2-factor authentication service that uses p2sh &#xA;addresses in Electrum.&#xA;All addresses are derived from the wallet root seed, and should be &#xA;recoverable from it.&#xA;(of course this departs from scenarios where master keys are generated &#xA;independently;&#xA;my opinion is that both should be possible)&#xA;&#xA;So, when the user activates 2fa protection, the root private key is &#xA;deleted from their hard drive, as well as the&#xA;master private key of one of the branches used to create p2sh addresses &#xA;(which is sent to a remote server).&#xA;&#xA;See this (fairly old) description here for more details: &#xA;https://bitcointalk.org/index.php?topic=274182.0&#xA;&#xA;Since I still want to be able to generate 1of1 accounts after the 2fa &#xA;protection is activated,&#xA;1of 1 accounts should not be generated directly from the root of the tree.&#xA;Thus, an extra level must be inserted in the tree.&#xA;&#xA;For example, 1of1 addresses can be derived as follows:&#xA;&#xA;m/reserved&#39;/n&#39;&#xA;&#xA;where n is the account index, and &#34;reserved&#34; is an index that indicates &#xA;the type of address.&#xA;(0 would be reserved for 1of1 addresses)&#xA;&#xA;slush suggested that another layer of derivation would be useful, in &#xA;order to use wallets&#xA;with altcoins on the same seed. This lead to this type of derivation:&#xA;&#xA;m/coin&#39;/reserved&#39;/n&#39;&#xA;&#xA;where &#34;coin&#34; would be 0 for Bitcoin, and &#34;reserved&#34; would be 0 for 1of1 &#xA;addresses&#xA;&#xA;Thomas</html></oembed>