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 to ring to handle authentication (as rsa currently has a known security vulnerability, and as I'm already depending on ring through rcgen(rustls))
When authenticating, devices need to sign random data using Pkcs1v1.5 with a SHA1 digest. rsa crate is providing this feature, but did not find any way to achieve this using ring crate .
Are you planning to provide a static RSA_PKCS1_SHA1 implementing RsaEncoding trait ? Or is there another way to achieve this ?
I'm maintaining adb_client, a rust crate used to communicate using Android devices over ADB protocol. I'd like to move from
rsacrate toringto handle authentication (asrsacurrently has a known security vulnerability, and as I'm already depending onringthroughrcgen(rustls))When authenticating, devices need to sign random data using
Pkcs1v1.5with aSHA1digest.rsacrate is providing this feature, but did not find any way to achieve this usingringcrate .Are you planning to provide a static
RSA_PKCS1_SHA1implementingRsaEncodingtrait ? Or is there another way to achieve this ?