Skip to content

Migrate to pki-types PEM decoder #476

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

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Migrate to pki-types PEM decoder #476

merged 2 commits into from
Oct 17, 2024

Conversation

cpu
Copy link
Member

@cpu cpu commented Oct 17, 2024

The job that the rustls-pemfile crate was doing has now been folded into the pki-types crate where we can offer a more integrated experience (and also avoid timing side-channels in base64 decoding of private key material).

This branch replaces rustls-ffi's usage of rustls-pemfile with pki-types >1.10. Happily a lot of extra helper code/imports fall away 🚀

Resolves #475
See also rustls/rustls#2140

cpu added 2 commits October 17, 2024 12:40
The job that the rustls-pemfile crate was doing has now been folded into
the pki-types crate where we can offer a more integrated experience (and
also avoid timing side-channels in base64 decoding of private key
material).

This branch replaces rustls-ffi's usage of rustls-pemfile with pki-types
>1.10.
@cpu cpu self-assigned this Oct 17, 2024
@cpu cpu requested a review from ctz October 17, 2024 16:50
Copy link
Member

@ctz ctz left a comment

Choose a reason for hiding this comment

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

nice!

@cpu cpu merged commit e811b2a into rustls:main Oct 17, 2024
40 checks passed
@cpu cpu deleted the cpu-pki-types-pem branch October 17, 2024 18:24
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.

Replace rustls-pemfile with direct pki-types usage
2 participants