rustls / rustls/rustls-openssl-compat

Support certificate validation callback

Open
#15 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
87
Forks
11
Avg merge
20h 10m
Merged PRs (30d)
3

Description

At the moment if SSL_CTX_set_verify is called with a non-NULL callback, we return an error. Instead, we should implement this. That will mean filling in an X509_STORE_CTX.

This should unlock nginx support for client authentication.

Contributor guide

No contributing guide indexed for this repository

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 at the implementation of SSL_CTX_set_verify and trace the current error path for a non-NULL callback. Read the surrounding certificate-validation code and determine what information must populate an X509_STORE_CTX. Done means the callback is supported and nginx client authentication is unlocked; no test or file path is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authentication, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.