Bitcoin Forum
May 11, 2024, 03:15:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: 1 2 [All]
  Print  
Author Topic: Multisig  (Read 185 times)
testingelcrypto (OP)
Jr. Member
*
Offline Offline

Activity: 31
Merit: 14


View Profile
April 05, 2021, 01:52:53 PM
Merited by LoyceV (2), o_e_l_e_o (2)
 #1

Is it possible to know all master public keys from a multisig wallet by only have acess to one of the keys?

What if i lost 1 of public keys, is it possible to have acess to the multisig wallet?
1715440554
Hero Member
*
Offline Offline

Posts: 1715440554

View Profile Personal Message (Offline)

Ignore
1715440554
Reply with quote  #2

1715440554
Report to moderator
1715440554
Hero Member
*
Offline Offline

Posts: 1715440554

View Profile Personal Message (Offline)

Ignore
1715440554
Reply with quote  #2

1715440554
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715440554
Hero Member
*
Offline Offline

Posts: 1715440554

View Profile Personal Message (Offline)

Ignore
1715440554
Reply with quote  #2

1715440554
Report to moderator
1715440554
Hero Member
*
Offline Offline

Posts: 1715440554

View Profile Personal Message (Offline)

Ignore
1715440554
Reply with quote  #2

1715440554
Report to moderator
1715440554
Hero Member
*
Offline Offline

Posts: 1715440554

View Profile Personal Message (Offline)

Ignore
1715440554
Reply with quote  #2

1715440554
Report to moderator
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4861



View Profile
April 05, 2021, 01:57:58 PM
Last edit: April 05, 2021, 02:49:53 PM by Charles-Tim
 #2

Is it possible to know all master public keys from a multisig wallet by only have acess to one of the keys?
Assuming you created 2 of 3 multisig. This means you have 2 cosigners out of 3 private keys in total. If an hacker was able to access one of the private keys, and unable to access the rest, there is nothing he can do, he can not brute-force the remaining two private keys. He must have access to at least two private keys in order to spend from the multisig wallet.

What if i lost 1 of public keys, is it possible to have acess to the multisig wallet?
Private keys are used to access multisig wallets, the private keys can regenerate the public keys, so that is not an issue if you have the private keys. But, like in 2 of 3 multisig wallet, if you lost one private key, better move the bitcoin to a new multisig wallet. Also, if you notice any scam attempt, best to move the bitcoin to a new multisig wallet.

For a 2 of 3 multisig, you'll need 2 private keys and one public key. If you don't have that public key, you can't move funds.

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

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

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

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

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

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











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











▄▄▄▄█
testingelcrypto (OP)
Jr. Member
*
Offline Offline

Activity: 31
Merit: 14


View Profile
April 05, 2021, 02:00:45 PM
 #3



What if i lost 1 xpubs. can i get acess to the wallet even if i have 2 private keys ? can i get the last xpubs that i lost?
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4861



View Profile
April 05, 2021, 02:04:51 PM
 #4

What if i lost 1 xpubs. can i get acess to the wallet even if i have 2 private keys ? can i get the last xpubs that i lost?
You mean if you lost one private key?

It depends, if it is 2 of 2 multisig wallet, you will not be able to access the fund again if you lost one private key. So, it depends on the numbers of cosigners. If you do not lost more than or exactly the number of co-signer private key, you will still be able to access your funds.

But, if you lost (public key), you can still use private key to regenerate public key. Private key is the one needed to not be lost.

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

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

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

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

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

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











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











▄▄▄▄█
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2184
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
April 05, 2021, 02:06:54 PM
 #5

If a hacker has access to your master public key the only thing they can do is see your public addresses.  Your privacy will be compromised, but your funds will remain secure.  If your seed phrase or your master private key for a multi-sig wallet were compromised, the hacker still won't be able to sign transactions unless he has access to remaining quantity of xpriv keys needed.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
testingelcrypto (OP)
Jr. Member
*
Offline Offline

Activity: 31
Merit: 14


View Profile
April 05, 2021, 02:11:49 PM
 #6

Its a 2-3 multi sig. What i mean by xpub is the master public key, not the private key.
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4861



View Profile
April 05, 2021, 02:12:27 PM
 #7

If a hacker has access to your master public key the only thing they can do is see your public addresses.  Your privacy will be compromised, but your funds will remain secure.  If your seed phrase or your master private key for a multi-sig wallet were compromised, the hacker still won't be able to sign transactions unless he has access to remaining quantity of xpriv keys needed.
You are right, but it does not necessarily mean the hacker should have access to all the private key before the wallet will be compromised, it depends on the M of N multisig wallet that was created. Like in the 2 of 3 multisig wallet I explained above, the hacker only needs to know 2 out of the 3 private key to compromised the wallet, but in 2 of 2 multisig wallet, the hack needs all (the two) private key to compromise the wallet.

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

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

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

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

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

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











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











▄▄▄▄█
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16637


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 05, 2021, 02:14:10 PM
Merited by Charles-Tim (1)
 #8

What if i lost 1 xpubs. can i get acess to the wallet even if i have 2 private keys ? can i get the last xpubs that i lost?
As far as I know, you could use an old transaction from the same multisig address to get what you need (but I couldn't tell you how).

Private keys are used to access multisig wallets, the private keys can regenerate the public keys, so that is not an issue if you have the private keys.
For a 2 of 3 multisig, you'll need 2 private keys and one public key. If you don't have that public key, you can't move funds.

testingelcrypto (OP)
Jr. Member
*
Offline Offline

Activity: 31
Merit: 14


View Profile
April 05, 2021, 02:20:40 PM
 #9

What if i lost 1 xpubs. can i get acess to the wallet even if i have 2 private keys ? can i get the last xpubs that i lost?
As far as I know, you could use an old transaction from the same multisig address to get what you need (but I couldn't tell you how).

Private keys are used to access multisig wallets, the private keys can regenerate the public keys, so that is not an issue if you have the private keys.
For a 2 of 3 multisig, you'll need 2 private keys and one public key. If you don't have that public key, you can't move funds.

This is one of my questions. I am assuming one master public key is lost. And without the 3 master keys of a 2 of 3 multisig i think i cant recover the wallet even with the 3 private keys with me.
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2184
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
April 05, 2021, 02:32:32 PM
Merited by LoyceV (2)
 #10

This is one of my questions. I am assuming one master public key is lost. And without the 3 master keys of a 2 of 3 multisig i think i cant recover the wallet even with the 3 private keys with me.

If you have all three private keys, you can restore the wallet by creating a new multi-sig wallet with those private keys.  You'll be able extract the public keys in the process.  The public keys are derived from the private keys.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
testingelcrypto (OP)
Jr. Member
*
Offline Offline

Activity: 31
Merit: 14


View Profile
April 05, 2021, 02:36:09 PM
 #11

This is one of my questions. I am assuming one master public key is lost. And without the 3 master keys of a 2 of 3 multisig i think i cant recover the wallet even with the 3 private keys with me.

If you have all three private keys, you can restore the wallet by creating a new multi-sig wallet with those private keys.  You'll be able extract the public keys in the process.  The public key's are derived from the private keys.

And a scenario where someone only has 2 private keys and 2 master public keys. Can he get acess on a 2of3 multi sig?
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2184
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
April 05, 2021, 02:39:35 PM
 #12

And a scenario where someone only has 2 private keys and 2 master public keys. Can he get acess on a 2of3 multi sig?

Yes, but only if one of those public keys is not the derivative of either of the two private keys in his possession.  To steal the funds from a 2-of-3 multi-sig wallet the hacker would have to have at least two private keys, and the public key of the third wallet. 

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
testingelcrypto (OP)
Jr. Member
*
Offline Offline

Activity: 31
Merit: 14


View Profile
April 05, 2021, 02:42:59 PM
 #13

And a scenario where someone only has 2 private keys and 2 master public keys. Can he get acess on a 2of3 multi sig?

Yes, but only if one of those public keys is not the derivative of either of the two private keys in his possession.  To steal the funds from a 2-of-3 multi-sig wallet the hacker would have to have at least two private keys, and the public key of the third wallet. 

someone here also said that you can get all master public keys from a transaction from the multi sig wallet. is that true?
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2184
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
April 05, 2021, 02:54:47 PM
 #14

someone here also said that you can get all master public keys from a transaction from the multi sig wallet. is that true?

I believe almost anything LoyceV says, I've never encountered an occasion to doubt him.  I've never tried to do such a thing myself, so I don't know how it's done.  But if I'm not mistaken, only the xpubs of the wallets that signed the transaction can be extracted from the TXID.  So, if two private keys sign a 2-of-3 muli-sig wallet's a transaction only one of those two keys' xpubs can be extracted.  Furthermore, I believe one needs to know the remaining xpubs (the other two, in your case) to extract the unknown xpub.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
ranochigo
Legendary
*
Offline Offline

Activity: 2968
Merit: 4179



View Profile
April 05, 2021, 02:56:08 PM
Merited by LoyceV (2)
 #15

someone here also said that you can get all master public keys from a transaction from the multi sig wallet. is that true?
You can get a redeem script of the multisig address if you're able to get a transaction for which the inputs are from the multisig address. This gives you all of the possible public keys that are in the redeem script. Master public keys are not located in the redeem script or at least I've never seen any redeem scripts like that. For wallets that uses xpubs to generate multiple multisigs in a HD manner, each of the redeem script contains the public keys of the addresses that are generated deterministically from the xpub and at the specific indexes for example the first address contains the public keys from the first address generated by the 3 xpubs, and so on.

Let me know if you need an example of a redeem script from a transaction.

But if I'm not mistaken, only the xpubs of the wallets that signed the transaction can be extracted from the TXID.  So, if two private keys sign a 2-of-3 muli-sig wallet's a transaction only one of those two keys' xpubs can be extracted.  Furthermore, I believe one needs to know the remaining xpubs to extract the unknown xpub.
No you can't. If you're using xpubs to generate those multisigs, the wallet actually uses the public keys from each of the individual xpubs and the xpubs are never defined.

Redeem scripts are not revealed to others unless in a transaction. Your addresses are hash of the redeem script.

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

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

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

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

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

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











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











▄▄▄▄█
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18512


View Profile
April 05, 2021, 02:56:40 PM
 #16

This is one of my questions. I am assuming one master public key is lost. And without the 3 master keys of a 2 of 3 multisig i think i cant recover the wallet even with the 3 private keys with me.
3 private keys to an individual address in the multisig wallet would only allow you to spend funds on that individual address. They would not allow you to spend funds on any other address in the multisig wallet. If you have the 3 master private keys, then you can recover the wallet.

And a scenario where someone only has 2 private keys and 2 master public keys. Can he get acess on a 2of3 multi sig?
If you the 2 xpubs are derived from the 2 xprvs then no. If one of the xpubs is from the missing xprv, then yes.

someone here also said that you can get all master public keys from a transaction from the multi sig wallet. is that true?
I don't think so. You will be able to extract the three public key to that individual address if it has made a transaction from the redeemScript. You will not be able to extract the xpubs.

testingelcrypto (OP)
Jr. Member
*
Offline Offline

Activity: 31
Merit: 14


View Profile
April 05, 2021, 04:39:19 PM
 #17

if i use electrum to check my 3 public master keys i see that they all start with zPub. Is this an xPub ( master public key) and everything that we talked about ?
ranochigo
Legendary
*
Offline Offline

Activity: 2968
Merit: 4179



View Profile
April 05, 2021, 04:44:40 PM
 #18

if i use electrum to check my 3 public master keys i see that they all start with zPub. Is this an xPub ( master public key) and everything that we talked about ?
Yes. That is the bech32 standard (bc1). It'll be wrong to generalize them as xPub as there are many variations of the master public key.

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

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

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

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

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

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











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











▄▄▄▄█
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18512


View Profile
April 05, 2021, 04:45:45 PM
 #19

if i use electrum to check my 3 public master keys i see that they all start with zPub. Is this an xPub ( master public key) and everything that we talked about ?
Yes, the zpub is your master public key. The zpub is essentially the segwit (P2WSH in the case of this multi-sig wallet) version of the xpub, with the xpub being for legacy wallets (P2SH in the case of multi-sig).
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 10, 2021, 07:46:14 AM
Merited by o_e_l_e_o (2)
 #20

To recreate a 2-of-3 wallet in Electrum... you absolutely require 3 master keys... Electrum will not allow you to use individual private/public keys to create a multisig.

Electrum will only create a multisig from seeds or master keys... To be able to recreate and spend from a 2-of-3 multisig wallet using Electrum you need, at a minimum:

- 2 seeds or 2 master private keys
- 1 master public key

That would allow you to recreate the wallet and be able to spend from it... as the wallet file would contain the necessary private keys to be able to sign transactions.

If you also had 3 seeds or 3 master private keys (or some combination that resulted in having 3 seeds and master private keys in total) then you would also be able to recreate the wallet file.


What if i lost 1 xpubs. can i get acess to the wallet even if i have 2 private keys ? can i get the last xpubs that i lost?
No. There is no way to determine what the missing xpub is... if you only have 2 xprv's (or 2 seeds), then without either the 3rd seed, xprv or xpub, there is no way you can recreate the wallet in Electrum. Undecided

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6735


bitcoincleanup.com / bitmixlist.org


View Profile WWW
April 10, 2021, 08:37:44 AM
Merited by LoyceV (4), ABCbits (2), o_e_l_e_o (2)
 #21

Let's consider an alternate scenario where you have all the master public keys but you are missing two or three master private keys and this can't spend from the wallet.

If your derivation path was not hardened (and Electrum wallets are unhardened up to a point[1]), and you have an address' private key in addition to a master public key, it is possible to derive its corresponding master private key using an obscure BIP32 feature.



[1]: Electrum derives an extended key at m/84'/0'/0' as explained in the linked post, which is used to derive the addresses that it displays. That other derivation path is entirely unhardened and so it is possible to retrieve this extended key to get the master private key.

So, with 3 master public keys, and any three private keys each corresponding to the different master public keys, you can derive all the master private keys you're missing to be able to spend from the wallet.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18512


View Profile
April 10, 2021, 07:17:24 PM
 #22

So, with 3 master public keys, and any three private keys each corresponding to the different master public keys, you can derive all the master private keys you're missing to be able to spend from the wallet.
If you have the 3 master public keys, then you would only need two private keys (not three) to be able to spend from a 2-of-3 wallet, as long as the two private keys both correspond to different master public keys.
Pages: 1 2 [All]
  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!