all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Elias Mårtenson" <lokedhs@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Request for advice on GNUS internals. GSSAPI progress report
Date: Wed, 15 Feb 2017 12:37:30 +0800	[thread overview]
Message-ID: <CADtN0W+syvfoGe+f2+9Xd=AHv75rMnv1WTq8KxV6MZRpR2-Fzg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]

I've now spent a few days figuring out how to do GSSAPI authentication with
IMAP, and I have now managed to complete a full handshake from GNUS with a
Microsoft Exchange server using GSSAPI.

Immediately after authentication is complete, the connection switches to
GSSAPI mode where each packet needs to pass through a call to ‘gss-unwrap’,
and the data sent to the server also needs to be split into packets which
are wrapped using a call to ‘gss-wrap’. The situation is further
complicated by the fact that the server can limit the maximum packet size
during initial handshake.

I need some advice from someone who is well-versed in the internals of GNUS
to explain where I should add the code to handle this.

At first I was looking at create a new ‘nnimap-stream’ type to represent
this, but the connection is already inside a TLS connection which already
uses ‘ssl’ or ‘starttls’ here. The GSSAPI authentication is independent of
the actual connection type, but it wraps all the IMAP commands that are
transmitted over it.

What approach should I take here?

Regards,
Elias

[-- Attachment #2: Type: text/html, Size: 1255 bytes --]

             reply	other threads:[~2017-02-15  4:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-15  4:37 Elias Mårtenson [this message]
2017-02-15 10:13 ` Request for advice on GNUS internals. GSSAPI progress report Elias Mårtenson
2017-02-16 10:17   ` Elias Mårtenson
2017-02-20 16:10     ` Lars Ingebrigtsen
2017-02-21  2:50       ` Elias Mårtenson
2017-02-21  3:42         ` Eli Zaretskii
2017-02-21  4:50           ` Elias Mårtenson
2017-02-21  8:00         ` Michael Albinus
2017-02-27 16:29         ` Lars Ingebrigtsen
2017-02-28  7:25           ` Elias Mårtenson
  -- strict thread matches above, loose matches on Subject: below --
2017-02-16 15:42 Live System User
     [not found] ` <CADtN0W+AdbL9xo2_M-bfV3K=Xsu5-puUJ1bA3aw_=KMT6hSv5w@mail.gmail.com>
     [not found]   ` <CADtN0WLv9v57Di8O66Ggxo8Gk6Hi50OykK=J5UMTqCiOpROn-A@mail.gmail.com>
2017-02-16 16:09     ` Elias Mårtenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADtN0W+syvfoGe+f2+9Xd=AHv75rMnv1WTq8KxV6MZRpR2-Fzg@mail.gmail.com' \
    --to=lokedhs@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.