Skip to content

Remove dependency on unmaintained rustls_pemfile - #1147

Open
ThomasHabets wants to merge 1 commit into
seanmonstar:masterfrom
ThomasHabets:no-pemfile
Open

ThomasHabets wants to merge 1 commit into
seanmonstar:masterfrom
ThomasHabets:no-pemfile

Conversation

@ThomasHabets

Copy link
Copy Markdown

This is for 0.3, adding on top of what I think is 0.3.7 (it's not git tagged).

I use 0.3 because I want to use the tls feature.

@themavik themavik left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

CertificateDer::pem_reader_iter + PrivateKeyDer::from_pem_slice drops the unmaintained rustls_pemfile dep cleanly. nit: read_trust_anchor now maps PEM parse failures to CertParseError instead of threading IO errors—call that out if downstream matches on TlsConfigError variants.

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.

2 participants