Exploring a 1-of-2 Multi-Sig Setup with Hidden Keys

24 replies 172 views
paul2015Full Member
Posts: 5 · Reputation: 720
#1Jan 30, 2021, 07:31 PM
So I got this 1-of-2 multi-sig setup. Seed A is in location A, Seed B in location B, and public keys are in location C. If seed A gets leaked, can the attacker still access my funds since they don’t have the public key for seed B?
4 Reply Quote Share
0xProtoMember
Posts: 36 · Reputation: 176
#2Feb 1, 2021, 06:39 PM
Dude, if it's 1-of-2, then one key is enough to move the funds. Not sure what the point of a 1-of-x wallet is.
3 Reply Quote Share
paul2015Full Member
Posts: 5 · Reputation: 720
#3Feb 3, 2021, 07:25 AM
Wait, you can move funds with just one private key and not even both public keys? How's that work?
2 Reply Quote Share
Posts: 27 · Reputation: 223
#4Feb 4, 2021, 11:24 PM
When I set up a multi-sig wallet in Electrum, it warns me that I need the master public key for each cosigner in all backups. So, you can't send funds with just one private key, right?
3 Reply Quote Share
0xProtoMember
Posts: 36 · Reputation: 176
#5Feb 5, 2021, 04:08 AM
You got it right. But remember, it's like having just one cosigner. Either you or the other person can handle transactions.
0 Reply Quote Share
paul2015Full Member
Posts: 5 · Reputation: 720
#6Feb 5, 2021, 09:55 PM
To restore the wallet, yeah, you need one key and both public keys. But to actually move funds, you only need one key.
1 Reply Quote Share
orbit1337Senior Member
Posts: 434 · Reputation: 941
#7Feb 6, 2021, 02:09 AM
I still don’t get it. If the other guy doesn’t have both public keys, can he transfer funds or not? I thought you needed both.
4 Reply Quote Share
chrisomegaFull Member
Posts: 158 · Reputation: 631
#8Feb 6, 2021, 03:42 PM
From what I know, yes, you need both public keys if the address has been used before, else the keys can be found on the blockchain.
1 Reply Quote Share
Posts: 27 · Reputation: 223
#9Feb 6, 2021, 06:19 PM
It really comes down to your threat model. You might be safer from attackers, but you also risk losing access yourself.
3 Reply Quote Share
Posts: 224 · Reputation: 87
#10Feb 6, 2021, 10:56 PM
I get that. But the point of a 1-of-2 multi-sig wallet is to allow transactions with one of the backups. Isn't it similar to 2-of-3?
4 Reply Quote Share
Posts: 27 · Reputation: 223
#11Feb 7, 2021, 04:38 AM
Those public keys relate to the redeem script, which you won't manage with Electrum anyway. Someone with the private key and wallet address can still create and broadcast transactions.
5 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#12Feb 7, 2021, 09:14 AM
Sure, but if they know your setup, they might preemptively compromise your wallets. Just saying, it’s risky.
1 Reply Quote Share
Posts: 27 · Reputation: 223
#13Feb 7, 2021, 11:56 AM
If they know you have a lot of cash, they’ve already got a plan. You need to be prepared for anything.
0 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#14Feb 7, 2021, 01:52 PM
The redeem script isn’t shown in Electrum, but it’s saved in the wallet file. To sign a transaction, you need both the redeem script and the cosigner's public key.
2 Reply Quote Share
paul2015Full Member
Posts: 5 · Reputation: 720
#15Feb 7, 2021, 03:27 PM
Nope, that’s not how it works. Think about it. You’ll figure it out from the replies.
3 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#16Feb 7, 2021, 08:56 PM
That link doesn’t even back your claim. It’s about using a redeem script, which is essential for creating a transaction.
3 Reply Quote Share
orbit1337Senior Member
Posts: 434 · Reputation: 941
#17Feb 9, 2021, 04:02 PM
Thanks for your input! So regarding Q1, the public key is on the blockchain if there’s been a transaction, but how does the attacker know which one? The public key for a seed differs in multi-sig and single-sig wallets, right?
2 Reply Quote Share
im_foxMember
Posts: 92 · Reputation: 57
#18Feb 9, 2021, 06:06 PM
Totally. Safer from attackers is one thing.
4 Reply Quote Share
orbit1337Senior Member
Posts: 434 · Reputation: 941
#19Feb 9, 2021, 09:18 PM
For Q4, yeah, that’s an option, but passphrases can be forgotten. Just trying to explore my options.
2 Reply Quote Share
paul2015Full Member
Posts: 5 · Reputation: 720
#20Feb 9, 2021, 09:30 PM
I’ll check out that link you shared. Appreciate it.
3 Reply Quote Share

Related topics