Can I create separate signed and encrypted PGP files?
Here's the situation I have. I have external parties who are supposed to PGP sign/encrypt files sent to us. When we receive the signed/encrypted files, we will perform the signature verify checks, and if ok, save the file for processing. We are also required to save JUST the signed copy of the file.
To allow the above, I could only think of at the sending end, the following steps:
1) pgp --sign file --signer A --passphrase **** --output file.signed
2) pgp --encrypt file.signed -r B --output file.signed.enc
On the receiver end:
3) pgp --decrypt file.signed.enc --passphrase **** --output Receive_file.signed
4) pgp --verify Receive_file.signed
But the problem is, step (4) does not allow me to output the file. It just tells me the suggested output file name is ...
Is there a way to make step (4) output the original file contents if the signature is good?