Bitcoin Forum
November 10, 2024, 08:48:29 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: I found a bug (March 21, 2018)  (Read 175 times)
birr (OP)
Hero Member
*****
Offline Offline

Activity: 870
Merit: 585


View Profile
March 21, 2018, 11:05:46 PM
 #1

I have two accounts in my Mycelium Android wallet.  They are labeled:

Bitcoin HD(1)  and   Other(1)

They are both HD wallets.

When I go to the Other(1) account and try to export the seed, it gives me the seed of the Bitcoin HD(1) account.
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
March 22, 2018, 07:45:20 AM
Last edit: March 22, 2018, 07:57:27 AM by Xynerise
 #2

It's not a bug, but a feature.
Quote
All created HD Accounts are based on the same seed.

It uses BIP 44 to create different "accounts" with the same seed.
If you ever want to restore your other HD Accounts with the same seed then create new accounts when you import your seed into Mycelium.

Or use the following derivation paths:
Code:
m/44'/0'/0'/0
for the default account
Code:
m/44'/0'/1'/0
for the first HD account
Just keep incrementing the number depending on the number of accounts you have.
birr (OP)
Hero Member
*****
Offline Offline

Activity: 870
Merit: 585


View Profile
March 22, 2018, 06:41:16 PM
Last edit: March 22, 2018, 07:04:07 PM by birr
 #3

It's not a bug, but a feature.
Quote
All created HD Accounts are based on the same seed.


These are NOT two hd accounts based on the same seed.

They are two completely independent hd accounts, created from two different seeds.

Mycelium is able to do that.  Go to Add New Account --> Advanced.  You can scan an HD account that's completely unrelated to anything you have on the phone already.

I didn't create the second hd account from the first one.  The two accounts have different seeds.
The second account in this case is not a sub-account of the first one.  It is a new account with a DIFFERENT SEED.

Mycelium can run two (or more) wallets with different seeds, but only exports the seed of one of them.
That's a bug, and there's no use mincing words about it.
And just for the record, I'm not saying that the ability to run two accounts with different seeds is a bug.
The bug is mycelium's inability to export more than one seed.
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
March 22, 2018, 08:35:03 PM
Last edit: March 22, 2018, 08:45:40 PM by Xynerise
 #4



These are NOT two hd accounts based on the same seed.

They are two completely independent hd accounts, created from two different seeds.

Mycelium is able to do that.  Go to Add New Account --> Advanced.  You can scan an HD account that's completely unrelated to anything you have on the phone already.

I didn't create the second hd account from the first one.  The two accounts have different seeds.
The second account in this case is not a sub-account of the first one.  It is a new account with a DIFFERENT SEED.

Mycelium can run two (or more) wallets with different seeds, but only exports the seed of one of them.
That's a bug, and there's no use mincing words about it.
And just for the record, I'm not saying that the ability to run two accounts with different seeds is a bug.
The bug is mycelium's inability to export more than one seed.
Again, it's a feature, not a bug.
Mycelium warns you that the keys won't be added to your Master-seed backup and implores you to have a separate backup of it.

AFAIK NO mobile wallet will save two different seed phrases; usually if you import bitcoin private keys through a seed phrase it deletes the old wallet to prevent confusion.
birr (OP)
Hero Member
*****
Offline Offline

Activity: 870
Merit: 585


View Profile
March 23, 2018, 03:56:43 PM
 #5

You're kind of new here, I can see.  Making a practice of derailing discussion so that nothing comes of it.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
March 23, 2018, 07:17:31 PM
 #6

I didn't create the second hd account from the first one.  The two accounts have different seeds.
The second account in this case is not a sub-account of the first one.  It is a new account with a DIFFERENT SEED.

If you created an account within mycelium it will get derived from your master seed including a 'counter'.
Did you create it within mycelium or did you import it?



Mycelium can run two (or more) wallets with different seeds, but only exports the seed of one of them.
That's a bug, and there's no use mincing words about it.

Mycelium does export the seed created within the application (which is enough to retrieve all HD accounts create within the app).
For imported seed mycelium states that there has to be a seperate backup stored. Thats not a bug imo.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
March 24, 2018, 02:12:23 AM
 #7

These are NOT two hd accounts based on the same seed.

They are two completely independent hd accounts, created from two different seeds.

Mycelium is able to do that.  Go to Add New Account --> Advanced.  You can scan an HD account that's completely unrelated to anything you have on the phone already.

I didn't create the second hd account from the first one.  The two accounts have different seeds.
The second account in this case is not a sub-account of the first one.  It is a new account with a DIFFERENT SEED.
Correct


Quote
Mycelium can run two (or more) wallets with different seeds, but only exports the seed of one of them.
That's a bug, and there's no use mincing words about it.
And just for the record, I'm not saying that the ability to run two accounts with different seeds is a bug.
The bug is mycelium's inability to export more than one seed.
Not quite correct. Mainly, because you didn't import a "seed", as you can't actually import a seed. What you have imported is a "Master Private Key"... which is derived from a seed (using a specific derivation path), but is NOT a seed.

Thus, there is no 2nd seed for Mycelium to export.

Additionally, they have a warning saying that you need to maintain separate backups of any imported keys.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!