Author

Topic: About bitcoincore encryptwallet command (Read 199 times)

newbie
Activity: 5
Merit: 0
October 03, 2019, 12: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.
legendary
Activity: 2170
Merit: 1789
October 02, 2019, 11:14:08 PM
#10
Or do you mean written/file backup of the passphrase?

Yes.
legendary
Activity: 2646
Merit: 6681
Self-proclaimed Genius
October 02, 2019, 08:59:13 AM
#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?
legendary
Activity: 2170
Merit: 1789
October 02, 2019, 08:42:13 AM
#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.
newbie
Activity: 5
Merit: 0
October 02, 2019, 12: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.
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
October 01, 2019, 11:37:26 AM
#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.
newbie
Activity: 5
Merit: 0
October 01, 2019, 12: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.
newbie
Activity: 5
Merit: 0
September 30, 2019, 11:54:41 PM
#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.
legendary
Activity: 2170
Merit: 1789
September 30, 2019, 11:53:39 PM
#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
legendary
Activity: 2646
Merit: 6681
Self-proclaimed Genius
September 30, 2019, 11:16:16 PM
#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.
newbie
Activity: 5
Merit: 0
September 30, 2019, 09:32:06 PM
#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.
Jump to: