From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Earl Newsgroups: gmane.emacs.devel Subject: Re: Emacs core TLS support Date: Wed, 29 Sep 2010 14:32:02 -0600 Message-ID: <87y6ak2svx.fsf@notengoamigos.org> References: <878wc1vfh3.fsf@lifelogs.com> <878w4actmg.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> <87iq1ojt10.fsf@notengoamigos.org> <87k4m4wc1b.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285792359 32049 80.91.229.12 (29 Sep 2010 20:32:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 20:32:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 29 22:32:37 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 1P13KK-0003Z5-6c for ged-emacs-devel@m.gmane.org; Wed, 29 Sep 2010 22:32:32 +0200 Original-Received: from localhost ([127.0.0.1]:43856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P13KJ-000643-Ck for ged-emacs-devel@m.gmane.org; Wed, 29 Sep 2010 16:32:31 -0400 Original-Received: from [140.186.70.92] (port=37849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P13KB-00063P-Qi for emacs-devel@gnu.org; Wed, 29 Sep 2010 16:32:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P13K9-0000JS-UE for emacs-devel@gnu.org; Wed, 29 Sep 2010 16:32:23 -0400 Original-Received: from mailout15.yourhostingaccount.com ([65.254.253.126]:35392) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P13K9-0000JM-R6 for emacs-devel@gnu.org; Wed, 29 Sep 2010 16:32:21 -0400 Original-Received: from mailscan02.yourhostingaccount.com ([10.1.15.2] helo=mailscan02.yourhostingaccount.com) by mailout15.yourhostingaccount.com with esmtp (Exim) id 1P13K9-0000XE-BZ for emacs-devel@gnu.org; Wed, 29 Sep 2010 16:32:21 -0400 Original-Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan02.yourhostingaccount.com with esmtp (Exim) id 1P13K9-00084K-DB; Wed, 29 Sep 2010 16:32:21 -0400 Original-Received: from authsmtp10.yourhostingaccount.com ([10.1.18.10]) by impout03.yourhostingaccount.com with NO UCE id CkYL1f0050D2B7u0000100; Wed, 29 Sep 2010 16:32:20 -0400 X-EN-OrigOutIP: 10.1.18.10 X-EN-IMPSID: CkYL1f0050D2B7u0000100 Original-Received: from [67.214.244.122] (helo=jearl-desktop) by authsmtp10.yourhostingaccount.com with esmtpa (Exim) id 1P13Jw-0003U2-Ik; Wed, 29 Sep 2010 16:32:08 -0400 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAABGdBTUEAALGPC/xhBQAAAAFz UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlw SFlzAAASmwAAEpsB4JJZDAAAAAl2cEFnAAAAMAAAADAAzu6MVwAAAaFJREFUSMe1VtuxxSAIzIz9 2Iyl2Aj1bBX0k5+LrwjGjJyPy2ROwtGNBJbVCwwwy1UNoOL3f+SBxkj15Lr4NsboN24DWMZxYQNA TjGmjC1gswJiqBbpDeANYMwXBFyAFB5L7ADMBcoSDgAFBSDHR2tA8ABMSB4AawB76pAnILsKx2lm 1VfpgUi3kxrySylRHdmQj40Jva2/jl8EY3Twv/phhsC9nIQR0hnAOUptYsL3RxvAk+YIH2AWsvTH GYBgKn8GaPYm5jNANaCQ8WfAzyH9x0crFfGl9X4QVdg8gEqN2KjBHi6V/iBq6iyAxTqd+Yvupwai VwM9LZkxQ6otihmS6H+mHlK5URwi0UQgWxHoxS5JagBSed7IzJRCallS2pg2QsamcGUFNSHgLZUv augJIUualv1Bv6+yVat1oeMq92s/mBBWQJH7dQX7CnpvWWs/4CazpHlB2RR1BFSzNGdIaTbbLil8 U76BKKU0GztapXP3C78bNYQ6MTQybY8OkIaITf9HPzyHkXE4YXs4mf5VDz+jAepj3RTQ3Ubv0SPy 9AcCrfKh0TBgvgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMC0wNC0wNVQxMzoyNDo0OS0wNjowMHrq 7NAAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTAtMDQtMDVUMTM6MjQ6NDgtMDY6MDCtwF/YAAAAAElF TkSuQmCC User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-EN-UserInfo: f8a5a3c49e1c4664ba81facb1022c4a9:67ddfe7aeaee6d1ea5b788d961d42633 X-EN-AuthUser: jearl@notengoamigos.org X-EN-OrigIP: 67.214.244.122 X-EN-OrigHost: unknown X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:131086 Archived-At: On Wed, Sep 29 2010, Ted Zlatanov wrote: > On Wed, 29 Sep 2010 12:36:59 -0600 Jason Earl wrote: > > JE> It works here as well, and it seems to be considerably faster to boot. > JE> There is one thing that I did have to change from an older setup, > JE> however. I keep my authinfo file in ~/.emacs.d/authinfo so that I can > JE> version it with the rest of my emacs stuff. I used to set > JE> nnimap-authinfo-file for imaps, but with the newest builds it appears > JE> that auth-sources is the correct variable to set to customize this. > > JE> This is not a criticism, as I am excited to see these changes land. It > JE> is just a bit of advice for someone else who is interested in testing > JE> this code. > > I think nnimap.el should maybe warn the user on get-new-news if it > sees `nnimap-authinfo-file' to save them the frustration of figuring > this out. For the record, it wasn't frustrating to me at all. I have been using Emacs for quite some time, but I am just getting to the point where I can use the Emacs source code to actually solve (some) problems. It was actually pretty exciting to be able to figure this out. Which, of course, is why I am using the bzr version of Emacs. I agree that warning users of the switch would be a great idea. While you are at it you might want to consider doing something with nntp-authinfo-file. Perhaps it should use auth-sources as well? > JE> You also might want to consider changing the (BROKEN) in > JE> configure.in to (EXPERIMENTAL). > > I'll do it when I push the API changes I mentioned, thanks :) > > Ted I did a bit more testing, and now I am not sure that I am using the built-in gnutls stuff. I looked in *Messages* and I saw lines with gnutls-cli. So I removed gnutls-cli and now apparently openssl is involved. This probably means that I am not actually testing the built in gnutls connections. Right? Here's a bit from my current *Messages* --8<---------------cut here---------------start------------->8--- Opening nnimap server on mail... Opening TLS connection to `helpdesk.0catch.com'... Opening TLS connection with `gnutls-cli -p 993 helpdesk.0catch.com'...failed Opening TLS connection with `gnutls-cli -p 993 helpdesk.0catch.com --protocols ssl3'...failed Opening TLS connection with `openssl s_client -connect helpdesk.0catch.com:993 -no_ssl2 -ign_eof'...done Opening TLS connection to `helpdesk.0catch.com'...done --8<---------------cut here---------------end--------------->8--- So how do I test this? I did: ./configure --with-gnutls and I get --8<---------------cut here---------------start------------->8--- Does Emacs use -lgnutls (BROKEN)? yes --8<---------------cut here---------------end--------------->8--- What else do I need to do? Sorry for the confusion. Jason