Skip to content

UNSAFE_LEGACY_RENEGOTIATION_DISABLED error in newer versions of Python #175

@Dilski

Description

@Dilski

Some roombas (such as my 600 series) do not support "RFC 5746 secure renegotiation".
Newer versions of Python use OpenSSL 3, which enforces this standard by default - which means that this library does not work on newer versions of python.

There's some discussion on this on the home assistant core github:
home-assistant/core#82775

From my understanding of the issue, I think where this library sets up the mqtt client
https://github.com/pschmitt/roombapy/blob/master/roombapy/remote_client.py#L84
the ssl context would need modifying as described here:

python/cpython#27776 (comment)

I'm happy to implement this fix, just give me the thumbs up if you'd be happy with the change

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions