Add conversion trait impls from `x509_parser::x509::X509Name` to `DistinguishedName`

Open
#355 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Locate the definitions of DistinguishedName and x509_parser::x509::X509Name, then inspect the conversion-related traits and APIs around them. The work is complete when conversions from X509Name to DistinguishedName support the verification-to-generation use case and the relevant tests pass.

Written by the indexing model from the issue text.

Description

It would be very helpful for code that uses both x509_parser for verification and rcgen for generation.

The reverse is likely difficult/impossible because X509Name is a borrowed type so I haven't bothered to ask.

Dominant language
Rust
Stars
516
Forks
160
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from rustls/rcgen

All issues in rustls/rcgen

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.