Pointed Development

Accessing DogeCoin Wallet From an Encrypted Volume

| Comments

Such Encrypt

So cryptocurrency is pretty wild. I’ve been playing around with one of the newer currencies, the Dogecoin, for a little fun.

No profit.

However, there’s a bug in the v0.6.4.0-unk-beta version of the dogecoin-qt application on Windows 7 involving wallet encryption.

Several solutions suggest copying the wallet to/from an encrypted volume, but if you really care about your internet money, you don’t want to leave the wallet file laying around on an unencrypted drive.

The following steps will ensure the wallet is never copied off of an unencrypted drive:

  1. Download and install TrueCrypt
  2. Create an encrypted container
  3. Move the contents of C:\Users\[User]\AppData\Roaming\DogeCoin to the newly created encrypted container
  4. Open up the cmd.exe as Administrator
  5. Execute the following:
mklink /D C:\Users\[User]\AppData\Roaming\DogeCoin [EncryptedVolume]:\DogeCoin

… where [User] is your user name and [EncryptedVolume] is the drive mapping to your TrueCrypt encrypted volume.

If you’ve already created your wallet and you want to feel somewhat better about deleting the old wallet from your unencrypted volume, try copying the folder to the encrypted volume first, then using eraser to wipe the old folder from the unencrypted volume. There’s no guarantee this is any more secure, but hey, if it makes you feel better.

Junction points don’t work (dogecoin-qt crashes on start), and symbolic links require Admin privledges unless you change the default Windows 7 behavior.

I have not tried this on any other version of Windows. Your results may vary.

Update (01/20/2014)

Reddit user Plottin_To_Choke_You has this addition if you decide to copy the contents of the DogeCoin roaming profile:

  1. Copy the AppData\Roaming\DogeCoin folder to the encrypted container
  2. Delete the AppData\Roaming\DogeCoin folder
  3. Create the symbolic link, i.e. mklink /D ... as specified above
  4. Test; mount the TrueCrypt encrypted container and launch dogecoin-qt and see if it syncs
  5. Test; unmount and navigate to AppData\Roaming\DogeCoin and double click. This should fail since the encrypted container is no longer mounted