with OpenSSL 3.0.0: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated #7

Closed
opened 2022-02-22 00:33:25 +00:00 by phoebos · 2 comments

When connecting via gemini (i.e. using TLS) for only the first time in a session, offpunk produces this warning for every server I have tested:

/usr/bin/offpunk:1867: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
  context = ssl.SSLContext(protocol)

This is most likely because I am running OpenSSL version 3.0.0.

Python: version 3.10.1

When connecting via gemini (i.e. using TLS) for only the first time in a session, offpunk produces this warning for every server I have tested: ``` /usr/bin/offpunk:1867: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = ssl.SSLContext(protocol) ``` This is most likely because I am running OpenSSL version `3.0.0`. Python: version `3.10.1`
ploum closed this issue 2022-02-22 10:15:31 +00:00
Owner

Could you test the last commit and confirm it is fixed? If not, please reopen this bug. Thanks a lot for the report.

Could you test the last commit and confirm it is fixed? If not, please reopen this bug. Thanks a lot for the report.
Author

That's removed the warning, thanks.

That's removed the warning, thanks.
ploum referenced this issue from a commit 2023-01-12 16:16:06 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ploum/offpunk#7
No description provided.