Can pgp verify write to output file?
Created: 28 Jan 2013 | Updated: 28 Jan 2013 | 5 comments
This issue has been solved. See solution.
Hello all,
If I intend to use the pgp --sign only, at the recipient end, how do I make pgp --verify output the original file when the signature is good?
Thanks
Discussion Filed Under:
Comments 5 Comments • Jump to latest comment
Any pgp cli command can output to a text file.
So it would be pgp --verify file.sig --output-file filename.txt
This will only output the result of the command, its no cleverer than that.
This will only tell you what has been verified, rather than outputting the file it was verifying, I'm not entirely sure if that answers your question - if it doesn't can you explain your scenario a bit more?
http://www.cstl.com
Hello Alex,
pgp --verify does not allow the "output" switch.
You can use "--decrypt" to extract the original file.
Regards,
--------
David Finkelstein
Symantec R&D
Hi there,
This works!! I didn't know "decrypt" works with a signed-only file.
And I also found out that --verify and --decrypt can be on the same command!
e.g. # pgp --verify file.signed --decrypt --output file.original
Cheers!
Would you like to reply?
Login or Register to post your comment.