RustCrypto / RustCrypto/formats

x509-cert: support alternative `SubjectKeyIdentifier` methods (RFC 7093)

Open
#2,347 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
338
Forks
188
Avg merge
4d 6h
Merged PRs (30d)
15

Description

The x509-cert builder currently only supports the RFC 5280 approach of using SHA-1.

https://github.com/RustCrypto/formats/blob/x509-cert/v0.3.0-rc.4/x509-cert/src/macros.rs#L134-L135

RFC 7093 extends this to allow additional methods.

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 x509-cert/src/macros.rs at the referenced lines and read RFC 7093 to identify the additional SubjectKeyIdentifier methods. Trace how the x509-cert builder currently selects SHA-1, then support the RFC 7093 alternatives and verify that the builder handles each supported method.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.