Bitcoin Forum
May 13, 2024, 01:00:49 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: multisig bug?  (Read 192 times)
skakuza (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 1


View Profile
July 19, 2019, 07:58:00 AM
 #1

Don't know if this is the correct forum, but I think I found a flaw in multisig. I may be wrong. I used electrum to test.

Setup two 2 of 2 offline multisig wallets. Put some funds in. Setup a watch only wallet as a SINGLE wallet using only ONE of the multisig wallet's master public keys. Initiate the spend txn from the watch wallet, sign txn on the one corresponding offline multisig wallet, broadcast the txn from watch wallet ie a cold storage, offline wallet txn. And it works! You've spent from a 2 of 2 multisig with one signature. I hope I'm wrong!
1715562049
Hero Member
*
Offline Offline

Posts: 1715562049

View Profile Personal Message (Offline)

Ignore
1715562049
Reply with quote  #2

1715562049
Report to moderator
1715562049
Hero Member
*
Offline Offline

Posts: 1715562049

View Profile Personal Message (Offline)

Ignore
1715562049
Reply with quote  #2

1715562049
Report to moderator
1715562049
Hero Member
*
Offline Offline

Posts: 1715562049

View Profile Personal Message (Offline)

Ignore
1715562049
Reply with quote  #2

1715562049
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715562049
Hero Member
*
Offline Offline

Posts: 1715562049

View Profile Personal Message (Offline)

Ignore
1715562049
Reply with quote  #2

1715562049
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5599


Self-proclaimed Genius


View Profile
July 19, 2019, 08:25:10 AM
Merited by bones261 (2), LoyceV (1), ABCbits (1), hugeblack (1), Coding Enthusiast (1)
 #2

Setup two 2 of 2 offline multisig wallets. Put some funds in. Setup a watch only wallet as a SINGLE wallet using only ONE of the multisig wallet's master public keys.
This will create a totally different watch-only wallet which isn't multisig, the addresses wont be the same thus the "real" wallet's balance won't show up.

Don't know if this is the correct forum, but I think I found a flaw in multisig. I may be wrong. I used electrum to test.
Have you tested it with wallet(s) with balance?
Have you properly set you 2 of 2 wallet? Maybe you've selected 1 of 2 from the slider.

Refer to these image:
For 2/2 multisig wallet-

For 1/2 multisig wallet-


But even with 1/2 multisig, creating a watch-only wallet using only one public key will create a standard watch-only wallet.
But with 1/2, you will be able to spend using one signature.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BitcoinGirl.Club
Legendary
*
Offline Offline

Activity: 2772
Merit: 2713


Farewell LEO: o_e_l_e_o


View Profile WWW
July 19, 2019, 08:38:35 AM
Last edit: May 15, 2023, 12:19:23 PM by BitcoinGirl.Club
Merited by bones261 (2)
 #3

I hope I'm wrong!
You are wrong of course.

I tried two possibilities:

1.

Restore wallet using both master public key and I have this watch only wallet. And you will see in the watch only wallet - there are no active button to sign a transaction.



2.

In the 2nd possibility I did this:

 - Used master key for the first cosigner key
 - Used 2nd cosigner's seed for the 2nd cosigner

I was able to sign a transaction but if you closely monitor the restore process then you will see, I just opposed the order of imputing the cosigners information when I restored the wallet.
Instead of entering cosigners seed first, I entered the cosigners master public key. In both case (for the 2nd possibility), the algorithm is same which is actually restoring the same cosigner wallet which seeds are known to you only. Unless you know the seeds from the other cosigner, you can not broadcast the transaction.
 

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
skakuza (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 1


View Profile
July 19, 2019, 09:07:38 AM
 #4

Thanks for this. I am going to try and reproduce what I did, must have screwed something up.

I am now more confident about the prospect of using multisig.
BitcoinGirl.Club
Legendary
*
Offline Offline

Activity: 2772
Merit: 2713


Farewell LEO: o_e_l_e_o


View Profile WWW
July 19, 2019, 09:22:53 AM
 #5

Thanks for this. I am going to try and reproduce what I did, must have screwed something up.

I am now more confident about the prospect of using multisig.
MultiSig wallet really gives me the peace of mind. Print both cosigners information in two different paper and  put them in two different places which you only know.

If by any chance one is exposed you are still safe that no one can not steal the fund without having the other cosigner information. In a regular wallet you are fu*k if the seed/private key is exposed to anyone who has bad intention.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!