Skip to content

Conversation

@e-nomem
Copy link
Contributor

@e-nomem e-nomem commented Dec 16, 2025

The recommended replacement for rustls-pemfile seems to be using rustls-pki-types, so I did that here

Comment on lines +423 to 427
if let Some(root_certs) = ca_certificates()? {
for cert in root_certs {
tls_builder.add_root_certificate(native_tls::Certificate::from_der(&cert)?);
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we should really be calling tls_builder.disable_built_in_roots(true) in this block. That would match the behavior on the rustls side where we replace the root certs instead of appending to it.

Copy link
Member

Choose a reason for hiding this comment

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

I guess we can do it in v2.0 to avoid potential breakage.

# num_prefix unmaintained
"RUSTSEC-2025-0119",
# rustls-pemfile unmaintained
"RUSTSEC-2025-0134",
Copy link
Member

Choose a reason for hiding this comment

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

we need to keep this for now because of MSRV limit we can't upgrade cargo-xwin yet.

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