1000 sats \ 6 replies \ @antic 17 Dec 2023 \ on: State of the art 2023: multisig for cold storage bitcoin
my preferred setup is (in a nutshell):
- raspberry pi that has never been online with latest raspbian OS
- load up a USB with GPG key, copy of bip39-standalone.html, and Electrum
- generate seeds using bip39-standalone with passphrase/extension
- save seeds/extensions to text and GPG encrypt and save GPG encrypted outputs to USB (note, I encrypt these with myself and some other trusted GPG recipients who will be able to decrypt all seeds upon my death)
- load seeds into electrum and create multisig (checking bip-39 and extend) -- the reason for using bip39-standalone instead of using electrum to generate the seeds is that I don't want to be beholden to electrum's proprietary seed versioning system but they are a convenient way to load up and recreate the multisig wallet (though not a total software dependency)
- copy down Master Pub for each seed and root fingerprints and save in a plaintext to create a watch-only (onto USB)
- copy down first 5 generated addresses to plaintext file to extract via USB
- bring up a watch-only on another device and ensure the addresses match
- for extra sanity, repeat creating the multisig on the raspberry pi to ensure no weird cosmic rays affected the bits and ensure it all still matches
- distribute each GPG encrypted seed to trusted parties/places
I save copies of the Electrum, bip39-standalone.html, and Raspbian OS image in cloud storage so family can access the exact tooling I used if I die and they need to recover along with instructions on how it was done. Cosigners know to assemble upon my death and not to give me the seeds back out of normal cycles or when asked to be rushed--and if rushed, it's a sign to alert authorities that I'm being held hostage.
There are a few other secret details, but this is good enough for most folks :)
Sorry for the very late response, I'm slow with stuff like this. Thank you for your setup! There's no multisig in it, though?
reply
this method works for generating any combination of multisig or single sig. I've used this method to create 6/10, 2/3, 3/5, etc. After generating the initial seeds, they can be combined using Electrum for the multisig. I do this part using Electrum because I want to have verified and documented repro steps for non-technical family/friends to recreate after I die.
Ultimately though, waiting to build a good MuSig2 setup as I'd like to move the 6/10 multi-state/user distributed shards to a MuSig2 design during a low fee time.
reply
Serious question.
That I've heard mentioned before but never fully resolved..
Why would you trust the author of bip39-standalone.html over electrum wallet?
Both have sha-hash of the code, can be built from source and developrs gpg signatures?
Appreciate your thorough methodology above.
reply
I don’t trust either of them, but I can read code. The reason for Ian’s bip39 code is that it’s using the bip39 wordlist and spec, without custom logic. That means I can use any standard software (or write my own) to derive the keys from the seed without needing electrum. The randomness isn’t in question so much as reliable reproduction and recovery.
reply
I can use any standard software (or write my own) to derive the keys
I see. Makes sense.
So comes down to simplicity I guess.
Removing potential layers of complexity in the code that derives the keys.
Thanks for explaining!
reply
bcoinjs is also easy to use and read and can generate seeds.
I use their library and CLI for some things too, which I like because all of their dependencies are internal to their GitHub, so it’s all there to review. No crazy event-stream dependency shenanigans: https://github.com/bcoin-org/bcoin/blob/0c18028cd333bef8b0939ada8b56ae3911fd0c26/package.json#L25