SecurEmacs - Security functionality for emacs

Currently there is little here, but I intend to develop this further into support various security features for Emacs and XEmacs.

What's new

2001-05-01
First attempt, proof of concept, at SSL support in Emacs 21
2001-05-05
Second attempt, low-level C mapping of NSS API and a high-level elisp interface (compatible with wmperry's ssl.el), at SSL primitives for Emacs Lisp. (N.b., this completely replaces the previous patch.)
2001-05-06
An implementation of STARTTLS using the new primitives is available as starttls.el. It is backwards compatible with Daiki Ueno's similar work. (N.b., this requires the previous patch.)
2001-12-01
I rewrote it all using GNU TLS instead. Currently only the ssl.el part is there, but on the other hand it actually seem to work (no buffer saturation problem as with Open SSL). Very crude patch available.
2001-12-27
I modified it for GNU TLS 3.1, cleaned the patch up and added documentation to it. You can find the patch here. A library, gnutls.el, is available that implements the usual `open-ssl-stream'. Try it by evaluating:
(progn
  (load "~/lisp/gnutls.el")
  (setq jas (open-ssl-stream "foo" (current-buffer) "www.extundo.com" 443))
  (when jas
    (process-send-string jas "GET /\n")
    (accept-process-output jas 5)
    (gnutls-bye jas gnutls-shut-wr)
    (gnutls-deinit jas)
    (gnutls-global-deinit)
    (delete-process jas)))
2002-01-25
Another update is available.

Status

I'm using it to read mail using IMAP in Gnus with STARTTLS.


simon@josefsson.org