This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients barry, catalin.iacob, jesstess, python-dev, r.david.murray, sandro.tosi, zvyn
Date 2015-06-22.22:00:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435010428.05.0.000926948967956.issue15014@psf.upfronthosting.co.za>
In-reply-to
Content
Sounds reasonable.  I'll suggest a slight variation.  We change the authobj signature to challenge=None, then the first thing we do in auth is 'initial_response = authobj()'.  The return value can be the empty string or a real initial value, and we send the auth command with ' '.join(mechanism, initial_response).strip().  Then we do the challenge part only if we get the 334.

There's already an open issue for smtpd auth, with at least a preliminary patch, but it got blocked a bit by Martin quoting an RFC...
History
Date User Action Args
2015-06-22 22:00:28r.david.murraysetrecipients: + r.david.murray, barry, jesstess, sandro.tosi, catalin.iacob, python-dev, zvyn
2015-06-22 22:00:28r.david.murraysetmessageid: <1435010428.05.0.000926948967956.issue15014@psf.upfronthosting.co.za>
2015-06-22 22:00:28r.david.murraylinkissue15014 messages
2015-06-22 22:00:27r.david.murraycreate