Bitcoin Forum
May 17, 2024, 05:58:16 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is my qt wallet .dat file secure?  (Read 1511 times)
raskolnikovx (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
November 19, 2013, 08:35:56 PM
 #1

I need some opinions on this.
The thing is that I wanna be able to store my .dat file in places like dropbox because I wanna a local hardware massive failure recovery plan.
This is what I am doing right now with my backup file (I am using Debian)

1) Get the file
2) Zip the file with password (zip --password MYSTRONGPASSWORD bck.zip bck.dat)
3) Take the zipped file and encrypt it with Openssl enc (openssl enc -in bck.zip -aes-256-cbc -e > bck.zip.enc)

I am using two different strong passwords in steps 2 and 3.

So, would you call this safe so as to upload it to a place that might be compromised?

Thanks in advance!
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
November 19, 2013, 08:46:32 PM
 #2

Just rename the file not to hint about it being a BTC wallet (I know it's a dumb advice, but sometimes you just forget little details... Cheesy), and you're more than fine, in my opinion.
Double-check you can reverse the encryption process before uploading, too, just in case you mistyped anything...

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
raskolnikovx (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
November 19, 2013, 08:50:48 PM
 #3

Just rename the file not to hint about it being a BTC wallet (I know it's a dumb advice, but sometimes you just forget little details... Cheesy), and you're more than fine, in my opinion.
Double-check you can reverse the encryption process before uploading, too, just in case you mistyped anything...

You are right, that would be step 1. Will do
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
November 19, 2013, 09:33:06 PM
 #4

or you can, you know... use the built in wallet encryption

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Cryddit
Legendary
*
Offline Offline

Activity: 924
Merit: 1129


View Profile
November 19, 2013, 09:43:36 PM
 #5

Use the built in wallet encryption. 

When it prompts you for a password, type something more than 200 characters long which nobody else will *EVER* guess.  No quotes!  Use interesting and memorable juxtapositions that make no sense whatsoever.  Make up something fictitious and describe it verbosely in terms of three or four other fictitious things. 

DO NOT: use a password less than 60 characters long that you can remember.  If you can remember it, a cracker can hack it.

If your password is secure, you don't have to worry about storing that file anywhere, whether you change its name or not.
raskolnikovx (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
November 19, 2013, 09:54:29 PM
 #6

or you can, you know... use the built in wallet encryption

I will research into this. Thanks a lot
raskolnikovx (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
November 19, 2013, 10:03:43 PM
 #7

or you can, you know... use the built in wallet encryption

I was actually doing this so the steps described above would be over the encrypted wallet backup file.
So there are 3 levels of encryption here. I guess I can call this safe enough.
blub
Member
**
Offline Offline

Activity: 88
Merit: 10


View Profile
November 20, 2013, 06:21:02 PM
 #8

but: all your layers of encryption are AES and AES is broken.
there is no practiacal attac but still, if beeing paranoid than do it right:
My way would be to use the built in encryption, and than encrypt it with true crypt using a cascade of all supportet algorithms. (after checking the whole code for backdoors...)

Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
November 20, 2013, 06:39:32 PM
 #9

but: all your layers of encryption are AES and AES is broken.
there is no practiacal attac but still, if beeing paranoid than do it right:
My way would be to use the built in encryption, and than encrypt it with true crypt using a cascade of all supportet algorithms. (after checking the whole code for backdoors...)

If you wanna go to that level of paranoia, I suggest that you wrap your wallet encrypted data within a bigger file, containing:
a header
a random number of random bytes
the encrypted wallet data
a random number of random bytes
a footer

In the header, you can put, for example, the offset to find the wallet data first byte.
And in the footer, for example, the wallet data size.

Of course, you can be even more imaginative...
Embed your encrypted data in a .wav file, using http://naudio.codeplex.com/ (open source) lib, for example, and rename the final file produced "white_noise.wav".  Grin


[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
raskolnikovx (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
November 20, 2013, 08:14:01 PM
 #10

but: all your layers of encryption are AES and AES is broken.
there is no practiacal attac but still, if beeing paranoid than do it right:
My way would be to use the built in encryption, and than encrypt it with true crypt using a cascade of all supportet algorithms. (after checking the whole code for backdoors...)

If you wanna go to that level of paranoia, I suggest that you wrap your wallet encrypted data within a bigger file, containing:
a header
a random number of random bytes
the encrypted wallet data
a random number of random bytes
a footer

In the header, you can put, for example, the offset to find the wallet data first byte.
And in the footer, for example, the wallet data size.

Of course, you can be even more imaginative...
Embed your encrypted data in a .wav file, using http://naudio.codeplex.com/ (open source) lib, for example, and rename the final file produced "white_noise.wav".  Grin



Nahh, that's just too much for me.
LiteCoinGuy
Legendary
*
Offline Offline

Activity: 1148
Merit: 1010


In Satoshi I Trust


View Profile WWW
November 21, 2013, 07:37:47 PM
 #11

why dropbox ? why not USB and CDs? if you are paranoid, you should stay away from dropbox.

Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
November 21, 2013, 07:43:14 PM
 #12

why dropbox ? why not USB and CDs? if you are paranoid, you should stay away from dropbox.
It's probably better to have the backup copied over several location, including CDs, USB sticks, etc.
But having it on dropbox or any other cloud offer isn't a problem, as long as it's encrypted.

If your house burns, you'll be happy to have other backups.

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
raskolnikovx (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
November 21, 2013, 11:43:34 PM
 #13

To me its not about not getting access to the file.
I just wanna do every thing I can to make the file only usable for me.
Ecurb123
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 22, 2013, 11:33:37 PM
 #14

I don't really see any reason to compress the file, I would just encrypt it with a very strong password.
CounterStrike
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
November 23, 2013, 09:55:55 AM
 #15

Guys, stop thinking of how to secure your wallet.. the most important part is remembering where  your wallet is few years later...
PenAndPaper
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
November 23, 2013, 10:03:51 AM
 #16

Guys, stop thinking of how to secure your wallet.. the most important part is remembering where  your wallet is few years later...

Unfortunately we are not in 2008. I don't think someone thats on bitcoin right now will forget his wallet.
Nonetheless there are some kinda paranoid advices like the 200 characters long password  Grin
Wilstar1
Newbie
*
Offline Offline

Activity: 13
Merit: 0



View Profile
November 23, 2013, 10:20:44 AM
 #17

This sounds like a very secure way of storing your .dat file. If you're even more cautious I'd keep the .dat file on a usb and everytime you go to access the wallet plug in the usb.
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!