From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: need help with certificate bundles for ALL the platforms Emacs supports Date: Mon, 13 Feb 2012 10:29:36 +0000 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> <83liobaleu.fsf@gnu.org> <87lioau9bc.fsf@lifelogs.com> <83hayy1yb2.fsf@gnu.org> <87bop6skyp.fsf@lifelogs.com> <828vk9b7z3.fsf@gmail.com> <83sjihz2kq.fsf@gnu.org> <87ipjclqk0.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329128996 17887 80.91.229.3 (13 Feb 2012 10:29:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2012 10:29:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 13 11:29:56 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 1RwtAR-0006KC-VU for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2012 11:29:56 +0100 Original-Received: from localhost ([::1]:49810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwtAR-0000x7-1j for ged-emacs-devel@m.gmane.org; Mon, 13 Feb 2012 05:29:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwtAN-0000wq-Vx for emacs-devel@gnu.org; Mon, 13 Feb 2012 05:29:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwtAM-0001Fz-Sf for emacs-devel@gnu.org; Mon, 13 Feb 2012 05:29:51 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwtAM-0001Fq-M4 for emacs-devel@gnu.org; Mon, 13 Feb 2012 05:29:50 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RwtAJ-0006IP-MV for emacs-devel@gnu.org; Mon, 13 Feb 2012 11:29:47 +0100 Original-Received: from 193.34.186.16 ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2012 11:29:47 +0100 Original-Received: from andrewjmoreton by 193.34.186.16 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2012 11:29:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.34.186.16 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt) Cancel-Lock: sha1:PlfGbRc4y4GAvFiwDF7TY+X879g= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:148540 Archived-At: On Sun 12 Feb 2012, Ted Zlatanov wrote: > On Sat, 11 Feb 2012 19:45:25 +0200 Eli Zaretskii wrote: > >>> From: Andy Moreton >>> Date: Sat, 11 Feb 2012 17:22:40 +0000 >>> >>> It appears that Windows stores the certificates in the registry - see >>> "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates". > > EZ> Thanks. FWIW, there's also > > EZ> HKEY_CURRENT_USER\Software\Microsoft\SystemCertificates > > EZ> for the user's certificates. But what I see there, in both locations, > EZ> are binary blobs, not anything like what Ted showed. > > There are many certificate formats GnuTLS can speak; the .pem files I > showed are most common where legibility matters. Can Emacs extract > everything under this registry path automatically? I didn't see a way > in the C code. If I can slurp them into a file, I may be able to use > that. Please do not read these registry keys - you will almost certainly end up using revoked certificates (e,.g. diginotar), and duplicating the work of the existing system APIs but with added bugs. Please read the following articles: Certificate Status and Revocation Checking - TechNet Articles - Home - TechNet Wiki How Certificate Revocation Works There is lots of information there about how this works for various Windows versions. AndyM