cocagne / txdbus

Native Python implementation of DBus for Twisted
MIT License
61 stars 39 forks source link

Fix anonymous authentication to conform to RFC 4505 #6

Closed jaakkomoller closed 10 years ago

jaakkomoller commented 10 years ago

The previous spec for anonymous authentication for SASL: RFC 2245 allowed authetication as anonymous without trace data. The current spec: RFC 4505, does not allow anonymous authentication without trace data.

We send the library's name as the trace data, which is what libdbus does (, in addition libdbus also sends the version number). The trace data could be anything else as well, as long as it is valid UTF-8 and it must be an email address if it contains '@'.

cocagne commented 10 years ago

Thanks. Included and uploaded to pypi as txdbus 1.0.8.