Skip to content

Conversation

@complexspaces
Copy link
Collaborator

This PR attempts to improve the debugability of the Linux/BSD others Verifier implementation (ref rust-lang/rustup#4305) by separating the crypto provider's logic from the actual WebPkiServerVerifier that needs instantiated and wrapped.

Instead of having a Verifier construction failure in the path of obtaining the crypto provider's signature list, obtain the list of signatures directly from the provider instead like on the other platforms.

This makes failure case debugging consistent across the different platforms the platform verifier supports and just makes debugging failures with the others verifier easier too.

cc @djc

Instead of having a Verifier construction failure in
the path of obtaining the crypto provider's signature
list, obtain the list of signatures directly from the
provider instead like on the other platforms.

This makes failure case debugging consistent across
the different platforms the platform verifier supports
and makes debugging failures with this verifier easier
too.
@complexspaces complexspaces requested a review from djc April 25, 2025 15:50
Copy link
Member

@djc djc left a comment

Choose a reason for hiding this comment

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

Definitely an improvement!

@djc djc merged commit 62304df into main Apr 25, 2025
21 checks passed
@djc djc deleted the improve-signature-failure-case branch April 25, 2025 16:31
@complexspaces complexspaces mentioned this pull request Apr 25, 2025
4 tasks
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.

4 participants