Has anyone written elisp code for running pgp? I found crypt++, but in its default configuration it only does conventional crypto, nothing like signing, verification, and pubkey encryption. Has someone already done this, or am I pioneering new ground? Mike
There's one mode (that I'm not going to post without asking the author first) that uses terminal-mode... however, pgp-2.2 had a feature added which should make it much easier to write one, namely it lets you specify that a key gets stuffed in via a file descriptor -- so you run pgp (using a pty, rather than a pipe), feed it the private key password, then the file, and it spits back the text (and other info.) I've been lazy, and haven't actually implemented it, but it's much cleaner than terminal mode (since you're trusting emacs with your key anyway, having it read the input isn't much of a problem, though I'd suggest a "limit coredumpsize 0" first :-) _Mark_ <eichin@athena.mit.edu> MIT Student Information Processing Board Cygnus Support <eichin@cygnus.com>
You can look in the contrib directory of PGP 2.{2,3}.. There are a number of elisp implementations.. And there is also rat-pgp.el, or something like that, which I know is available via anonymous ftp but I don't know what machine its on... It should be in 2.4, hopefully. I have not tested any of these implementations. -derek
participants (3)
-
Derek Atkins
-
eichin@cygnus.com
-
Mike Rose