Pages:
Author

Topic: Mycelium Bitcoin Wallet - page 45. (Read 586368 times)

legendary
Activity: 1258
Merit: 1027
November 10, 2015, 09:56:34 AM

This tool works, but requires share format conversion.  It's not very easy, but doable.

Let's take this 2-of-3 example from the spec:...

Thanks for taking the time to put this together!

I got all the way up to "converting the result with Base58Check", thats where you lost me.

I did review https://en.bitcoin.it/wiki/Base58Check_encoding but again, ended up feeling like it was greek.

This has been a good exercise, and I will continue learning about the cryptography, but I'm really looking for something the average guy can use (i.e. me) to easily assemble Shamir's Secret Sharing keys into a Bitcoin WIF private key, does this not exist?

hero member
Activity: 870
Merit: 585
November 10, 2015, 12:44:49 AM
A private key has 256 bits, or 64 hex characters.  The private key in this example is
be1583452771c1def6789be9ab5086bf3c18dd47aa99d785056ba330bcda7aaf
Prepending 0x80 is the first step in converting to WIF.
This wiki has a good explanation:
https://en.bitcoin.it/wiki/Wallet_import_format

Of course the wallet details tab on bitaddress.org will do the conversion for you, also brainwallet.org, or similar tools.  Safest to go to github for this kind of thing.
newbie
Activity: 22
Merit: 0
November 09, 2015, 07:18:42 PM
Alternative tool for spending from a 2 of 3 Mycelium Entropy Shamir's Secret Sharing paper wallet?


In my own googleing I found this tool:

http://passguardian.com/


This tool works, but requires share format conversion.  It's not very easy, but doable.

Let's take this 2-of-3 example from the spec:
Code:
Private key: 5KG12Hn1g33JEFwdFsbjW4Hzi2fqdsEKZTtcJ3q9L6QFLvL1UJS
Secret: 80be1583452771c1def6789be9ab5086bf3c18dd47aa99d785056ba330bcda7aaf
2 of 3 encoding; share set ID 20ba; share length 60
  Share  1: SSS-5CJkUwdiUPZi2R8RJJzkUFvs1TWC22JAQD2T3QMyhuAvDgzrXKuhT5at
  Share  2: SSS-5CJkUyu8LAq7Newbgpc58SKsuNXvQyxAtnYzVjU1bRhF5hFYyvYaKToq
  Share  3: SSS-5CJkVAkE319sk7FZVnoUgaqge6vmK1bLXwN2mm9d3VgM5hzm6qdh5TrX
Like most things Bitcoin, Entropy shares are encoded in base-58, so let's decode the first two to hexadecimal:
Code:
$ base58 -d | hexdump -e '99/1 "%02x" "\n"'
5CJkUwdiUPZi2R8RJJzkUFvs1TWC22JAQD2T3QMyhuAvDgzrXKuhT5at
1320ba10c4d8212c98fd91b223a44db3faf5f9dafad9766ed42cf9807fc00c44f03b5aa14c178805cd                                                                                                                   
$ base58 -d | hexdump -e '99/1 "%02x" "\n"'
5CJkUyu8LAq7Newbgpc58SKsuNXvQyxAtnYzVjU1bRhF5hFYyvYaKToq
1320ba1108727dc0e28eac27395212cbcf171f3e35ebc4a67cbb59796c92a570adafc7d1740f5746c4
Any online base-58 decoding tool can be used, just remember to remove the SSS- prefix.

