Bitcoin Wallet for Android allows you to back up your wallet. It asks for a password when doing so.
After much faffing, I finally managed to.. dum, dum, dum! .. copy the file to the SD card, and then I removed the SD card and mounted on a Linux system.
According to this question, the way to decrypt it is
$ openssl enc -d -aes-256-cbc -a -in bitcoin-wallet-backup-2016-09-30
but I get:
enter aes-256-cbc decryption password:
error reading input file
when doing so. This is an extremely poor error message from openssl. I have confirmed that the file is readable using other utilities.
strace
. Trystrace openssl <args>
and look for a line that startsopen("bitcoin-wallet-backup-...", ...)
. You might see the OS error code at the end of the line.open("s/bitcoin-wallet-backup-2016-09-30", O_RDONLY) = 3
. I believe 3 is the fd. Then it reads it a few times, fineread(3, "\0\0\0\0\0\ [...] = 4096
etc. This is not an IO problem at this level with the input file.