Skip to content
This repository has been 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
macosforgebot opened this issue May 13, 2012 · 5 comments
Open

Comments

@macosforgebot
Copy link

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.

@macosforgebot
Copy link
Author

daniel@… originally submitted this as attachment:pykerberos-everything.patch:⁠ticket:481


Patch implementing the above

@macosforgebot
Copy link
Author

@wsanchez originally submitted this as comment:4:⁠ticket:481

  • Priority changed from 5: Not set to 3: Important
  • Milestone set to Later

@macosforgebot
Copy link
Author

@wsanchez originally submitted this as comment:5:⁠ticket:481


See ticket #⁠847 prior to proceeding.

@macosforgebot
Copy link
Author

@wsanchez originally submitted this as comment:6:⁠ticket:481

  • Status changed from new to closed
  • Resolution set to Not to be fixed

Trying to be more active here now, but this patch no longer applies, and is too big to tease out each thing that was done.

Best to do one thing at a time.

@macosforgebot
Copy link
Author

@wsanchez originally submitted this as comment:7:⁠ticket:481

  • Status changed from closed to reopened
  • Resolution Not to be fixed deleted

Actually, reopening for reference…

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants