rustls / rustls/rustls-platform-verifier

Rewrite verification_mock helpers in Rust

Open
#39 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
158
Forks
60
Avg merge
5d 10h
Merged PRs (30d)
3

Description

Presently the mock verification test cases are generated using Go

It's likely possible to rewrite these test helpers in Rust, making maintenance a little bit easier. For inspiration, consider a similar rewrite that was done for the Rustls repo test pki where an example generates a modestly complex PKI in pure Rust using rcgen.

Putting this issue in the tracker for a rainy day.

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 with rustls-platform-verifier/src/tests/verification_mock/ and its ca.go helper, then compare the Rustls test PKI example at rustls/examples/internal/test_ca.rs. Use rcgen as the reference for generating the PKI in Rust, and verify that the mock verification test cases still work without the Go-generated helpers.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, rust
Domain
security, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.