I want to decrypt a text file (which happens to be an Electrum wallet file) with gpg
but I get the error gpg: no valid OpenPGP data found
.
I have done a quick test by encrypting a small text file and the decrypting it. gpg
can do this, but I think that's because the encrypted file is in binary format. The file I want to decrypt seems to be in text format, let me explain:
If I do cat
with the file I'm able to decrypt, it shows:
� �W�a��
That's what I mean by binary format.
However, the file I actually want to decrypt shows normal characters:
ZklGMQOhbi+AG3pzBtw1gAOTJ2TUh2ngYN0...
(These are not the actual characters, I have modified them)
I'm sure that the file I want to decrypt is encrypted in AES-256-CBC, which gpg
supports. I believe the problem is the format of the file to decrypt. Am I right? How can I put this file in a format that gpg
understands?