Skip to content

Commit

Permalink
fixed rsa-sha1 signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Jan 3, 2025
1 parent 1dbf6c0 commit 8d83f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh-key/src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ impl Signer<Signature> for (&RsaKeypair, Option<HashAlg>) {

Ok(Signature {
algorithm: Algorithm::Rsa {
hash: Some(HashAlg::Sha512),
hash: self.1,
},
data: data.to_vec(),
})
Expand Down

0 comments on commit 8d83f78

Please sign in to comment.