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

Ubuntu 20.04 "could not make secure connection: no protocols available" #67

Open
timcu opened this issue Jan 3, 2021 · 2 comments
Open

Comments

@timcu
Copy link
Contributor

timcu commented Jan 3, 2021

This mod uses LuaIRC which hard codes the deprecated protocol tlsv1 for secure connections. As of Ubuntu 20.04, tlsv1 is no longer available. I have added a pull request to the upstream LuaIRC project which fixes this problem.

JakobOvrum/LuaIRC#36

In the meantime, to workaround this problem, users can edit irc/irc/init.lua and change line 111 from

params = {mode = "client", protocol = "tlsv1"}

to

params = {mode = "client", protocol = "any"}
@crabctrl
Copy link

Hi, just wanted to pop in to mention that this is a significant issue. TLSv1 has known security vulnerabilities, and is no longer supported by many servers. As @timcu suggested, using protocol = "any" is the correct approach, as that allows the SSL library to select the best available protocol, which is important and should always be used for security (and compatibility) reasons.

In any case, this bug causes the mod to be unusable on my server, without the above patch. Please change this, it's literally one line of code, and yet this issue has been apparently unread for four months...

@timcu
Copy link
Contributor Author

timcu commented May 23, 2021

Thanks for this comment of support @katp32 . Please also add a comment to the pull request on the upstream project

JakobOvrum/LuaIRC#36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants