Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow-up from pki-types conversion #246

Merged
merged 5 commits into from
Mar 17, 2024
Merged

Follow-up from pki-types conversion #246

merged 5 commits into from
Mar 17, 2024

Conversation

djc
Copy link
Member

@djc djc commented Mar 15, 2024

Some minor cleanup after #223. In particular, this converts the CRL generation code to also generate CertificateRevocationListDer and tries to clarify the documented conversions between &[u8] and the PKI types.

cc @Tudyx

@djc djc requested review from cpu and est31 March 15, 2024 14:10
Copy link
Member

@cpu cpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo one typo that got copy pasta'd into a few places.

rcgen/src/certificate.rs Outdated Show resolved Hide resolved
rcgen/src/csr.rs Outdated Show resolved Hide resolved
rcgen/src/key_pair.rs Outdated Show resolved Hide resolved
rcgen/src/key_pair.rs Outdated Show resolved Hide resolved
@djc djc force-pushed the pki-types branch 2 times, most recently from 7fde6a7 to be21b61 Compare March 15, 2024 16:26
Copy link
Member

@est31 est31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a rebase, but otherwise good 👍 .

djc added 4 commits March 17, 2024 09:14
I don't think keeping this is valuable since we have a TryFrom impl
for PrivatePkcs8KeyDer, which already clearly communicates the type.
@djc djc added this pull request to the merge queue Mar 17, 2024
Merged via the queue into main with commit 4427f6d Mar 17, 2024
42 checks passed
@djc djc deleted the pki-types branch March 17, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants