BitShares Forum
Main => Technical Support => Topic started by: Chris4210 on January 03, 2017, 06:45:17 pm
-
I was testing the Multi-Sig function with two different accounts but ended up in a trap.
The accounts involved are:
A http://cryptofresh.com/u/tomorrowland
B http://cryptofresh.com/u/ticca2
The goal was that I need a signature from A + B for a transaction of account A
Account Details - A
Threshold 2
weight 1 Tomorrowland
weight 1 Ticca2
Problem Summary:
For any action Tomorrowland need the approval of ticca via approving a proposal (which is fine, no issue here). But the proposal also needs to be approved by Tomorrowland. This approval action of Tomorrowland required multisig approval from ticca which would mean another proposal from Tomorrowland which again Tomorrowland could not sign.
Mult Sig problem?
so is an auto sign from tomorrowland missing?
Chat protocoll:
BlockPay - Christoph Hering, [03.01.17 18:25]
How can I agree to a proposed transaction in a multi sig? I get a "no ownership" error :/
BlockPay - Christoph Hering, [03.01.17 18:26]
I have one account with 2 owners with 1 power each. I am now trying to change it back to 1 owner, but i canot do it. any Idea?
Bhuz, [03.01.17 18:29]
What is the threshold?
BlockPay - Christoph Hering, [03.01.17 18:30]
2
BlockPay - Christoph Hering, [03.01.17 18:30]
each owner key has 1
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:30]
Do you have both keys imported into your wallet?
Bhuz, [03.01.17 18:31]
You need both then
BlockPay - Christoph Hering, [03.01.17 18:31]
no, I have one in the lightclient, one on ol
BlockPay - Christoph Hering, [03.01.17 18:31]
I am training with multi sig
BlockPay - Christoph Hering, [03.01.17 18:31]
so the 2 keys are in seperate wallets
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:32]
They are owner keys, not active keys right?
BlockPay - Christoph Hering, [03.01.17 18:32]
yes, owner
BlockPay - Christoph Hering, [03.01.17 18:32]
I want to build a multi sig where 2 people have to sign a transaction of accoun a
BlockPay - Christoph Hering, [03.01.17 18:33]
if i do treshhold 2 with active keys, I still can transfer with just one key
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:34]
[In reply to BlockPay - Christoph Hering]
You should be able to propose a TX on one key and approve the proposal with the other key such as changing the threshold back to 1. IIRC there was a problem where you couldn't do TXs requiring active keys such as a transfer using owner keys.
BlockPay - Christoph Hering, [03.01.17 18:37]
Failed to broadcast the transaction:
Missing Authority
Data Security Node, [03.01.17 18:37]
u sure the owner is there?
BlockPay - Christoph Hering, [03.01.17 18:37]
I get that error when I want to approve a proposed transaction to change the ownership treshold back to 1
BlockPay - Christoph Hering, [03.01.17 18:38]
I tried both, a proposal from owner, and one from extern account
BlockPay - Christoph Hering, [03.01.17 18:38]
both do not work
BlockPay - Christoph Hering, [03.01.17 18:39]
I did not try to import the external account into the main wallet
BlockPay - Christoph Hering, [03.01.17 18:39]
and then try it again
Jim, [03.01.17 18:39]
I think the issue here is the multisig account to does not have permission to approve a proposal (for which it is a signer) as it requires multisig approval from its partner to broadcast that approval
Jim, [03.01.17 18:40]
Can you share the name of the multisig account so we can look at the permissions?
BlockPay - Christoph Hering, [03.01.17 18:41]
sure
BlockPay - Christoph Hering, [03.01.17 18:42]
http://cryptofresh.com/u/tomorrowland
BlockPay - Christoph Hering, [03.01.17 18:42]
[In reply to Jim]
I think so too
BlockPay - Christoph Hering, [03.01.17 18:42]
is it a design bug?
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:43]
What's ticca2? Do you have ticca2's active keys imported?
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:43]
Don't forget you need to approve your own proposal even if you were the one to propose it.
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:44]
So you need to approve from both ticca2 and your other key
BTSWolf, [03.01.17 18:44]
@ChristophHering will I be able to pay with blockpay at tomorrowland 2017?
BlockPay - Christoph Hering, [03.01.17 18:44]
I have ticca2 in a seperate wallet on the webwallet, tomorrowland is in a seperate wallet in lightclient
BlockPay - Christoph Hering, [03.01.17 18:44]
:P You will get a pin to tomorrowland
BTSWolf, [03.01.17 18:44]
A pin?
BlockPay - Christoph Hering, [03.01.17 18:45]
In the movie, people get a pin as entry ticket
BlockPay - Christoph Hering, [03.01.17 18:45]
here it would be a token
BlockPay - Christoph Hering, [03.01.17 18:45]
I approved the proposal from ticca2, but I cannot from tomorowland. Here i get the error
Jim, [03.01.17 18:46]
Desifn wise. If the theroy above is corect. I think it could be resolved if the person broadcasting a proposal would automatically be an approved of said proposal. Then you could propose a proposal which could be approved by the multisig partner who would then approve the actual proposal. Best method I have found is to use 3 accounts where 1 is a the multisig savings account a d the other 2 are signers
BTSWolf, [03.01.17 18:46]
So this is not related to the tomorrowland festivals?
Jim, [03.01.17 18:46]
[In reply to BTSWolf]
Yes soon you can pay with blockpay anywhere :)
BlockPay - Christoph Hering, [03.01.17 18:47]
mh, that will be the next test
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:48]
Check your permission tab, click on the public key and is there a "show a private key" label?
BlockPay - Christoph Hering, [03.01.17 18:49]
from the original owner or from the external owner?
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:49]
[In reply to BlockPay - Christoph Hering]
The one not owned by ticca2
BlockPay - Christoph Hering, [03.01.17 18:49]
ok
BlockPay - Christoph Hering, [03.01.17 18:51]
I can only see the private key from the orignal owner tomorrowland, I cannot see it from ticca the added owner
BTSWolf, [03.01.17 18:52]
[In reply to BTSWolf]
@ChristophHering
BlockPay - Christoph Hering, [03.01.17 18:52]
[In reply to BTSWolf]
nope, but they might buy the account later? I would be open to sell ;D
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:52]
[In reply to BlockPay - Christoph Hering]
If you can see the original owner private key when clicking on its public key, you shouldn't have any problems.
BTSWolf, [03.01.17 18:54]
Haha, should contact them, as far as I know they are already using their own currency on the festivals but still off-chain.
BlockPay - Christoph Hering, [03.01.17 18:55]
will probably happen this year
BlockPay - Christoph Hering, [03.01.17 18:55]
lets see, first we would need to get blockpay and the smartcoinswallet into a wristband
BlockPay - Christoph Hering, [03.01.17 18:55]
[In reply to (Valentin | Lin9uxis) from Devling.xyz]
ok, so what should I do with the private key?
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 18:57]
[In reply to BlockPay - Christoph Hering]
If it's shown, nothing it should just work
BlockPay - Christoph Hering, [03.01.17 18:57]
mh
BlockPay - Christoph Hering, [03.01.17 18:57]
I can import the account into the other wallet and see what happens
BlockPay - Christoph Hering, [03.01.17 18:57]
but then I still have a problem how to construct a 2 way multi sig
BlockPay - Christoph Hering, [03.01.17 19:02]
just short info, I put up a special thread for the bitshares mumble. You can find it here https://steemit.com/bitshares/@Chris4210/bitshares-hangout-2-1-6-17
Jim, [03.01.17 19:06]
[In reply to BlockPay - Christoph Hering]
I setup some test accounts with the same multisig as you to see if I could resolve the issue by importing keys. But I cannot import my privates keys into OL. Maybe you could try and confirm
BlockPay - Christoph Hering, [03.01.17 19:07]
mh even after I imported ticca2 into the same wallet as tomorrowland, I still cannot confirm the proposed transaction...
Jim, [03.01.17 19:08]
[In reply to BlockPay - Christoph Hering]
Sounds like you import was successful the :( wtf is going on with my browser
BlockPay - Christoph Hering, [03.01.17 19:08]
importing private key is the easiest
Jim, [03.01.17 19:08]
Can you see the private keys of ticca in the Tomorrowland account (little key icon) in permissions?
Jim, [03.01.17 19:09]
[In reply to BlockPay - Christoph Hering]
I just have a rolling open ledger symbol restore was fine then I click import keys and the wheels just keep turn ing
BlockPay - Christoph Hering, [03.01.17 19:11]
[In reply to Jim]
I can see the private owner keys, but not the private active keys. strange
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 19:11]
[In reply to BlockPay - Christoph Hering]
But they are both the same right?
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 19:12]
Also public keys =/= private keys
Jim, [03.01.17 19:12]
Active and owner are different. You could import the active as well for fun. I still think we'll will be in the same issue but wanted to see if there was a way out
Jim, [03.01.17 19:14]
[In reply to (Valentin | Lin9uxis) from Devling.xyz]
If the private keys are not imported he should not see the key icon yes? I think he has imported the owner private key of ticca into Tomorrowland. Just not the active key
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 19:14]
[In reply to Jim]
Ah you are right, his owner and active keys are different
BlockPay - Christoph Hering, [03.01.17 19:14]
[In reply to Jim]
correct
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 19:14]
[In reply to Jim]
Yup
Jim, [03.01.17 19:15]
Might as well import the active key as well
Jim, [03.01.17 19:15]
Best case if we get this working all we will do is reduce threshold to 1 and then start again.. with 3 axcounts
Jim, [03.01.17 19:16]
Wish I could play too :(
BlockPay - Christoph Hering, [03.01.17 19:16]
let me see what happens
BlockPay - Christoph Hering, [03.01.17 19:17]
http://cryptofresh.com/p/1.10.958
BlockPay - Christoph Hering, [03.01.17 19:17]
here is the proposal
BlockPay - Christoph Hering, [03.01.17 19:17]
maybe we get an idea here
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 19:18]
[In reply to BlockPay - Christoph Hering]
You have not approved the proposal with either ticca2 or with the other keys
Jim, [03.01.17 19:19]
I am looking in the wallet and ticca has approved
BlockPay - Christoph Hering, [03.01.17 19:19]
I have with ticca2, but i cannot with tomorrowland
Jim, [03.01.17 19:19]
Maybe cryptofresh takes time to update
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 19:20]
[In reply to Jim]
Hmm maybe, I trust you :P
BlockPay - Christoph Hering, [03.01.17 19:20]
Also when I try to make a 2nd proposal with tomorrowland to approve the 1nd proposal, I get an error.
BlockPay - Christoph Hering, [03.01.17 19:20]
its really a trap haha
(Valentin | Lin9uxis) from Devling.xyz, [03.01.17 19:21]
Wait you don't make a second proposal, you just approve and choose the correct key
Jim, [03.01.17 19:21]
Can you propose an approval? - I think the problem will still exist as the proposal will still need to be approve and the account does not have authority to broadcast ot
Jim, [03.01.17 19:21]
Sorry slow msg
BlockPay - Christoph Hering, [03.01.17 19:21]
[In reply to (Valentin | Lin9uxis) from Devling.xyz]
thats the problem, I cannot approve the 1nd proposal :/
BlockPay - Christoph Hering, [03.01.17 19:22]
I cannot even add a 3 owner key with a 2 threshold power because i need aproval for that too lol
Jim, [03.01.17 19:22]
[In reply to BlockPay - Christoph Hering]
Yes
Jim, [03.01.17 19:23]
When I did my test I found the same trap but because I didn't multisig the owners I could just back out and try again
BlockPay - Christoph Hering, [03.01.17 19:24]
maybe fabian has an idea when he is back, he is at a meetup tng
BlockPay - Christoph Hering, [03.01.17 19:24]
Maybe it would be also helpful to set up a small warning for this problem. So that other people can read about that problem.
Jim, [03.01.17 19:27]
For any action Tomorrowland need the approval of ticca via approving a proposal (which is fine, no issue here). But the proposal also needs to be approved by Tomorrowland. This approval action of Tomorrowland required multisig approval from ticca which would mean another proposal from Tomorrowland which again Tomorrowland could not sign
BlockPay - Christoph Hering, [03.01.17 19:27]
correct
BlockPay - Christoph Hering, [03.01.17 19:28]
so is an auto sign from tomorrowland missing? @xeroc
Any ideas how can I out of the trap? How can I separate these two accounts again?
-
problem solved already.
I had to put the private keys of both accounts into one wallet and change the ownership threshold from 2 to 1 without a transaction proposal.
That did the job.