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()
callback.register(client)
client.connect("127.0.0.1", 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
paho-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/paho-dev
-- 
Ian Craggs
Eclipse IoT PMC; Eclipse Paho Project Lead; OASIS MQTT TC Member

Back to the top