From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: need help with certificate bundles for ALL the platforms Emacs supports Date: Mon, 13 Feb 2012 10:12:17 -0500 Message-ID: References: <4F25FA2F.2010401@gmail.com> <4F27F4A1.6030907@gmail.com> <6E4BE1E758D04283A7C3A660ED379966@us.oracle.com> <87liolnipl.fsf@lifelogs.com> <50081AA79F2F4860A3B9DCEDFC1ABEC8@us.oracle.com> <877h04nc2e.fsf@lifelogs.com> <83ehucfjc8.fsf@gnu.org> <87r4ycjbjz.fsf_-_@lifelogs.com> <83mx8zev8s.fsf@gnu.org> <87vcnnj1xm.fsf@lifelogs.com> <87ipjgw0r3.fsf_-_@lifelogs.com> <87zkcqr4td.fsf@lifelogs.com> <87fwef8zui.fsf@lifelogs.com> <87ipja7to1.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329145970 22183 80.91.229.3 (13 Feb 2012 15:12:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2012 15:12:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 13 16:12:43 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RwxZz-0003hq-Fc for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2012 16:12:35 +0100 Original-Received: from localhost ([::1]:55845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwxZv-00048h-L8 for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2012 10:12:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:32778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwxZm-0003jT-RF for emacs-devel@gnu.org; Mon, 13 Feb 2012 10:12:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwxZl-0002vk-IZ for emacs-devel@gnu.org; Mon, 13 Feb 2012 10:12:22 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:41335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwxZl-0002vE-EF for emacs-devel@gnu.org; Mon, 13 Feb 2012 10:12:21 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q1DFCJsm030259; Mon, 13 Feb 2012 10:12:19 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 3C58759537; Mon, 13 Feb 2012 10:12:18 -0500 (EST) In-Reply-To: <87ipja7to1.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 13 Feb 2012 08:24:30 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4131=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4131> : streams <728235> : uri <1064643> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148549 Archived-At: > Also I don't want to decide the default bundle file names at the time > the defcustom is evaluated. Since `gnutls-trustfiles' can contain > function calls, I'd like it to be called when it's needed. For > instance, it's very common to store certificates as PEM files in a > directory, and the user should be able to choose that approach instead > of managing a concatenated bundle. If we built the file list only once, > the modular approach would fail. Another situation is on W32, where the > cert bundle has to be dynamically built (which will require some caching > but should still be done as close to using the bundle as possible). OK, but the variable should not be a "list of (function or filename)". That's ugly. Maybe we can have it be "a function or a list of files". Stefan