I have a vendor encrypting an xlsx file using McAfee E-Business server with PGP version 7.1.1 using the following command:
pgp --encrypt --sign --user ${vendorpgpkey} --passphrase InputFilename --force --overwrite --output OutputFilename
I am trying to decrypt the file using the following command.
gpg -d --output "${PGPDecryptedFileName}" "${PGPEncryptedFileName}"
This process works when the vendor is sending me .txt, .csv, or .pdf files. However, if they try to encrypt and send me a .xlsx file, the file is getting corrupted when decrypted.
The vendor is sending the file to me via SFTP using binary transfer.
I can encrypt the file on my local laptop and decrypt it without any issues so I'm assuming it's something related to how the vendor is handling encryption. I also checked Symantec help and couldn't find any leads.
Any help identifying the issue or pointing out additional debugging steps would be appreciated.