<oembed><type>rich</type><version>1.0</version><author_name>npub1wccnjljxnarlx564vuc37hmuzuffurljevjnmuq4u0vjmh7e933sn3hnuq</author_name><author_url>https://nostr.ae/npub1wccnjljxnarlx564vuc37hmuzuffurljevjnmuq4u0vjmh7e933sn3hnuq</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2021-02-11&#xA;📝 Original message:&gt; ENCRYPTION_KEY = SHA256(SHA256(TOKEN))&#xA;&#xA;This scheme might be vulnerable to rainbow table attack.&#xA;&#xA;The following scheme might be more secure:&#xA;&#xA;DESCRIPTION = ASCII description provided by user&#xA;NONCE = 256-bit random number&#xA;ENCRYPTION_KEY = hmac-sha256(key=NONCE, msg=DESCRIPTION)&#xA;&#xA;Coordinator distributes DESCRIPTION (fka TOKEN) together with NONCE to the&#xA;signers.&#xA;&#xA;Also, is there any reason why you&#39;d want to disable encryption? Why not&#xA;keep that as mandatory?&#xA;&#xA;&#xA;On Tue, 9 Feb 2021 at 12:39, Hugo Nguyen via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&#xA;&gt;&#xA;&gt;&#xA;&gt; On Tue, Feb 9, 2021 at 2:19 AM Christopher Allen &lt;&#xA;&gt; ChristopherA at lifewithalacrity.com&gt; wrote:&#xA;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; On Tue, Feb 9, 2021 at 2:06 AM Hugo Nguyen &lt;hugo at nunchuk.io&gt; wrote:&#xA;&gt;&gt;&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&gt; I don&#39;t think reusing XPUBs inside different multisig wallets is a good&#xA;&gt;&gt;&gt; idea... For starters, loss of privacy in one wallet will immediately affect&#xA;&gt;&gt;&gt; privacy of other wallets. I think multisig wallets should be completely&#xA;&gt;&gt;&gt; firewalled from each other. That means one unique XPUB per wallet. This is&#xA;&gt;&gt;&gt; what we have been doing with the Nunchuk wallet.&#xA;&gt;&gt;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; To be clear, I have stated repeatedly that xpub reuse into multisig is a&#xA;&gt;&gt; poor practice. However, finding a trustless solution when a wallet is&#xA;&gt;&gt; airgapped with no network, or is stateless like Trezor, is quite hard.&#xA;&gt;&gt;&#xA;&gt;&gt; The challenge also includes how does an airgapped or stateless wallet&#xA;&gt;&gt; know that it is talking to the same process on the other side that that it&#xA;&gt;&gt; gave the xpub to in the first place. Without state to allow for a&#xA;&gt;&gt; commitment, or at least a TOFU, a cosigner who thought he was part of a 3&#xA;&gt;&gt; of 5 could discover that he instead is in a 2 of 3, or in a script with an&#xA;&gt;&gt; OR, as some form of scam.&#xA;&gt;&gt;&#xA;&gt;&#xA;&gt; The shared secret approach that I mentioned in the proposal actually can&#xA;&gt; help you here. The TOKEN doubles as a session ID - thereby establishing a&#xA;&gt; common state on both sides.&#xA;&gt;&#xA;&gt; Best,&#xA;&gt; Hugo&#xA;&gt;&#xA;&gt;&#xA;&gt;&gt;&#xA;&gt;&gt; — Christopher Allen&#xA;&gt;&gt;&#xA;&gt;&gt;&gt; _______________________________________________&#xA;&gt; bitcoin-dev mailing list&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&#xA;&#xA;&#xA;-- &#xA;Best Regards / S pozdravom,&#xA;&#xA;Pavol &#34;stick&#34; Rusnak&#xA;CTO, SatoshiLabs&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20210211/9aae5cfa/attachment.html&gt;</html></oembed>