-----BEGIN PGP SIGNED MESSAGE----- On Tue, 6 Jan 1998, William H. Geiger III wrote:
In <Pine.LNX.3.94.980105104829.6085O-100000@neptune.chem.uga.edu>, on 01/05/98 at 11:14 AM, Andy Dustman <andy@neptune.chem.uga.edu> said:
A couple problems: PGP (2.6.x) doesn't seem to have an option to only de-armor
PGP -da [filename]
Well that would help a lot, then. Find the begin and end headers for the PGP message, pipe it into pgp -da, throw away the output, check the exit code, which should be set if the armor was invalid (or perhaps look at stderr). Like I said, though, you could still make the armor valid by correctly calculating the CRC, or even make PGP generate the armor with the insult/flames/whatever in the output (just a matter of shifting some bits around before armoring, could be done in perl). But this is certainly not worth worrying about. Andy Dustman / Computational Center for Molecular Structure and Design For a great anti-spam procmail recipe, send me mail with subject "spam". Append "+spamsucks" to my username to ensure delivery. KeyID=0xC72F3F1D Encryption is too important to leave to the government. -- Bruce Schneier http://www.athens.net/~dustman mailto:andy@neptune.chem.uga.edu <}+++< -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQEPAwUBNLJsUBOPBZTHLz8dAQFd8wfQhU4uMzLL8zHUXtHSeBLdHYPe66h6ZNw7 aMHntK3fz+6ZkpiTLb/iqGZKNm6pSueXz3CxbIytbTS+IwFpgRpZX/w2gz1Jw2hh tRiB9pCIXSlnV5E9K5fsREZRGlRyj82J6n2yjrTOQWLlW+piAopbBz20ShyELBaA HbygYVmbtqH0Q5aHXO6xVfz6odP0UQB3RblpVZr/Zl99tbbL9mZ5g8CMgcOf57Jq kORo+q4FTo8DhC7KfOs4oqIcsj+yKsX7qwANMd9RTl+6YXsqcV6A/jf2g3v1Q3wQ 1Oggz1gWNXn3+d2RSuIrCFEoUpLHIfMk4pMv8tH/Ikuaag== =869+ -----END PGP SIGNATURE-----