Divide the first share into constituent parts according to the spec:
Code:
13 20ba 1 0
c4d8212c98fd91b223a44db3faf5f9dafad9766ed42cf9807fc00c44f03b5aa14c
178805cd
The 8th digit (0) is x-1, so this share's number x = 1.
After discarding the first 8 digits (metadata) and last 8 digits (check sum), what's left is the encoded secret.  Prepend it with 80x according to secret.js's format (where x is the share's number):
Code:
801c4d8212c98fd91b223a44db3faf5f9dafad9766ed42cf9807fc00c44f03b5aa14c
and paste it into passguardian.com.

Do the same with the second share:
Code:
80208727dc0e28eac27395212cbcf171f3e35ebc4a67cbb59796c92a570adafc7d174

In 'Advanced', choose Hexadecimal secret type, then use Reconstruct.  The reconstructed secret will be
Code:
00be1583452771c1def6789be9ab5086bf3c18dd47aa99d785056ba330bcda7aaf
Note that secrets.js discards the most significant '1' bit, turning the leading 8 to 0.  Otherwise the secret is exactly what is expected.  After changing the first 0 back to 8 and converting the result with Base58Check, we get the private key in its usual form.

The spec also has a reference implementation in Python.
legendary
Activity: 1258
Merit: 1027
November 09, 2015, 10:36:49 AM
Alternative tool for spending from a 2 of 3 Mycelium Entropy Shamir's Secret Sharing paper wallet?

I have a Mycelium Entropy and am curious about the long term viability of easily spending from a private key protected with 2 of 3 Shamir's Secret Sharing.

I've read the specification here: https://github.com/cetuscetus/btctool/blob/bip/bip-xxxx.mediawiki

and this is pretty much greek to me:

Code:
Let (xi, y(xi)) be any M distinct shares for 0 ≤ i < M.
Let ni := x0 · … · xi−1 · xi+1 · … · xM−1 (in GF) for 0 ≤ i < M.
    That is, ni is the product in GF of all xj for 0 ≤ j < M and j ≠ i.
Let di := (x0−xi) · … · (xi−1−xi) · (xi+1−xi) · … · (xM−1−xi) (in GF) for 0 ≤ i < M.
    That is, di is the product in GF of all xj−xi for 0 ≤ j < M and j ≠ i.
Let a0 := y(x0)·n0·d0-1 + y(x1)·n1·d1-1 + … + y(xM−1)·nM−1·dM−1-1 (in GFL).
The secret is a0.

Also, my phone is iOS, and have read about issues with Mycelium wallet app.

My question is, if I put some coins in an SSS address generated by Mycelium Entropy what are my options in the future for spending those coins easily?

In my own googleing I found this tool:

http://passguardian.com/

https://github.com/amper5and/secrets.js

However it appears incompatable with Mycellium generated SSS:

Code:
Error
Reconstruction Error: Number of bits must be an integer between 3 and 20, inclusive.

This is EXACTLY what I'm looking for, just wish it worked...

Anyone have an other alternative or now how to make it compatible?
pm7
newbie
Activity: 34
Merit: 0
November 08, 2015, 05:31:24 AM
I have uninstalled the Mycelium app and I would advise others to do the same.

what platform you mean now? IOS or Anroid? Because I never had any issues with Android one..
im assuming hes talkinf about the iOS one, ive tried using it before but it just doesnt work well, transactions take half a day to show up in the wallet. the android one on the other hand works exceptionally
It shouldn't matter which one you are using, they should both function the same way.
An update might be in order on iOS for it to work out any bugs. 9.1 is out now.
Maybe they should function the same, but they don't. www.reddit.com/r/Bitcoin/comments/36ke99/mycelium_iphone_vs_android/
Quote from: trasla
It carries the brand name because the owner of mycelium decided he wants to have an iOS version as well. And it was developed by an external developer, because we - the Android devs - neither have the time nor the skill nor the intention to make an iPhone version.
hero member
Activity: 728
Merit: 500
EtherSphere - Social Games
November 08, 2015, 02:14:09 AM
I have uninstalled the Mycelium app and I would advise others to do the same.

what platform you mean now? IOS or Anroid? Because I never had any issues with Android one..
im assuming hes talkinf about the iOS one, ive tried using it before but it just doesnt work well, transactions take half a day to show up in the wallet. the android one on the other hand works exceptionally
It shouldn't matter which one you are using, they should both function the same way.
An update might be in order on iOS for it to work out any bugs. 9.1 is out now.
legendary
Activity: 1484
Merit: 1001
Personal Text Space Not For Sale
November 08, 2015, 01:21:55 AM
The new update look great. However, I dont think I will ever need those additional features. I was wondering, how can I send to two addresses or more in one single transaction? So that I do not to spread the transactions and pay more fees than I should.
hero member
Activity: 695
Merit: 500
November 07, 2015, 08:37:12 AM
How can I get rid of this?



I have it now for a month, and it is apparently not going away.

Perhaps the software should have a few sanity checks built-in.

A minimal solution could perhaps be never to disable the Abort Trade button.

Edit 2015-11-19 - Solved by the Mycelium team. They said they would make a modification to prevent this in the future.
sr. member
Activity: 475
Merit: 255
November 03, 2015, 09:04:04 AM
I have uninstalled the Mycelium app and I would advise others to do the same.

what platform you mean now? IOS or Anroid? Because I never had any issues with Android one..

Moto X on Android 4.4.4

I transferred funds into the wallet, then immediately tried to transfer funds out (this instigated the problem). It became stuck in limbo (0 confirmations / nodes rejected the hash) Reinstalling the app did not fix the problem. I tried transferring out the remaining balance and it could not successfully broadcast the transaction. I had to switch to a different app to recover the wallet. I hope this is not a widespread problem.

Just for curiosity:
How many confirmations did you wait between sending funds into Mycellium wallet and sending them out?
How big was your transaction fee (for both the IN and OUT transaction)?
... because transaction could be just stuck in the network, independently from Mycellium.
hero member
Activity: 756
Merit: 500
October 24, 2015, 03:14:46 PM
I have uninstalled the Mycelium app and I would advise others to do the same.

what platform you mean now? IOS or Anroid? Because I never had any issues with Android one..
im assuming hes talkinf about the iOS one, ive tried using it before but it just doesnt work well, transactions take half a day to show up in the wallet. the android one on the other hand works exceptionally
legendary
Activity: 1456
Merit: 1000
October 19, 2015, 02:27:15 PM
I have uninstalled the Mycelium app and I would advise others to do the same.

what platform you mean now? IOS or Anroid? Because I never had any issues with Android one..

Moto X on Android 4.4.4

I transferred funds into the wallet, then immediately tried to transfer funds out (this instigated the problem). It became stuck in limbo (0 confirmations / nodes rejected the hash) Reinstalling the app did not fix the problem. I tried transferring out the remaining balance and it could not successfully broadcast the transaction. I had to switch to a different app to recover the wallet. I hope this is not a widespread problem.
legendary
Activity: 1036
Merit: 1001
/dev/null
October 19, 2015, 02:12:48 PM
I have uninstalled the Mycelium app and I would advise others to do the same.

what platform you mean now? IOS or Anroid? Because I never had any issues with Android one..
legendary
Activity: 1456
Merit: 1000
October 19, 2015, 07:36:09 AM
I have two frozen transactions with the android Mycelium wallet. They have been stuck since yesterday and I am unable to send the remaining balance. The balance shown is 0.3 higher than it should be if everything went through. So far, this has been my worst experience with a Bitcoin wallet.

Update: Reinstalling Mycelium came up with the same errors and stuck transactions. In the end I had to recover the wallet with Coinomi. The original transactions never went through. I have uninstalled the Mycelium app and I would advise others to do the same.
full member
Activity: 206
Merit: 100
October 18, 2015, 12:00:09 AM
uhh im 99.999% sure they have received the funds i checked your transaction on blockchain and u had a decent fee so it has has went through no prob
https://blockchain.info/tx/48ee1336e959e5211c5c83c98e00500581481b47eb278187abddc6f9512c763e
I feel stupid! That's what I get for using blockexplorer.com instead of the more reliable blockchain.info.
hero member
Activity: 756
Merit: 500
October 17, 2015, 09:36:24 PM
I don't know if this is a Mycelium question or a generic Bitcoin question, but here it is:
Using Mycelium, I sent some bitcoin to coffee.foldapp.com. They didn't get it, so I investigated.
On Blockexplorer.com, the transaction says "value error". Does anyone know what that means?
The transaction is 48ee1336e959e5211c5c83c98e00500581481b47eb278187abddc6f9512c763e.
The smaller output is the FoldApp address, and the larger one is thy Mycelium HD change address.
uhh im 99.999% sure they have received the funds i checked your transaction on blockchain and u had a decent fee so it has has went through no prob
https://blockchain.info/tx/48ee1336e959e5211c5c83c98e00500581481b47eb278187abddc6f9512c763e
full member
Activity: 206
Merit: 100
October 17, 2015, 08:51:35 PM
I don't know if this is a Mycelium question or a generic Bitcoin question, but here it is:
Using Mycelium, I sent some bitcoin to coffee.foldapp.com. They didn't get it, so I investigated.
On Blockexplorer.com, the transaction says "value error". Does anyone know what that means?
The transaction is 48ee1336e959e5211c5c83c98e00500581481b47eb278187abddc6f9512c763e.
The smaller output is the FoldApp address, and the larger one is thy Mycelium HD change address.
legendary
Activity: 1036
Merit: 1001
/dev/null
October 17, 2015, 05:41:41 PM
In my opinion the best option for iphone is the blockchain wallet app.

If you want to lose your BTC, absolutely.

you forgot to "improve" his trust?Smiley
hero member
Activity: 756
Merit: 500
October 17, 2015, 04:05:28 PM
In my opinion the best option for iphone is the blockchain wallet app.

If you want to lose your BTC, absolutely.
well what wallet would you recommend?. im currently looking for an ios wallet that lets me import my private keys
legendary
Activity: 3038
Merit: 1032
RIP Mommy
October 17, 2015, 03:07:40 PM
In my opinion the best option for iphone is the blockchain wallet app.

If you want to lose your BTC, absolutely.
sr. member
Activity: 336
Merit: 251
October 17, 2015, 10:46:10 AM
on IOS, you can still use breadwallet (http://breadwallet.com), so far so good and also reviews are generally positive. I used to just for import private keys and send bitcoins to another wallet, but it simply works fine.

Yes I know but I have a Trezor and all my wallets are on it and with MyCelium you can link to the Trezor and do transactions but apparently this is not in the iOS version as I thought. I was under the impression that the iOS version was a mirror image of the Android one but sad to say, seems not to be the case.

So I either stay with Android or switch to Breadwallet and use the Trezor only from pc.
Pages:
Jump to: