8
1
Recent changes to Andreas Schildbach's Bitcoin client for Android have removed the option to export private keys. This has been replaced by an option to back up the entire wallet. Unfortunately, the wallet data of the Schildbach client is stored in an arcane format called protobuf (short presumably for Protocol Buffers). The Schildbach client can restore a protobuf wallet from its AES-encoded backup file. But the protobuf wallet cannot be imported into a different Bitcoin client such as the Bitcoin Core (QT) client.
For emphasis, I'm aware of the command line method of decoding the back-ups created by Schildbach's client, which in the past allowed the private keys to be saved in AES encrypted format to /sdcard/Download. The following command worked in the past to produce a human readable copy of my Bitcoin private keys:
openssl enc -d -aes-256-cbc -a -in encrypted-wallet-keys -out decrypted-wallet-keys
This no longer works. The following command instead produces a non-AES-encrypted protobuf wallet.
openssl enc -d -aes-256-cbc -a -in bitcoin-wallet-backup-2014-07-19 -out bitcoin-wallet-backup-2014-07-19-decrypted
The -out file is not an ASCII copy of my private keys but a copy of the protobuf wallet used internally by the Schildbach Bitcoin client (found at /data/data/de.schildbach.wallet/files/wallet-protobuf).
When installint bitcoinj, I get: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project wallettemplate: Compilation failure: Compilation failure: [ERROR] ~/wallettemplate/src/main/java/wallettemplate/utils/easing/EasingInterpolator.java:[27,24] package javafx.animation does not exist And many similar errors after that (javax.something does not exist). Any ideas? – Sergei Tikhomirov – 2017-09-14T23:08:35.477
This helped. – Sergei Tikhomirov – 2017-09-15T12:55:56.573
My file
– jacob – 2017-11-05T08:58:51.143bitcoin_decrypted_dumpcontained errors, see this pastebin what should I do now? I don't understand error messages but I can execute/understand terminal commands.@jacob: the error message states that the Java Development Kit (jdk) is missing. You can install it with "sudo apt-get install openjdk-8-jre". Please confirm if this solves the problem, then I will update the instructions. – Colluphid – 2017-11-06T21:15:28.330
@Colluphid I got a guy to help me with this to install java and set PATH variable. However, the output file does not contain my private key. It's a large file and it looks like I can see the block that contain the transactions that I my wallet did. – jacob – 2017-11-11T12:30:00.200
@jacob: If I remember correctly I got the transaction list when using the dump command without '--dump-privkeys'. Can you check that you included that option? – Colluphid – 2017-11-12T20:27:21.447