rustls / rustls/rustls-openssl-compat
Support certificate validation callback
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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