From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Tue, 26 Apr 2011 21:57:13 -0600 Message-ID: <4DB79419.3030001@gmail.com> References: <87ipvwl1nx.wl%claudio.bley@gmail.com> <87aagn2tpr.fsf@lifelogs.com> <87wrjquacf.fsf@lifelogs.com> <87lj05svwh.fsf@lifelogs.com> <87bp11imgb.wl%claudio.bley@gmail.com> <8739mc5nes.fsf@lifelogs.com> <87ipuubao6.fsf@lifelogs.com> <87fwpjfkkz.fsf@lifelogs.com> <87bp072fb1.fsf@lifelogs.com> <874o5vimm5.fsf@lifelogs.com> <87zknjmcyk.fsf@lifelogs.com> <87sjta2zvp.fsf@lifelogs.com> <87liyzglkh.fsf@lifelogs.com> <4DB77682.1070605@gmail.com> <8762q04ba1.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1303876644 7137 80.91.229.12 (27 Apr 2011 03:57:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2011 03:57:24 +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 Apr 27 05:57:20 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QEvsN-0004PC-FN for ged-emacs-devel@m.gmane.org; Wed, 27 Apr 2011 05:57:19 +0200 Original-Received: from localhost ([::1]:36115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEvsN-00061l-3m for ged-emacs-devel@m.gmane.org; Tue, 26 Apr 2011 23:57:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEvsK-00061g-I6 for emacs-devel@gnu.org; Tue, 26 Apr 2011 23:57:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEvsJ-0005zZ-Np for emacs-devel@gnu.org; Tue, 26 Apr 2011 23:57:16 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:43964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEvsJ-0005zV-Jb for emacs-devel@gnu.org; Tue, 26 Apr 2011 23:57:15 -0400 Original-Received: by gxk23 with SMTP id 23so579813gxk.0 for ; Tue, 26 Apr 2011 20:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jOcmbFkAumt+EWrEDUi8B7t9i8iebQLqLPQL0jMLyKQ=; b=WzQOiy3gxUelaXU4k1Yp5oG04vrqmX6CKHMMJVJblUcy1hzVpw3C5iXP/h+3QmuctS l2d0gXbl8UVnMgE46dxlssns0pRuHnJkxbc66HhN7A90ncZno3fRu2mpRvQbnNDyknED V4P+UvZHfbNiiV/E4Pn4brZFLB6fqMdLJf7VY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xU5PcN8ps84wgvDXO8l3fFFEu/0EEBW3tr3x0D7kF3gt7qazrMyYuqfKt94dAZxy0X 9KTdpFN9Nkr2A6Yp/+tXLJeL9PYaRLQ+XVtlElhlq4Dz8QvMXa0+BkcorWhXNtLRSBdK RD8RvD+bcJ9B2ALhrJdYktGTivNYi8wEkCcyw= Original-Received: by 10.236.76.229 with SMTP id b65mr1938753yhe.379.1303876634832; Tue, 26 Apr 2011 20:57:14 -0700 (PDT) Original-Received: from [192.168.1.5] (70-59-4-22.hlrn.qwest.net [70.59.4.22]) by mx.google.com with ESMTPS id 51sm235953yhl.40.2011.04.26.20.57.13 (version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 20:57:14 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: <8762q04ba1.fsf@lifelogs.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 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:138831 Archived-At: On 4/26/2011 9:35 PM, Ted Zlatanov wrote: > CS> Can we make it behave like for any of the graphics dll's, where the > CS> support might be enabled at compile time, but the dll must not > CS> necessarily be present to use Emacs at all? > > Sure, but someone with access to W32 machines would have to write and > test it, I can't. I will take a look at that. I have access to Windows XP, Windows 7 and various flavors of GNU/Linux. > It depends on what version of Gnus and Emacs you are using. If you're > using the trunk version of both, I think you want (nnimap-stream ssl), > but I honestly don't remember all the permutations before then. Yes. I am using the trunk versions of both. `ssl' does not work, btw. > You can test that GnuTLS support works, in any case, with > > (require 'gnutls) > (open-gnutls-stream "tls" "tls-buffer" "imap.gmail.com" "imaps") > > Set `gnutls-log-level' to 1 to get details in *Messages*. I get this: gnutls.c: [1] (Emacs) allocating credentials gnutls.c: [1] (Emacs) gnutls callbacks gnutls.c: [1] (Emacs) gnutls_init gnutls.c: [1] (Emacs) got non-default priority string: NORMAL gnutls.c: [1] (Emacs) setting the priority string imap.gmail.com certificate could not be verified. gnutls.c: [1] (Emacs) certificate signer was not found: imap.gmail.com gnutls.c: [1] (Emacs) certificate validation failed: imap.gmail.com # and * OK Gimap ready for requests from ...(my IP address I guess) in the tls-buffer. I am not sure if this means it is working or not. Christoph