[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url library and GnuTLS, and Emacs-issued certificates
From: |
Chong Yidong |
Subject: |
Re: url library and GnuTLS, and Emacs-issued certificates |
Date: |
Wed, 23 Mar 2011 17:51:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Lars Magne Ingebrigtsen <address@hidden> writes:
>> 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.
Could you explain in more detail? What I see is this:
;;; tls.el --- TLS/SSL support via wrapper around GnuTLS
...
;; This package implements a simple wrapper around "gnutls-cli" to
;; make Emacs support TLS/SSL.
...
(defun open-tls-stream (name buffer host port)
"Open a TLS connection for a port to a host.
Returns a subprocess-object to represent the connection.
..
;;; starttls.el --- STARTTLS functions
...
;; This file now contains a combination of the two previous
;; implementations both called "starttls.el". The first one is Daiki
;; Ueno's starttls.el which uses his own "starttls" command line tool,
;; and the second one is Simon Josefsson's starttls.el which uses
;; "gnutls-cli" from GNUTLS.
...
(defun starttls-open-stream (name buffer host port)
"Open a TLS connection for a port to a host.
Returns a subprocess object to represent the connection.
...
Both use the gnutls-cli command tool (though starttls.el apparently
supports starttls too), and both implement a wrapper around
open-network-stream. "Unnecessary duplication" is surely the natural
reaction...
- expand tls to elpa.gnu.org, axel . junker, 2011/03/19
- Re: expand tls to elpa.gnu.org, Ted Zlatanov, 2011/03/21
- Re: expand tls to elpa.gnu.org, Chong Yidong, 2011/03/21
- url library and GnuTLS, and Emacs-issued certificates (was: expand tls to elpa.gnu.org), Ted Zlatanov, 2011/03/21
- Re: url library and GnuTLS, and Emacs-issued certificates, Ted Zlatanov, 2011/03/23
- Re: url library and GnuTLS, and Emacs-issued certificates, Chong Yidong, 2011/03/23
- Re: url library and GnuTLS, and Emacs-issued certificates, Ted Zlatanov, 2011/03/23
- Re: url library and GnuTLS, and Emacs-issued certificates, Lars Magne Ingebrigtsen, 2011/03/23
- Re: url library and GnuTLS, and Emacs-issued certificates,
Chong Yidong <=
- Re: url library and GnuTLS, and Emacs-issued certificates, Lars Magne Ingebrigtsen, 2011/03/24
- Re: url library and GnuTLS, and Emacs-issued certificates, Chong Yidong, 2011/03/24
- Re: url library and GnuTLS, and Emacs-issued certificates, Lars Magne Ingebrigtsen, 2011/03/24
- Re: url library and GnuTLS, and Emacs-issued certificates, Chong Yidong, 2011/03/24
- Re: url library and GnuTLS, and Emacs-issued certificates, Ted Zlatanov, 2011/03/24
- Re: url library and GnuTLS, and Emacs-issued certificates, Lars Magne Ingebrigtsen, 2011/03/24
- Re: url library and GnuTLS, and Emacs-issued certificates, Chong Yidong, 2011/03/26
- Re: url library and GnuTLS, and Emacs-issued certificates, Lars Magne Ingebrigtsen, 2011/03/26
- Re: url library and GnuTLS, and Emacs-issued certificates, Chong Yidong, 2011/03/26
- Re: url library and GnuTLS, and Emacs-issued certificates, Lars Magne Ingebrigtsen, 2011/03/27