netty / netty/netty-tcnative

io.netty.handler.ssl.OpenSsl#doesSupportProtocol may not produce expected results with openssl 1.1.0+

Open
#257 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
268
Forks
196
Avg merge
14h 34m
Merged PRs (30d)
10

Description

As of PR https://github.com/netty/netty-tcnative/pull/249 io.netty.handler.ssl.OpenSsl#doesSupportProtocol may not produce the expected results. We should either find an alternative/more reliable way to determine supported protocols, or revert code from PR https://github.com/netty/netty-tcnative/pull/249 which always forces using the new TLS_*method if the version of OpenSSL is >= 1.1.0, and allow the deprecated methods to be used.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with io.netty.handler.ssl.OpenSsl#doesSupportProtocol and compare the behavior introduced by netty-tcnative PR 249 for OpenSSL 1.1.0 and later. Determine whether a more reliable protocol-support check is possible or whether the PR's forced TLS_*method behavior should be reverted; done means the method reports expected results.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, java
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.