Bitcoin Forum
October 15, 2019, 07:36:41 AM *
News: Latest Bitcoin Core release: 0.18.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: About bitcoincore encryptwallet command  (Read 121 times)
bwv1056
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 01, 2019, 02:32:06 AM
 #1

About bitcoincore encryptwallet command.

BitcoinCore encryptwallet command is to prevent someone to access and steal private keys.

So I will encrypt my "wallet.dat" by using encryptwallet command.

------------------------------------------------------------------------
$ encryptwallet passphrase  interval
------------------------------------------------------------------------

But I doubt that how secure encryptwallet command is.

So I have two questions.

Q1.
Is it easy to decrypt encrypted wallet.dat by using random list attacking method or analyzing wallet.dat ?

In the past, have there been any cases where your passphrase has been decrypted ?

Q2,
-----------------------------------------------------------------------
Arguments:
1. "passphrase"    (string) The pass phrase to encrypt the wallet with.
It must be at least 1 character, but should be long.
-------------------------------------------------------------------------

What is the maximum passphrase length ?

I want to set my passphrase as long as possible.
1571125001
Hero Member
*
Offline Offline

Posts: 1571125001

View Profile Personal Message (Offline)

Ignore
1571125001
Reply with quote  #2

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

Activity: 742
Merit: 632


Self-proclaimed Genius ㊙️


View Profile WWW
October 01, 2019, 04:16:16 AM
Merited by ETFbitcoin (1)
 #2

Q1.
Is it easy to decrypt encrypted wallet.dat by [1] using random list attacking method or [2] analyzing wallet.dat ?
[3]In the past, have there been any cases where your passphrase has been decrypted ?
1. Depends on the strength of your passphrase: number of characters and randomness.
2. It's nearly impossible to decrypt using this method.
3. Well, there are some available passphrase bruteforcing tool like btcrecover; so if the leaked wallet.dat's passphrase is weak, it could be bruteforced easily.
What d you mean by "your", 2nd-person specific?
Me, never, I'm using a passphrase with long, mixed-case, numerical and punctuation mark characters.

Quote from: bwv1056
Q2,
What is the maximum passphrase length ?
I have no idea,
But you should check this article about passphrase: Passphrase Generation
It got all the information you need.

joniboini
Hero Member
*****
Offline Offline

Activity: 714
Merit: 1144


Exchange Bitcoin quickly-https://blockchain.com.do


View Profile WWW
October 01, 2019, 04:53:39 AM
Last edit: October 01, 2019, 06:39:38 AM by joniboini
 #3

1. "passphrase"    (string) The pass phrase to encrypt the wallet with.
It must be at least 1 character, but should be long.
-------------------------------------------------------------------------
What is the maximum passphrase length ?

It's 256 bits or 1.1 x 1077 chars according to this discussion.[1] You can use more but in the end, it would be useless because the encryption use 256 bits key. CMIIW.

[1] https://bitcoin.stackexchange.com/questions/41171/what-is-the-largest-password-passphrase-size-for-a-wallet-dat-file

bwv1056
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 01, 2019, 04:54:41 AM
 #4

Thank you for quick and useful answer.

Smiley
What d you mean by "your", 2nd-person specific?
Me, never, I'm using a passphrase with long, mixed-case, numerical and punctuation mark characters.
Sory I was confused.
I meant to express a person who encrypted his own wallet.dat with his password.

Thank for good advice !
I will take your advice and  use a passphrase  with long, mixed-case, numerical and punctuation mark characters.

I have no idea,
But you should check this article about passphrase: Passphrase Generation
It got all the information you need.
Thank for good information.
bwv1056
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 01, 2019, 05:05:29 AM
 #5

1. "passphrase"    (string) The pass phrase to encrypt the wallet with.
It must be at least 1 character, but should be long.
-------------------------------------------------------------------------
What is the maximum passphrase length ?

It's 256 bits or 1.1 x 1077 chars according to this discussion.[1] CMIIW.

[1] https://bitcoin.stackexchange.com/questions/41171/what-is-the-largest-password-passphrase-size-for-a-wallet-dat-file

Thank you for the good information.
>It's 256 bits or 1.1 x 1077 chars according to this discussion.[1] CMIIW.
I was relieved.
Dabs
Staff
Legendary
*
Offline Offline

Activity: 2478
Merit: 1287


The Concierge of Crypto


View Profile
October 01, 2019, 04:37:26 PM
 #6

The way Core encrypts is dependent on how fast your computer is, and whenever you do an update of the passphrase, it re-encrypts the master key. As far as I can tell, there is no maximum length, but I would stick to using characters you can actually type on a keyboard and not go longer than 60 or 70 characters. There is no point particularly if your password is already randomly generated.

bwv1056
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 02, 2019, 05:40:54 AM
 #7

The way Core encrypts is dependent on how fast your computer is, and whenever you do an update of the passphrase, it re-encrypts the master key. As far as I can tell, there is no maximum length, but I would stick to using characters you can actually type on a keyboard and not go longer than 60 or 70 characters. There is no point particularly if your password is already randomly generated.
Thank you for good advice.
I decide to set my passphrase between 60 and 70 characters.
Once I set my wallet passphrase, I do not have a plan to chagnge passphrase for a few years unless I have any trouble.
joniboini
Hero Member
*****
Offline Offline

Activity: 714
Merit: 1144


Exchange Bitcoin quickly-https://blockchain.com.do


View Profile WWW
October 02, 2019, 01:42:13 PM
 #8

I decide to set my passphrase between 60 and 70 characters.

Make sure to have a proper backup. You might not feel it right now, but lots of people lose their life savings because they forgot the password they usually used 1-2 years ago. In short: expect that you will not remember it instead of believing you won't forget your password.

nc50lc
Hero Member
*****
Offline Offline

Activity: 742
Merit: 632


Self-proclaimed Genius ㊙️


View Profile WWW
October 02, 2019, 01:59:13 PM
 #9

Make sure to have a proper backup. You might not feel it right now, but lots of people lose their life savings because they forgot the password they usually used 1-2 years ago. In short: expect that you will not remember it instead of believing you won't forget your password.
He can't do that, the non-encrypted wallet.dat won't restore the new private keys/addresses generated by the encrypted wallet because the wallet's master private key have changed (read).
Only old addresses before the encryption will be available; if he generate new addresses, they will be different.

Or do you mean written/file backup of the passphrase?

joniboini
Hero Member
*****
Offline Offline

Activity: 714
Merit: 1144


Exchange Bitcoin quickly-https://blockchain.com.do


View Profile WWW
October 03, 2019, 04:14:08 AM
 #10

Or do you mean written/file backup of the passphrase?

Yes.

bwv1056
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
October 03, 2019, 05:33:05 AM
 #11

I decide to set my passphrase between 60 and 70 characters.

Make sure to have a proper backup. You might not feel it right now, but lots of people lose their life savings because they forgot the password they usually used 1-2 years ago. In short: expect that you will not remember it instead of believing you won't forget your password.
Thank you for good advide.
I will backup my wallet.dat and my passphrase right after I encrypt my wallet.dat.
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!