From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: final GnuTLS API! (was: Emacs core TLS support) Date: Sun, 03 Oct 2010 20:23:54 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <871v86iwd1.fsf_-_@lifelogs.com> References: <878wc1vfh3.fsf@lifelogs.com> <877hju123h.fsf@stupidchicken.com> <8762yklrdk.fsf@lifelogs.com> <87wrqzhrjv.fsf@lifelogs.com> <87fwxmihyz.fsf@lifelogs.com> <8762ycfhqo.fsf@lifelogs.com> <87d3sf9soo.fsf@lifelogs.com> <87r5gh2fzj.fsf@lifelogs.com> <87zkv38cy5.fsf@lifelogs.com> <87k4m4zdgn.fsf@lifelogs.com> <87eic7icg2.fsf@lifelogs.com> <87aamvib7q.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286155459 16228 80.91.229.12 (4 Oct 2010 01:24:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Oct 2010 01:24:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 04 03:24:15 2010 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 1P2Zmp-00011S-13 for ged-emacs-devel@m.gmane.org; Mon, 04 Oct 2010 03:24:15 +0200 Original-Received: from localhost ([127.0.0.1]:47061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2Zmo-0002kw-BL for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2010 21:24:14 -0400 Original-Received: from [140.186.70.92] (port=60702 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2Zmi-0002kh-Lx for emacs-devel@gnu.org; Sun, 03 Oct 2010 21:24:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2Zmf-0006V7-8v for emacs-devel@gnu.org; Sun, 03 Oct 2010 21:24:08 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2Zme-0006V0-UD for emacs-devel@gnu.org; Sun, 03 Oct 2010 21:24:05 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P2Zmc-0000vP-BF for emacs-devel@gnu.org; Mon, 04 Oct 2010 03:24:02 +0200 Original-Received: from c-24-14-16-248.hsd1.il.comcast.net ([24.14.16.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2010 03:24:02 +0200 Original-Received: from tzz by c-24-14-16-248.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2010 03:24:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-14-16-248.hsd1.il.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:0Bq+O6qafEFUC2DvEvBulxFHy7M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:131307 Archived-At: On Mon, 04 Oct 2010 00:37:37 +0200 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> I had trouble committing so the patches are below. I'll commit when I >> can or Lars can push them. LMI> I've checked this in now. Thanks. My connection was really bad this morning. What do you think about the interface? I like it much better. A plist is a nice balance between static parameters and a freeform alist. I've now committed the final GnuTLS client API in lisp/net/gnutls.el. It's just two functions clients are supposed to use, which I think is good. Look it over and unless you have any problems with it, I'll mark it EXPERIMENTAL instead of BROKEN and write a NEWS entry. The callbacks are still to come. I need to figure out how to accept a client certificate; the GnuTLS examples don't have that so I asked on the GnuTLS mailing list. For storage I think we'll end up with $HOME/.emacs.d/certificates or something like that. We can also build our own (Emacs) list of certificate authorities (CAs) in addition to the one provided by the OS. That may make a lot of sense: for instance, to set up our own CA for package management. But it's really a GNU/FSF question, so I'll leave any further words to the Emacs maintainers. Thanks again for your help. Ted