From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: Request for advice on GNUS internals. GSSAPI progress report Date: Fri, 17 Feb 2017 00:09:47 +0800 Message-ID: References: <87y3x616rw.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c091404ee79990548a80676 X-Trace: blaine.gmane.org 1487263986 14406 195.159.176.226 (16 Feb 2017 16:53:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2017 16:53:06 +0000 (UTC) Cc: emacs-devel To: Live System User Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 16 17:53:02 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cePIh-0003Ei-9o for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2017 17:52:59 +0100 Original-Received: from localhost ([::1]:47879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cePIn-00085E-4j for ged-emacs-devel@m.gmane.org; Thu, 16 Feb 2017 11:53:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceOcz-0006UH-TA for emacs-devel@gnu.org; Thu, 16 Feb 2017 11:09:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceOcy-0005N7-Lv for emacs-devel@gnu.org; Thu, 16 Feb 2017 11:09:53 -0500 Original-Received: from mail-ua0-x235.google.com ([2607:f8b0:400c:c08::235]:33509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ceOcy-0005MQ-H1 for emacs-devel@gnu.org; Thu, 16 Feb 2017 11:09:52 -0500 Original-Received: by mail-ua0-x235.google.com with SMTP id x12so13621770uax.0 for ; Thu, 16 Feb 2017 08:09:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=g+CJWdtqEApdF9STNfvolH/qWnqbBw9Z7aGDCVBiS6k=; b=AMB1W6eMsAurBjIwUKxTmvK0u+LqlsRvQLjoVlZUyRJzn/PKVo3vlIYBjAZMmscFcd xrrSOqn0FgVdfL1bS4omLcdPkjuBZZopo5H3z4hXenIM5kJ1B/N/RItjjBNQYDQe80F5 5wDIoldDpNXyMfM4wciUJ1BoMK3Dwl45luKIpxCbzO2BK8gqDJ0fN0qcgGAiCyecksBc We8Ict1idquckNTLQnugxjtE6iCkubPG+gdu2k5O5qJGnGmDjhFiGmD3uG5Sl25OQ3of Oc1IcfkOzCtvY+VvpVzpWbz2u2eeo7KVzGlgSVqQMr3SskZMJcFady+gqCZG0oM8o/An r+ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=g+CJWdtqEApdF9STNfvolH/qWnqbBw9Z7aGDCVBiS6k=; b=FyUL5KaSbEFCwkUN0XzLej41ZCekdO6gTDsdFoZcllnc5Gmio3mPcTlRSEQfDPNp0a Ia7xr6U8YNnAo6h2ue6k1U4c67uq2EL8kZVfKotIRBVmK3yyvnNePKjT95YeETXEIxaT aQkRxfiHd1bwqPkGv7tPD0AUmNCE1Z8CaUM/dJKCYaa6yfQFK74/BQgTYijcCM0Sd0tK OHypX5TPcNiRePMjrfcv3xTvrhxzHaqhY69XU+Uatznw4+NVYw2zSKiHxCmI/wAhvfq+ PuqImqh+PaXrOZXp7QXhXoJjVX/t97OXH+RnG3Z9LfOMXK/h1zbWaFCfFNKnE9Eyt9YV M5AQ== X-Gm-Message-State: AMke39ksO8iqnsCnlmZwtMVfJrWTvg4uci4ov/tb1JRUO3i7H7EMhMAcpdCwSJIekaVRuSMqLlvGd7thtiUIPA== X-Received: by 10.176.69.245 with SMTP id u108mr1494613uau.164.1487261391549; Thu, 16 Feb 2017 08:09:51 -0800 (PST) Original-Received: by 10.103.132.194 with HTTP; Thu, 16 Feb 2017 08:09:47 -0800 (PST) Original-Received: by 10.103.132.194 with HTTP; Thu, 16 Feb 2017 08:09:47 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c08::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:212426 Archived-At: --94eb2c091404ee79990548a80676 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 16 Feb 2017 11:42 PM, "Live System User" wrote: Elias M=C3=A5rtenson writes: > I am now able to read my email using a GSSAPI-authenticated connection. > > If anyone is willing to try it, I know that you are still testing but don't forget to remove your "message" statements in nnimap.el -- it prints out passwords. You are right indeed that there's a lot of debug messages there. They will be removed of course. Also. can you consider handling the error when either module support is not enabled or the emacs-gssapi module is unavailable? Good point. Perhaps it would make sense to let the authenticator parameter be a list, and have the function try them all in order? Bonus points if the authenicator falls back to using the "gsasl" or "imtest" program, if configured: I don't know. The reason I started all of this was because I could never get gsasl to work properly, so even if I do it I wouldn't be able to test it. That said, patch does not change any existing behaviour so if gsasl works for you right now, nothing will change. Regards, Elias --94eb2c091404ee79990548a80676 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 16 Feb 2017 11:42 PM, "Live System User" <nyc4bos@aol.com> wrote:
=
Elias M=C3=A5rtenson &l= t;lokedhs@gmail.com> writes:
> I am now able to read my email using a GSSAPI-authenticated connection= .
>
> If anyone is willing to try it,

=C2=A0 I know that you are still testing but don't forget to remo= ve your
=C2=A0 "message" statements in nnimap.el -- it prints out passwor= ds.

You are right indeed that there's a lot of debug messages the= re. They will be removed of course.=C2=A0

<= div class=3D"gmail_quote">
=C2=A0 Also. can you con= sider handling the error when either module support
=C2=A0 is not enabled or the emacs-gssapi module is unavailable?

Good = point. Perhaps it would make sense to let the authenticator parameter be a = list, and have the function try them all in order?=C2=A0

Bonus points if the authenicator falls= back to using the "gsasl" or
=C2=A0 "imtest" program, if configured:

I don't know. Th= e reason I started all of this was because I could never get gsasl to work = properly, so even if I do it I wouldn't be able to test it.

That said, patch does not change an= y existing behaviour so if gsasl works for you right now, nothing will chan= ge.=C2=A0

Regards,=C2=A0=
Elias=C2=A0
--94eb2c091404ee79990548a80676--