Skip to content

Conversation

@devonh
Copy link
Member

@devonh devonh commented Dec 9, 2025

Fixes #5337

Removes the rustls-pemfile dependency and replaces it's usage with rustls-pki-types.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 9, 2025

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 56067f9
Status: ✅  Deploy successful!
Preview URL: https://52f628af.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://devon-remove-rustls-pemfile.matrix-authentication-service-docs.pages.dev

View logs

@devonh devonh added the T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks. label Dec 9, 2025
@devonh devonh marked this pull request as ready for review December 9, 2025 20:05
@devonh devonh requested a review from a team as a code owner December 9, 2025 20:05
@anoadragon453 anoadragon453 requested a review from a team December 10, 2025 09:34
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

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

Looks like we're just replacing methods to read the same keys. And the original advisory recommended we use this alternative dependency (which itself was used by rustls-pemfile.

This all looks sound to me. I requested a review from @element-hq/security out of paranoia in case there's some unknown unknown while dealing with certificates. For context, this code sets up TLS certificates for MAS workers (used here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Task Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI is failing on cargo-deny for rustls-pemfile crate

4 participants