Message245652
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... |
|
Date |
User |
Action |
Args |
2015-06-22 22:00:28 | r.david.murray | set | recipients:
+ r.david.murray, barry, jesstess, sandro.tosi, catalin.iacob, python-dev, zvyn |
2015-06-22 22:00:28 | r.david.murray | set | messageid: <1435010428.05.0.000926948967956.issue15014@psf.upfronthosting.co.za> |
2015-06-22 22:00:28 | r.david.murray | link | issue15014 messages |
2015-06-22 22:00:27 | r.david.murray | create | |
|