This repository was archived by the owner on Feb 24, 2024. It is now read-only.
This repository was archived by the owner on Feb 24, 2024. It is now read-only.
[PATCH] Add delegation support, a Pythonic API, and remove base64 #22
Open
Description
daniel@… originally submitted this as ticket:481
The combination of these allow the creation of e.g. web interfaces that connect to other services on behalf of the user.
The delegation is to allow for services acting on behalf of the user.
Removing the previously forced base64 makes it possible to use as an authenticator in other Python modules, for instance imaplib.IMAP4.
The Pythonic API means a GSSAPI-authenticated IMAP instantiation looks like:
imap = imaplib.IMAP4('mail.example.com', 143)
imap.authenticate('GSSAPI', kerberos.GSSAPIClient('[email protected]', username='username', do_base64=False))
which IMHO looks a lot nicer than what is presently needed.