I’d like to continue what I started asking about in the thread
and try to rescue my sister’s BTC that she acquired in 2013.
I have the address.
I have something that looks like a private key starting with “U2FsdGVkX1”
I also have a (possible?) password.
My sister thinks she might have used the following wallet on an android phone back then:
The password I have may even be correct. I think by problem is more basic. I don’t know what kind of key it is I have (salted or somehow encrypted) and where I should try sticking it to see if it works.
The wallet I linked to doesn’t take text based keys as input for sweeping. I generated a qr code and tried to feed that to the wallet, but it didn’t think it was valid. I do think the 239 characters long key is correct. I just don’t know what kind of key it is and where to try putting it.
So I tried entering the following in Linux but got “bad magic number”. What does that mean?
$ openssl enc -d -aes-256-cbc -in key.txt -out decrypted.txt
enter aes-256-cbc decryption password:
bad magic number
I’m afraid I don’t know how to use the openssl command.
Is there an argument that would let me pass the password in the same command?
Are there other encryption methods I could try substituting “aes-256-cbc” for?
What would a one-liner look where the file containing my key is named “key.txt”, the password is “password”, and the output file is decrypted.txt?
Ah yes it is base64 encoded I think @Sascha that usually has some = as padding at the end of the key. It will be encoded base64 or similar though for sure.
It is almost certainly an encrypted master private key from “Bitcoin Wallet for Android” by Andreas Schildbach, which uses this encryption method and this file naming system. Have you used this app in the past? You will need to use that app to restore the file
Yes, I tested the argument -base64 and the app mentioned, but still no cigar. The app doesn’t take a string of characters as input for sweeping, so I generated a qr code using QtQr, but it’s not working. I’m afraid I’ll need some more hand-holding instructions.
I’m trying to use
key.txt as the key input file
pass.txt as the password input file
If you want to recover coins from manual backups and for whatever reason you cannot use the app itself to restore from the backup, see the separate README.recover.md guide.
It’s not a huge sum, but I’m sure my sister would pay the person who actually resolves this.
(Let’s assume that you don’t know anything about hunting, skinning or tanning. You ask me for help about how to get from a live fox to a nice fur coat. It wouldn’t be helpful if I said: Get the fox. Take its skin. Prepare it, and sew coat.)