langerhans / dogecoin-wallet-new

Dogecoin Wallet app for your Android device. Standalone Dogecoin node, no centralized backend required. Forked from the popular Bitcoin Wallet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error! org.bitcoinj.crypto.KeyCrypterException:Could not decrypt bytes

jorgeg675 opened this issue · comments

When I try to withdraw from my 3.1.1 wallet on Android 5.1, I get this error message:
org.bitcoinj.crypto.KeyCrypterException:Could not decrypt bytes

If possible, I would like to export my private keys, import them into a 64-bit Core wallet on Windows and send the coins from there.

How much trust in this?and what do I benefit?

I'm going to update this in case anyone has a solution.

  1. Exported backup from Android wallet, saved on Linux computer.
  2. Decrypted backup using OpenSSL, got my 12-word seed.
  3. Entered seed in https://iancoleman.io/bip39 used BIP32 derivation path m/0'
  4. Checked BIP32 Extended Public Key against Settings, Diagnostics, Show xpub, both are the same
  5. Looked for my public key (starts with DFN4) among the first 20, then 200, 500 and 1000 addresses and it's NOT THERE.
  6. Also created a Coinomi wallet, loaded up the same 12 words, added Dogecoin, used derivation path M/0 and I get an empty wallet. With the regular/default path M/44H/3H/0H it's also empty.

I feel I am sooo close but missing something. The equal xpubs show that I'm on the right track. If I try different derivation paths I get a different xpub.
Also did a hex dump of my decrypted backup file, searched for keys, nothing. Converted Base58 to Hex and searched again (for 1e 70 24 e4) and found six, which are the six transactions on my wallet, but have no idea if I can extract the private key from the hex data.

Hey btc2dogecom, it's not enough Dogecoin to pay someone else to do it. I managed to install pip3, pycrypto, protobuf and use wallet-decrypt.py to extract 5 pairs of public/private keys in hex form, but none of them were for the address I was looking for. I also have my 12 seed words so I've pretty much exhausted my options. Thanks for taking the time for commenting.
One problem is that Linux defaulted to Python 2.7 and I had to use 3.6 to get it to work (which was already installed, thankfully)

hi,我也遇到这样的问题,请问怎么解决

hi,我也遇到这样的问题,请问怎么解决

Your best bet is to try #68 (comment)
I managed to recover 5 additional keys although none was the one I needed, but you may have better results.