rustls / rustls/rustls-openssl-compat

Respect direct manipulation of `X509_STORE`

Open
#17 1 comment 0 reactions 1 assignee View on GitHub

@ctz is already working on this.

Since May 13, 2024.

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

Description

At the moment certificate verification takes into account trusted certificates added via SSL_CTX_load_verify_file (and similar). However, it does not look at anything added by directly manipulating the X509_STORE returned from SSL_CTX_get_cert_store.

At minimum, we could extract certs and CRLs from that object each time and feed that to our verifier, at maximum we could entirely use the verifier in libcrypto (at the cost of more memory-unsafe code in the TCB).

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.