-
Notifications
You must be signed in to change notification settings - Fork 182
Closed
Description
Hi, I found a possible break after upgrade from v0.8 to v0.9.
Backgound
I'm maintaining a lib that can generate signed url for google cloud storage services.
The code looks like the following:
let mut rng = rand::thread_rng();
let private_key = rsa::RsaPrivateKey::from_pkcs8_pem(&cred.private_key)?;
let signing_key = SigningKey::<sha2::Sha256>::new_with_prefix(private_key);
let signature = signing_key.sign_with_rng(&mut rng, string_to_sign.as_bytes());Problem
After upgrading from version v0.8.1 to v0.9.1, this code became fragile and the related tests failed at a rate of 10%. However, after rolling back to version v0.8.1, it worked stably again.
Do you have any ideas? I'm willing to help get this issue fixed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels