-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for RSASSA-PKCS1-v1_5
with SHA1
digest
#2188
Comments
Right now, we have ```RsaKeyPair::sign() I am fine with accepting the addition of an |
Would that be close to #1503 (which has the test vectors, etc already handled) but just with the different public API like you proposed above? |
Indeed, except for a new public API as described above this PR does the trick :) Maybe you could have a look at it @briansmith ? This would also fill other users needs ! |
I could take on porting that PR's contents to the new proposed API. |
I'm maintaining adb_client, a rust crate used to communicate using Android devices over ADB protocol. I'd like to move from
rsa
crate toring
to handle authentication (asrsa
currently has a known security vulnerability, and as I'm already depending onring
throughrcgen
(rustls))When authenticating, devices need to sign random data using
Pkcs1v1.5
with aSHA1
digest.rsa
crate is providing this feature, but did not find any way to achieve this usingring
crate .Are you planning to provide a static
RSA_PKCS1_SHA1
implementingRsaEncoding
trait ? Or is there another way to achieve this ?The text was updated successfully, but these errors were encountered: