I've just finished upgrading the USENIX PGP Key
Signing Service to handle PGP 5.0. It was a
nightmare. I basically had to change everything to
use expect to handle the interaction with the
various schizoid parts of PGP. Even then it
randomly requests input from /dev/tty... so I
timeout and kill it on occasion.

Anyway, I have 5 expect scripts:
  addkey.exp      createring.exp  decrypt.exp
  extract.exp     signkey.exp

They have the characteristic that they take a known
set of arguments, produce 0 or 1 error message,
produce output (and nothing but output) when
expected to, and the exit status is 0 when they
succeed and non-zero when they fail. Oh joy oh
bliss. You are welcome to them if they would help
make progress with exmh support of PGP 5.0,
although (a) you'd need to extend the set, and (b)
they would probably still need some small
tailoring.

PGP 5.0 is so bad I'm considering very vocally
refusing to support it. So maybe exmh shouldn't
support it. Be warned, too, that there are
significant differences between the international
version and the one PGP Inc are selling. About the
only thing you can rely on is that both disagree
with their own documentation.

regards,
Greg.

Greg Rose               INTERNET: ggr@qualcomm.com
QUALCOMM Australia      VOICE:  +61-2-9743 4646   FAX: +61-2-9736 3262
6 Kingston Avenue       http://people.qualcomm.com/ggr/
Mortlake NSW 2137       B5 DF 66 95 89 68 1F C8  EF 29 FA 27 F2 2A 94 8F
