Repository navigation
pss: remove redundant verify_algorithm_id call in SigningKey::try_from - #660
Merged
tarcieri merged 1 commit intoOct 18, 2026
Merged
Conversation
tarcieri
approved these changes
Oct 18, 2026
kaidokert
pushed a commit
to kaidokert/RSA
that referenced
this pull request
Nov 5, 2026
…from` (RustCrypto#660) (cherry picked from commit b83a81f)
kaidokert
added a commit
to kaidokert/RSA
that referenced
this pull request
Nov 6, 2026
* build(deps): bump sha3 from 0.11.0 to 0.12.0 (RustCrypto#700) (cherry picked from commit a1d075c) * build(deps): bump rstest from 0.26.1 to 0.28.0 (RustCrypto#742) (cherry picked from commit f97f860) Fork: Cargo.lock dropped; manifest line resolved by hand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * build(deps): bump crate-ci/typos from 1.44.0 to 1.51.1 (RustCrypto#743) (cherry picked from commit a2dfdf5) * build(deps): bump actions/checkout from 6 to 7 (RustCrypto#741) (cherry picked from commit 2ea8a8b) * Add `Clone` derive to `Error` (RustCrypto#694) I believe all of the variants here are cloneable, this should be too. (cherry picked from commit ba228a1) * pss: remove redundant `verify_algorithm_id` call in `SigningKey::try_from` (RustCrypto#660) (cherry picked from commit b83a81f) * CI: move our own workflows to actions/checkout v7 Upstream RustCrypto#741 only touches the workflows it has. Without this the fork's target and ct-verify workflows stay on v4 and v6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Steven Malis <137308034+smalis-msft@users.noreply.github.com> Co-authored-by: VolodymyrBg <aqdrgg19@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The explicit [verify_algorithm_id()]
RSA/src/encoding.rs
Lines 152 to 169 in 1e94064
RsaPrivateKey::try_from()was redundant becauseRsaPrivateKey::try_from()already performs the samecheck internally. This matches the pattern used in [BlindedSigningKey]
RSA/src/pss/blinded_signing_key.rs
Lines 31 to 38 in 1e94064