emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: url library and GnuTLS, and Emacs-issued certificates


From: Lars Magne Ingebrigtsen
Subject: Re: url library and GnuTLS, and Emacs-issued certificates
Date: Wed, 23 Mar 2011 20:20:36 +0100
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

> How bout merging the open-protocol-stream code directly into
> open-network-stream?  Then we can make open-protocol-stream an alias for
> open-network-stream, and (provide 'proto-stream) in subr.el.
>
> If the Gnus developers don't object, I propose to do this.

It sounds like a workable idea to me.  Since `open-protocol-stream' is a
superset of `open-network-stream', really, it should hopefully not break
other third-party usages of `open-network-stream', but I think we should
have a closer look at the `open-protocol-stream' logic to make sure
first.

But my immediate reaction is that this would be a good idea.

> (Also, gnutls.el should be changed to explicitly recommend that
> applications not use it directly, and we should merge net/tls.el and
> gnus/starttls.el; those two packages appear to be duplicates.)

Well, they aren't duplicates per se.  tls.el does straight up TLS, while
starttls.el does STARTTLS.  The way starttls.el interfaces with the
external programs is pretty hairy (doing some unencrypted traffic, then
sending a signal to the program, and then doing encrypted traffic), and
probably deserves its own elisp file, I think.

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]