From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: url library and GnuTLS, and Emacs-issued certificates Date: Wed, 23 Mar 2011 20:20:36 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <87mxkojpk4.fsf@lifelogs.com> <87hbawtbq7.fsf@stupidchicken.com> <878vw8hznm.fsf_-_@lifelogs.com> <87ei5xsvl6.fsf@lifelogs.com> <87hbatofix.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300908076 1297 80.91.229.12 (23 Mar 2011 19:21:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Mar 2011 19:21:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 23 20:21:09 2011 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.69) (envelope-from ) id 1Q2TcD-0004lO-Gw for ged-emacs-devel@m.gmane.org; Wed, 23 Mar 2011 20:21:09 +0100 Original-Received: from localhost ([127.0.0.1]:59287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2TcC-000846-Ru for ged-emacs-devel@m.gmane.org; Wed, 23 Mar 2011 15:21:08 -0400 Original-Received: from [140.186.70.92] (port=54594 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2Tc1-0007ze-Ec for emacs-devel@gnu.org; Wed, 23 Mar 2011 15:21:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2Tbx-0002ZA-HK for emacs-devel@gnu.org; Wed, 23 Mar 2011 15:20:57 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2Tbx-0002Yp-4K for emacs-devel@gnu.org; Wed, 23 Mar 2011 15:20:53 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q2Tbu-0004bB-7y for emacs-devel@gnu.org; Wed, 23 Mar 2011 20:20:50 +0100 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2011 20:20:50 +0100 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2011 20:20:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/vXz5sWciW/iy6X8 +uZYMC3+/e368tFoSqevAAACIElEQVQ4jW2UQW/cIBCFOVTcya7kc7GsnA3ND9h2hM/1yncfEDmj WuLv973B2WSrjnYJ8PGGmccqZjhEJIu0JguGxuUi8scMIqlkbKWUE/YAOKkAiQC0B9SYZgL8SVmK NcUYa2wR7JSbAs6MMbthQF6SggStNZ9hKWEqkd18jZcf0lNJegbTeqS8GPTxD/i53YWgHV/3UVZ+ 214TUjUpT8CY92m7KnjOZG3+tR0341oq5Ymwb6ECoGuS0S4tOpYFClFAM/b9BCW3ngobJX3Tujnd aeIDwKOUmdOe7h7S/cZjIHAm01YoDj4Ij8N9ddkWWzLL5SNZWi8dlN3qHcfBjdurZOcEHLftVvQO +h9e8dzLVVqyeOcMr2aC9L5+P2pbXHNHvcS50qvaZhf96v20bVsff7sr7qh1wsJz2DZwoDvBXJ2e RIx+wgg6OqRyBN4HghhWgu0BsIxEIc6XCHBX0DqIYYRofomQ3OsJPEEM0XsXxnHyYx0UTHo1RR6F YwKA93AAWtZIEFBZGKt7APYAcPGjluuqAt3GJyDLGFiuuxGEvs++w6hVObcomE6wrW8+cuGG5UOx da+mFVatD7D6LuieqUJoyZvvbn/YS5C1qvU8eLrsFczsI6pmZJMa9Sp4jyF4XQVYe0alog0fa4DZ IQP6xuUErsfQKkyqOKLlVvefmNkHfiSfGzMy8rugqvg1nMN/oIakBvfpvFFw6VNm/wsS2PUZYD84 hgAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Antony and the Johnsons's _Swanlights_: "I'm in Love" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:BTbc58cB7UZHxt2IhLtwXoy5Xkc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:137601 Archived-At: Chong Yidong 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.) larsi@gnus.org * Lars Magne Ingebrigtsen