Bitcoin Forum
May 05, 2024, 12:10:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Case Sensitive custom Seed  (Read 676 times)
rogertb (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 26, 2016, 05:33:21 PM
 #1

I was playing around with making a new wallet by restoring from a 32-character hex string and found that it is case-sensitive.  That kinda surprised me since I thought that the seed was just a big number.  Does it take a hash of that 32-char hex string or something?
1714911037
Hero Member
*
Offline Offline

Posts: 1714911037

View Profile Personal Message (Offline)

Ignore
1714911037
Reply with quote  #2

1714911037
Report to moderator
1714911037
Hero Member
*
Offline Offline

Posts: 1714911037

View Profile Personal Message (Offline)

Ignore
1714911037
Reply with quote  #2

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

Posts: 1714911037

View Profile Personal Message (Offline)

Ignore
1714911037
Reply with quote  #2

1714911037
Report to moderator
1714911037
Hero Member
*
Offline Offline

Posts: 1714911037

View Profile Personal Message (Offline)

Ignore
1714911037
Reply with quote  #2

1714911037
Report to moderator
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3472
Merit: 6122



View Profile
February 27, 2016, 07:46:12 AM
 #2

I was playing around with making a new wallet by restoring from a 32-character hex string and found that it is case-sensitive.  That kinda surprised me since I thought that the seed was just a big number.  Does it take a hash of that 32-char hex string or something?

Either I'm missing something or you are not talking about Electrum , what numbers man ? As far as I know seed is 13 words (not sure if you can change that) and the length of each word is random .

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
rogertb (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 27, 2016, 08:32:56 AM
 #3

I tested it again and it turns out that while it outputs the same seed, it gives different addresses.  I don't know why.

---------------------------

I start electrum.
I go to file New/Restore.
I choose to restore a standard wallet.
I enter  "1181F86F935A0064541EF354477F921D" into the box.
My seed is "about wrong since belief hurl flash very north lead drive paradise fact".

I repeat this procedure.
I enter "1181f86f935a0064541ef354477f921d" into the box. (Same as above, but lowercase.)
My seed is "about wrong since belief hurl flash very north lead drive paradise fact".

So the seed is the same, but when i check my addresses tab I have different addresses.

First Wallet receiving addresses:
12idacvvUzZ9HwJLQtUNMuYovgYxT9djvN
16Msu11MLTMLWUqPuPBkco5AXXZVgtXDzV
1A2cMiEnopXwqwAUWireFZ343joq1pJQuR

Second wallet receiving addresses:
15k7MBqJQEvHPXBQuGSeZ1wkyZoNAkGvmx
15Ej2msk15ZvfscPQSz9Ch5d7Vwy6ARABH
1JMecGKcJ7LTkxrSaip9rxq5WXspz2gZGP


Does anyone know why this happens?
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3472
Merit: 6122



View Profile
February 27, 2016, 08:39:21 AM
 #4

But why the hell you enter that weird code instead of the seed itself ? It make no sense . If you want to recover your wallet , you use the seed and not that weird thing you posted . how you got it on the first place ?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
rogertb (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 27, 2016, 03:06:57 PM
 #5

I want to use the hex code because I'm trying to make an m-of-n backup of it with the ssss utility in TAILS.  If I use the standard 13 word seed I get a huge secret that I then need to write down on a piece of paper.  If I can use hex I get something like 1/4th as long.

If electrum had an m-of-n feature I wouldn't need it, but it doesn't so this is my only option.

Also I don't know if i can trust the initial entropy of a live TAILS without persistence.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
February 28, 2016, 09:46:41 AM
 #6

For OmegaStarScream and others who don't understand what's going: This is a legacy feature from back when Electrum wasn't HD. Back then seeds were generated differently and one encoding of them was in hex.

To rogertb obviously this is not working how it should. I don't think it is wise to rely on this old feature for a new electrum wallet. It has only been included for backwards compatibility with old wallets.

Electrum does have native m of n support. It's called multisig. I suggest using that instead.

If for some reason you need to create your own custom length seed then use the command line option for that. The new type of seeds cannot be crafted by hand. They have a checksum in them so it requires a computer to do it.

rogertb (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 29, 2016, 05:43:59 AM
 #7

I looked into the multisig, but it doesn't seem like it was really intended to work like that.

To clarify, I want to have a relative gain control of my funds if I die or something.  Right now I believe my coins are safe from attackers, but if something happens to me personally the coins are just lost forever.

With the electrum multisig I made a wallet, but I can't restore it with just 2 pieces of information.  It may be 2-of-3 in terms of signing the transactions, but is it 2-of-3 in terms of restoring the entire wallet?

If I wanted a 2-of-3 backup I guess I could make a 3-of-4 multisig, then give each relative the master seed with 3 xpub keys so in effect they have a watching-only copy.  Then treat the 3 respective xprv keys as the 3 shares needed to sign transactions and distribute them. Is that what you meant?  It wouldn't make much sense to do it that way though. It's way more cumbersome than using the 13 seed words electrum makes by default and passing it through ssss. Plus my relatives would then have to deal with a multisig wallet which is less intuitive than a standard one.

Also the commands on the website initially didn't work for me with electrum 2.6.  I had to add the options after "make_seed" for it to work.
So "electrum --nbits=256 make_seed" had to be changed to "electrum make_seed --nbits=256"
and "electrum --entropy=123456 make_seed" had to be "electrum make_seed --entropy=123456"
maybe double-check and update the webpage?
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
February 29, 2016, 11:03:34 AM
Last edit: February 29, 2016, 11:25:42 AM by Abdussamad
 #8

With the electrum multisig I made a wallet, but I can't restore it with just 2 pieces of information.  It may be 2-of-3 in terms of signing the transactions, but is it 2-of-3 in terms of restoring the entire wallet?

It should be 2 seeds and 1 xpub. That should be enough to restore the wallet.

Ok so I just tried it and this is exactly how you would restore if you didn't have all the seeds. 2 seeds and one xpub. If you have just one seed then 1 seed + 2 xpubs would create a watch only wallet.

Also the commands on the website initially didn't work for me with electrum 2.6.  I had to add the options after "make_seed" for it to work.
So "electrum --nbits=256 make_seed" had to be changed to "electrum make_seed --nbits=256"
and "electrum --entropy=123456 make_seed" had to be "electrum make_seed --entropy=123456"
maybe double-check and update the webpage?

Thank you for that. I've corrected the page.
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!