Bitcoin Forum
October 23, 2019, 03:38:56 AM *
News: Latest Bitcoin Core release: 0.18.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin core v 0.17.1 how can have a good backUp? problem with HD feature  (Read 139 times)
spart3x
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 31, 2019, 03:27:23 PM
 #1

Hi all,
i use bitcoin core v0.17.1 for store my bitcoins,
What can I do to get a good backup?

I used the dumpwallet command and I followed the backup procedures from the GUI by putting all the files on an encrypted usb pen.
but I read that from the xpriv(private masterkey) derived all the wallets created following precisely the xpriv, but that the xpriv was created by the root seed (in fact a part of the xpriv is the same for all the wallets).
Is it possible to extract the root seed?
does the root seed have to be encrypted in some way to avoid being vulnerable?
or am I just getting too worried and don't have to think about root seeds? Smiley

thank you.BTC
1571801936
Hero Member
*
Offline Offline

Posts: 1571801936

View Profile Personal Message (Offline)

Ignore
1571801936
Reply with quote  #2

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

Posts: 1571801936

View Profile Personal Message (Offline)

Ignore
1571801936
Reply with quote  #2

1571801936
Report to moderator
1571801936
Hero Member
*
Offline Offline

Posts: 1571801936

View Profile Personal Message (Offline)

Ignore
1571801936
Reply with quote  #2

1571801936
Report to moderator
1571801936
Hero Member
*
Offline Offline

Posts: 1571801936

View Profile Personal Message (Offline)

Ignore
1571801936
Reply with quote  #2

1571801936
Report to moderator
mindrust
Legendary
*
Offline Offline

Activity: 1582
Merit: 1596


The charts never lie.


View Profile
March 31, 2019, 03:42:23 PM
 #2

How many addresses you are actively using?

If it is only 1-5, there is no need to use dumpwallet function or any other comlicated stuff.

Just extract your private keys by using dumpprivkey and write them down. You keep them in a Word file in a USB stick or on a hard paper, it is up to you. I would personally do both.




▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄                  ▄▄▄   ▄▄▄▄▄        ▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄
 ▀████████████████▄  ████                 █████   ▀████▄    ▄████▀  ▄██████████████   ████████████▀  ▄█████████████▀  ▄█████████████▄
              ▀████  ████               ▄███▀███▄   ▀████▄▄████▀               ████   ████                ████                   ▀████
   ▄▄▄▄▄▄▄▄▄▄▄█████  ████              ████   ████    ▀██████▀      ██████████████▄   ████████████▀       ████       ▄▄▄▄▄▄▄▄▄▄▄▄████▀
   ██████████████▀   ████            ▄███▀     ▀███▄    ████        ████        ████  ████                ████       ██████████████▀
   ████              ████████████▀  ████   ██████████   ████        ████████████████  █████████████▀      ████       ████      ▀████▄
   ▀▀▀▀              ▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀       ▀▀▀▀        ▀▀▀▀▀

#1 CRYPTO CASINO & SPORTSBOOK
  WELCOME
BONUS
.INSTANT & FAST.
.TRANSACTION.....
.PROVABLY FAIR.
......& SECURE......
.24/7 CUSTOMER.
............SUPPORT.
BTC      |      ETH      |      LTC      |      XRP      |      XMR      |      BNB      |     more
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1190
Merit: 1066


people run from rain but sit in bathtubs of water


View Profile
March 31, 2019, 04:16:20 PM
 #3

Hi all,
i use bitcoin core v0.17.1 for store my bitcoins,
What can I do to get a good backup?

I used the dumpwallet command and I followed the backup procedures from the GUI by putting all the files on an encrypted usb pen.
but I read that from the xpriv(private masterkey) derived all the wallets created following precisely the xpriv, but that the xpriv was created by the root seed (in fact a part of the xpriv is the same for all the wallets).
Is it possible to extract the root seed?
does the root seed have to be encrypted in some way to avoid being vulnerable?
or am I just getting too worried and don't have to think about root seeds? Smiley

