You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System.Security.Cryptography.Pkcs test Decrypt_512_CekDoesNotDecrypt_FixedValue fails on Fedora 38 #95115
changed the title [-]System.Security.Cryptography.Pkcs.EnvelopedCmsTests.Tests.Decrypt_512_CekDoesNotDecrypt_FixedValue fails on Fedora 38[/-][+]System.Security.Cryptography.Pkcs test Decrypt_512_CekDoesNotDecrypt_FixedValue fails on Fedora 38[/+]on Nov 22, 2023
Weird. This is about as deterministic as a crypto test gets (it uses a known key to decrypt a known value), and it clearly succeeded on retry since the log linked above shows success.
This feels like one of those "the computer said 2 + 2 = 5" never-reproducible bugs... but let's see if we get some more hits to try and force a repro.
Activity
[-]System.Security.Cryptography.Pkcs.EnvelopedCmsTests.Tests.Decrypt_512_CekDoesNotDecrypt_FixedValue fails on Fedora 38[/-][+]System.Security.Cryptography.Pkcs test Decrypt_512_CekDoesNotDecrypt_FixedValue fails on Fedora 38[/+]bartonjs commentedon Nov 22, 2023
Weird. This is about as deterministic as a crypto test gets (it uses a known key to decrypt a known value), and it clearly succeeded on retry since the log linked above shows success.
This feels like one of those "the computer said 2 + 2 = 5" never-reproducible bugs... but let's see if we get some more hits to try and force a repro.
akoeplinger commentedon Nov 22, 2023
@bartonjs where are you seeing this succeed? It fails on every outerloop run on Fedora 38 across both mono and coreclr.
bartonjs commentedon Nov 22, 2023
The log you linked to says no failures...
bartonjs commentedon Nov 22, 2023
Ah. The log you originally linked to, which is what I got in the email notification. I see the current link has a failure.
akoeplinger commentedon Nov 22, 2023
Yeah sorry, that was a copy-paste mistake :D
vcsjones commentedon Nov 22, 2023
I can reproduce it on Fedora 39 but not Ubuntu 23.04. Odd.
vcsjones commentedon Nov 22, 2023
Okay. @bartonjs and I tracked it down to openssl/openssl#13817. This is a change in OpenSSL 3.2 that Fedora / Red Hat back ported.
We are going to disable the implicit rejection so the APIs work as they have always worked.
vcsjones commentedon Nov 24, 2023
Re-opening because we probably need to backport this.
tomato42 commentedon Dec 6, 2023
@vcsjones We have implemented it in OpenSSL specifically to protect users of such broken API as the one provided by C# and VB.NET.
By disabling implicit rejection you are MAKING them vulnerable
Please, see https://people.redhat.com/~hkario/marvin/ and read it whole, including both of the papers.