-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.Decrypt_Pkcs1_ErrorsForInvalidPadding(Byte[] data) #99369
Comments
Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones Issue DetailsBuild InformationBuild: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=591354 Error MessageFill the error message using step by step known issues guidance. {
"ErrorMessage": "at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.Decrypt_Pkcs1_ErrorsForInvalidPadding(Byte[] data)",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
|
I think this might be a one in a million failure... and we can probably delete the test because it's probably covered by tests added since that one. Jeremy rambling about probabilityOK, for a completely random input; the odds of a successful PKCS1 decryption are
That's for random. This is for derived. That changes the probability to... something. "What are the odds that modpow(x, n, d) and modpow(y, n, d) are both PKCS1-conforming when y2038 = ~x2038, y2037 = ~x2037, ... y2031 = ~x2031; otherwise yi = xi, and modpow(x, n, d) is pkcs-conforming?" Shrug, say one in a million, move on. Bonus points to anyone who can actually work that out. |
happened twice today |
Clearly my test writing efforts would be better spent on buying lottery tickets. |
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=591354
Build error leg or test failing: System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_TrySpan.Decrypt_Pkcs1_ErrorsForInvalidPadding
Pull request: #99287
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=591354
Error message validated:
[at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.Decrypt_Pkcs1_ErrorsForInvalidPadding(Byte[] data)
]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/6/2024 6:01:33 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: