Bitcoin Forum
May 10, 2024, 08:26:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum 2.7.13: Bitcoin sent from from multisig wallet without co-signing  (Read 416 times)
villabacho (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
January 05, 2017, 10:16:30 AM
 #1

Hi,

I set up a 2-of-2 multisig wallet with Electrum on 2 devices. I then sent some BTC to this wallet's address, and it showed up on both devices, so everything looked fine.
Then I sent BTC from the first of my multisig wallet pair. After pressing the "Send" button on the "Send" tab, I would have expected that electrum asks me to co-sign it,
but instead the BTC was sent already (I confirmed that it arrived at the target address). The outgoing transaction is also seen by the second wallet of the multisig wallet pair.

I'm new to Electrum, so my question might be stupid, but at least a quick google / forum / stack exchange search didn't give me an answer.
I was pretty sure also that I did the multi-sig setup correctly (following the documentation in http://docs.electrum.org/en/latest/multisig.html),
and the electrum title bar also says "default_wallet [2of2]".

It looks like the multi-signature requirement is just not effective. Do I have to turn it on explicitly after having set up my multisig wallet pair?

Thanks,
villabacho



The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715372767
Hero Member
*
Offline Offline

Posts: 1715372767

View Profile Personal Message (Offline)

Ignore
1715372767
Reply with quote  #2

1715372767
Report to moderator
1715372767
Hero Member
*
Offline Offline

Posts: 1715372767

View Profile Personal Message (Offline)

Ignore
1715372767
Reply with quote  #2

1715372767
Report to moderator
1715372767
Hero Member
*
Offline Offline

Posts: 1715372767

View Profile Personal Message (Offline)

Ignore
1715372767
Reply with quote  #2

1715372767
Report to moderator
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
January 05, 2017, 11:58:03 AM
 #2

open up your wallet file in a text editor like notepad. Do you see two xprvs like this:

http://paste.ubuntu.com/23745557/

villabacho (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
January 05, 2017, 01:04:59 PM
 #3

yes, there are two xprvs for x1/ and x2/, and they are different.
I have also "seed" entries, which you don't. Not sure if that matters.
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
January 05, 2017, 01:13:30 PM
 #4

note: OP posted here https://github.com/spesmilo/electrum/issues/2098

Electrum: the convenience of a web wallet, without the risks
villabacho (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
January 05, 2017, 01:28:48 PM
 #5


Yes, sorry for cross-posting, but I thought if it was a bug then github might be the better place to report this; if not, might be better to ask here. Anyway, the issue I opened at github was closed because of "no evidence of a bug".

So, if it's not a bug, then I'm probably doing something wrong. I just have no idea what...

Thanks for your help!

villabacho (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
January 05, 2017, 05:13:38 PM
 #6

Ah! That's what happened:

In the "Add cosigner" dialog of wallet creation, I was presented three options:

  • Enter cosigner key
  • Enter cosigner seed
  • Cosign with hardware device

Because the cosigner wallet was on my Android smartphone, I preferred the seed rather than the public key because the seed would be more convenient to type by hand. I didn't want to transfer anything electronically (which of course, thinking about it, is not dangerous at all with the public key).

Naively, I thought that from the seed the cosigner's public key and ONLY the public key would be derived. I wasn't aware that also the cosigners private key would be stored and thus cosigning would then be done in the same wallet that initiates the transaction. In other words, more or less unconsciously I assumed it wouldn't be implemented that way because that would make multisig pointless (that was my idea at least).

Wow... it's really not for newbies  Grin ... and I still didn't leave the newbie state entirely behind me... at least I'm already smart enough to search for a better bitcoin storage than an exchange  Grin

As a follow-up question, what's the use case then for the "Enter cosigner seed" option?
villabacho (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
January 05, 2017, 05:15:50 PM
 #7

BTW, thanks everyone for helping!
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
January 05, 2017, 09:49:19 PM
 #8

As a follow-up question, what's the use case then for the "Enter cosigner seed" option?

Say you have a 2 of 3 wallet with 1 key on your PC, one backup key you store offline and one on another device. If you lose your other device and you wish to recover your wallet you can enter the seed on your PC + the backup seed you've stored offline.
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!