eclipse / paho.mqtt.python

paho.mqtt.python
Other
2.12k stars 722 forks source link

Draft: Add support for PyOpenSSL in paho.mqtt.python #849

Open IniterWorker opened 1 month ago

IniterWorker commented 1 month ago

This PR aims to introduce support for PyOpenSSL in the paho.mqtt.python library. The primary focus is on enabling the provision of a custom SSL.Context within the MQTT client. This enhancement is essential for ensuring compatibility with PKCS#11, as discussed in issue #646.

Changes:

Purpose:

The introduction of PyOpenSSL support serves to broaden the library's compatibility spectrum, particularly for scenarios involving PKCS#11 integration. This enhancement enhances the versatility and usability of the paho.mqtt.python library.

Related Issue:

Related Work:

Notes for Reviewers:

Your feedback on the implementation approach and any suggestions for further improvements are highly appreciated.