rustls / rustls/rustls-platform-verifier
Rewrite verification_mock helpers in Rust
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
- 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 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