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