We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When calling RSAEncrypt and RSADecrypt method in Linux/OS X , those two methods can not run well !
The main reason is that both Linux and OS X don't support RSAEncryptionPadding.OaepSHA512 !!
And RSAEncryptionPadding.OaepSHA512 is not optional in the source code !
Following EncryptProvider.cs#L364 and EncryptProvider.cs#L383
This is also the reason why the Unit Tests of RSA can not pass in my Mac book.
When I change RSAEncryptionPadding from OaepSHA512 to Pkcs1 , it runs well !
When calling RSA.Create() , it will create an instance of RSAOpenSsl in Linux , RSASecurityTransforms in OS X and RSACng in Windows.
Is there any other considerations to use RSAEncryptionPadding.OaepSHA512 ?
The text was updated successfully, but these errors were encountered:
Thanks for your pull request. I just test on windows.
At version 2.0.5 ,you can set RSAEncryptionPadding as you like.
Sorry, something went wrong.
No branches or pull requests
When calling RSAEncrypt and RSADecrypt method in Linux/OS X , those two methods can not run well !
The main reason is that both Linux and OS X don't support RSAEncryptionPadding.OaepSHA512 !!
And RSAEncryptionPadding.OaepSHA512 is not optional in the source code !
Following EncryptProvider.cs#L364 and EncryptProvider.cs#L383
This is also the reason why the Unit Tests of RSA can not pass in my Mac book.
When I change RSAEncryptionPadding from OaepSHA512 to Pkcs1 , it runs well !
When calling RSA.Create() , it will create an instance of RSAOpenSsl in Linux , RSASecurityTransforms in OS X and RSACng in Windows.
Is there any other considerations to use RSAEncryptionPadding.OaepSHA512 ?
The text was updated successfully, but these errors were encountered: