Version: .57.1 Last Updated: 01-15-97 Author: Frank Pilhofer Email: fp@informatik.uni-frankfurt.de PGP View Patch ================== I have implemented the feature I was talking about. With this patch, if you view a PGP signed message, Mutt will not pause displaying PGP's output but add the output at the end of the message itself. At the same time, it scans the output and decides if the signature is valid or not, and indicates the result at the top of the message. At the beginning of the PGP output, the current date/time is printed, so that it is non-fakeable. If you're paranoid about this, just view the message twice and see if the time has changed. If you still don't believe it, set the `pgp_paranoid' variable to get the old behaviour. You can also color PGP's output with `color pgpoutput ...' With the patch, PGP is invoked twice for the same message, once for scanning the output and once for adding it to the message. I could have used a temp file, but what the hell, my machine is fast enough ... Version .56.2 -------------- This updated patch also improves the sending of signed/encrypted messages; it does not pause on PGP's output if there was no error. Along the way, I have also added a few missing wait()s and improved behaviour if the PGP process fails. The other patch invoked PGP twice, once for scanning the error messages and a second time to copy them. But because that process can be arbitrarily long, I now use a tempfile instead. I also believe to have improved a security problem. Decrypted messages are written to a temporary file, where they could be accessed by anyone as long as PGP runs; I now use a read-write file pointer and unlink() the temp file before anything is written to it. Interception is still theoretically possible but now only in a timespan of microseconds rather than milli- seconds. Version .56.3 -------------- - Fixed a bug where long messages would hang pgp due to buffering. Version .57.1 ---------------- - Updated to .57 - Note: This patch won't apply cleanly to .56 because of rework in pgp.c between .56 and .57 - Fixed buffer in pgp.c to be _POSIX_PATH_MAX + STRING length Version .58.1 ---------------- - Updated to .58