Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umqtt.simple: Restore legacy ssl/ssl_params arguments. #936

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 7, 2024

  1. umqtt.simple: Restore legacy ssl/ssl_params arguments.

    Commit 35d41db changed the API for using
    SSL with umqtt, but only did a minor version increase.  This broke various
    uses of this library, eg
    https://github.com/aws-samples/aws-iot-core-getting-started-micropython
    
    Reinstate the original API for specifying an SSL connection.  This library
    now supports the following:
    - default, ssl=None or ssl=False: no SSL
    - ssl=True and optional ssl_params specified: use ssl.wrap_socket
    - ssl=<SSLContext instance>: use provided SSL context to wrap socket
    
    Signed-off-by: Damien George <[email protected]>
    dpgeorge committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    0bace17 View commit details
    Browse the repository at this point in the history