thank you.BTC

As far as i understand it, the root seed is basically what generates the extended master private key, (master private key + "chain code")
See:
The root seed is hashed to create 512 bits of seemingly-random data, from which the master private key and master chain code are created (together, the master extended private key). The master public key is derived from the master private key using point()
Quote
Is it possible to extract the root seed?

And as far as i can see, there is no way of directly exporting the root seed out of Bitcoin core. Dumpwallet will give you the extended master private key, but not the seed from which it was computed..?
(I'm actually quite curious myself to know if this is possible, but i doubt it.)

Quote
does the root seed have to be encrypted in some way to avoid being vulnerable?
If you're storing your extended master private key in a potentially insecure environment, i'd indeed recommend to encrypt it, yes. An attacker will be able to regenerate your entire wallet if you don't.


Thirdspace
Hero Member
*****
Offline Offline

Activity: 1134
Merit: 719


Mixing reinvented for your privacy | chipmixer.com


View Profile
March 31, 2019, 11:29:30 PM
Merited by Jet Cash (2)
 #4

i use bitcoin core v0.17.1 for store my bitcoins,
What can I do to get a good backup?

I used the dumpwallet command and I followed the backup procedures from the GUI by putting all the files on an encrypted usb pen.
If you have saved backup (wallet.dat) on a usb drive, that's already good enough
saving a dumpwallet file (on the same location) is not necessary once you have backup file saved and secured properly
one recommendation is setting a passphrase on your wallet to secure it before making backup
then you can also wrap that backup in a password protected zip file to add another layer of security 
that would make it total three layer protections on your backup Wink

HCP
Legendary
*
Offline Offline

Activity: 1120
Merit: 1838

<insert witty quote here>


View Profile
April 01, 2019, 10:31:57 AM
 #5

i use bitcoin core v0.17.1 for store my bitcoins,
What can I do to get a good backup?
Make a backup (or three) of your "wallet.dat"

That is pretty much all you need to do to secure your Bitcoin Core wallet. You do not need to deal with xpriv's or individual private keys or seeds... just make sure you have your wallet.dat safely (and securely) backed up.

spart3x
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
April 02, 2019, 04:18:46 PM
 #6

thank you all for your kindness and courtesy in your reply,have a nice day Wink
cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1211


View Profile
April 09, 2019, 03:41:57 AM
 #7

The fact that all the stuff dealing with private keys is hard to find or even impossible to export (im not sure if you can access the root seed in Core as you can easily with electrum even you are prompted with it during the setup to print it) is a feature, since having that on display is too risky. So just keep backups of wallet.dat with an encrypted password.

An additional protection to avoid that if someone accesses the file: even if they can use it since they would need the wallet.dat password to transact, they could still see all of your addresses, previous tx's.. I never understood why the password doesn't hide all of that. A workaround is to encrypt the wallet.dat itself, you can use dmcrypt or LUKS in linux, put it inside a compressed file with a password, use a veracrypt container... use SHA256 and a decent password should be impossible to crack. The most important thing is having good memory, that is my problem and I lost access to my encrypted stuff because I cannot remember what the hell I typed as password.
HCP
Legendary
*
Offline Offline

Activity: 1120
Merit: 1838

<insert witty quote here>


View Profile
April 09, 2019, 06:14:28 AM
 #8

...An additional protection to avoid that if someone accesses the file: even if they can use it since they would need the wallet.dat password to transact, they could still see all of your addresses, previous tx's.. I never understood why the password doesn't hide all of that...
I vaguely recall seeing an explanation as to why this is the case... I seem to recall it was because if the wallet.dat was fully encrypted (and not just private keys) you would need the password simply to open the wallet file at startup, and that this would be problematic when using "bitcoind", as it doesn't have a GUI to prompt the user for input etc.

At the end of the day... the private keys are protected (the most important thing) and if someone has access to be able to read your wallet.dat... you've probably got bigger problems that their ability to see your transactions/balances etc. Tongue

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!