From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: gnus/starttls.el and net/tls.el Date: Thu, 15 Nov 2007 23:29:01 -0500 Message-ID: References: <87tznwq2r3.fsf@mocca.josefsson.org> <87mytfsi8c.fsf@mocca.josefsson.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1195187516 11001 80.91.229.12 (16 Nov 2007 04:31:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2007 04:31:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Simon Josefsson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 16 05:32:00 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Isss2-000621-Mi for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 05:31:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Issrp-0006bD-T0 for ged-emacs-devel@m.gmane.org; Thu, 15 Nov 2007 23:31:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsspD-0005PL-OH for emacs-devel@gnu.org; Thu, 15 Nov 2007 23:29:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsspD-0005Oa-0R for emacs-devel@gnu.org; Thu, 15 Nov 2007 23:29:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsspC-0005OQ-SM for emacs-devel@gnu.org; Thu, 15 Nov 2007 23:29:02 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IsspB-0008Gw-Vo for emacs-devel@gnu.org; Thu, 15 Nov 2007 23:29:02 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IsspB-0003WX-Gk; Thu, 15 Nov 2007 23:29:01 -0500 In-reply-to: <87mytfsi8c.fsf@mocca.josefsson.org> (message from Simon Josefsson on Thu, 15 Nov 2007 15:20:35 +0100) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83314 Archived-At: I'm not sure I understand the reason though. Is it to avoid having two files? It is to avoid the code duplication. If so, how about moving the code in starttls.el into tls.el? I don't exactly object, but I am not sure that is the best way. Today, I don't think there is any reason, but I may be biased towards favoring GnuTLS. gnutls-cli didn't used to support starttls operations, but it does today. As far as I remember, 'starttls' doesn't verify server certificates, so starttls may be considered insecure. It sounds like the thing to do is to reimplement the useful features of starttls.el in tls.el.