rustls / rustls/pki-types

Why does `SignatureVerificationAlgorithm` have a `Send + Sync` supertrait bound?

Open
#89 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

next-major-release
Dominant language
Rust
Stars
39
Forks
51
PR merge metrics
No merged PRs in 30d

Description

Why does SignatureVerificationAlgorithm have a Send + Sync supertrait bound?

https://github.com/rustls/pki-types/blob/1bc73dcdb53dd02c7b164d7bb235971b3374bd75/src/lib.rs#L891

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the cited definition in src/lib.rs around line 891 and read the six-comment discussion for the reason behind the Send + Sync supertrait bound. Compare the trait’s intended usage with the surrounding API, then document or resolve the rationale so the bound’s necessity is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cryptography, security
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.