Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] mqttv5 enhanced authentication with paho

I think that's one of the outstanding items for MQTT 5.0 in the Python client.  Possibly the only thing outstanding.  One of the reasons is that I didn't, at the time, have a good understanding of how it might be used.

Are you connecting to a broker with such support?  If so, what is it, and what sort of authentication mechanism?

On 06/04/2021 19:39, Davide Ambrosi wrote:
Hi everyone,

I'm currently developing an MQTT application, but I'm not able to find a way to implement the enhanced authentication mechanism of MQTT v5.

Some context: I'm using the latest version of mosquitto as broker, and paho in python as client, with the following syntax to connect the client:

client = mqtt.Client("client1".encode("utf-8"), protocol=mqtt.MQTTv5)
callback = Callbacks()
client.connect("", port=1883, keepalive=60)

The desired result is to use the AUTH packets among the CONNECT and CONNACK messages to perform a mutual authentication between the client and the broker, but from the paho documentation I'm not able to find anything about it.
Do you know if it is possible? If so do you have a reference for it?

Thank you in advance.

paho-dev mailing list
To unsubscribe from this list, visit
Ian Craggs
Eclipse IoT PMC; Eclipse Paho Project Lead; OASIS MQTT TC Member

Back to the top