pyca / pyca/pyopenssl

[TLS 1.3] Add post-handshake auth support

Open
#793 2 comments 0 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

TLS 1.3 introduced post-handshake authentication for TLS client certs. The feature is required for e.g. HTTP servers that require TLS client cert authentication depending on HTTP method and/or path.

PyCA cryptography needs to expose:

  • int SSL_verify_client_post_handshake(SSL *ssl)
  • void SSL_CTX_set_post_handshake_auth(SSL_CTX *ctx, int val)
  • void SSL_set_post_handshake_auth(SSL *ssl, int val)
  • SSL_VERIFY_POST_HANDSHAKE

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 reading the linked Python issue 34670 and the OpenSSL SSL_CTX_set_post_handshake_auth documentation. Locate the existing OpenSSL TLS wrapper entry points for SSL and SSL_CTX, then compare their exposure of the four requested symbols. Done means the requested functions and SSL_VERIFY_POST_HANDSHAKE are available through the Python API with coverage for the supported OpenSSL versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking, security
Issue type
Feature
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.