From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72432 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap ports and protocols Date: Fri, 01 Oct 2010 14:44:39 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87r5g9itp4.fsf@lifelogs.com> References: <87mxqyj5iz.fsf@mid.gehheimdienst.de> <87lj6hyky6.fsf@lifelogs.com> <87d3rtyi8t.fsf@lifelogs.com> <87ocbdhi25.fsf@lifelogs.com> <87fwwphgyp.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285962315 15255 80.91.229.12 (1 Oct 2010 19:45:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 19:45:15 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20804@lists.math.uh.edu Fri Oct 01 21:45:13 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1lXd-0006x4-03 for ding-account@gmane.org; Fri, 01 Oct 2010 21:45:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P1lXP-0007K8-66; Fri, 01 Oct 2010 14:44:59 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P1lXN-0007Jm-QS for ding@lists.math.uh.edu; Fri, 01 Oct 2010 14:44:57 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P1lXJ-00015s-MK for ding@lists.math.uh.edu; Fri, 01 Oct 2010 14:44:57 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P1lXI-00086r-00 for ; Fri, 01 Oct 2010 21:44:52 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1lXG-0006s5-Lc for ding@gnus.org; Fri, 01 Oct 2010 21:44:50 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 21:44:50 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 21:44:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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:Imq01JuzmDaF8fkfd5M3b6QQSis= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72432 Archived-At: On Fri, 01 Oct 2010 21:17:45 +0200 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> The GnuTLS layer should handle all of that. Gnus should not know about >> certificate management; just like passwords or accepting SSH keys, >> that's completely irrelevant to reading mail. LMI> Yeah, but I was just wondering where the gnutls layer would stash LMI> information like that. We certainly don't want the user to be queried LMI> about the invalid certificate every time she connects to the IMAP LMI> server, so it needs to be saved somewhere. >> So I think Fgnutls_boot will need work and so on. It's not bad. I may >> use auth-source.el to store the accepted certificates in a netrc file or >> in the Secrets API. LMI> The netrc file is for Humans, I think. Perhaps you can stash this in LMI> Customize? :-) Maybe. There's also the "trust file" concept which contains accepted certificate authorities as a bundle. Maybe I can create a trust file to contain accepted server certificates. GnuTLS doesn't allow multiple trust files so this may get complicated. I'll ask gnutls-devel. Ted