pyca / pyca/pyopenssl

Support for custom extensions

Open
#250 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
944
Forks
440
Avg merge
1d 6h
Merged PRs (30d)
6

Description

Hi,

openssl provides an API to add custom extensions on ClientHello/ServerHello messages through SSL_CTX_add_server_custom_ext / SSL_CTX_add_client_custom_ext ( https://www.openssl.org/docs/ssl/SSL_CTX_add_server_custom_ext.html ). Is there a way to do something like this with pyopenssl?

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 by comparing pyOpenSSL's exposed API with OpenSSL's SSL_CTX_add_server_custom_ext and SSL_CTX_add_client_custom_ext functions for ClientHello and ServerHello messages. Determine the intended Python-facing callback and extension behavior; done means pyOpenSSL provides a usable way to register custom extensions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.