Im decrypting a file sent by a client using gpg. The file is Obviusly encrypted, and theoretically, using my public key.
I have installed both his public key and my private key.
So, im running:
/usr/local/bin/gpg --output a.log --decrypt --passphrase=mypassphrase --batch /usr/local/log/Banesco11052015.TXT.pgp
gpg: encrypted with 2048-bit RSA key, ID B61CC86B, created 2014-11-06 "Company SRL " gpg: WARNING: message was not integrity protected
But a.log is empty.
I also tried as well:
echo mypassphrase | gpg --output a.log --passphrase-fd 0 /usr/local/log/Banesco11052015.TXT.pgp
The encrypted file has content, but is it possible though it has encrypted content, the file is actually empty on decryption?
Am I running the decrypt command wrongly? Maybe there is a problem with my keys?
Thanks in advance!
E.
gpg
command? (Putecho $? >&2
after the/usr/local/bin/gpg …
line to display it.)gpg
command. On the next line.