Skip to content

Test failure: System.Security.Cryptography.Cose.Tests.CoseMultiSignMessageTests_Sign.SignVerify #127441

@VincentBu

Description

@VincentBu

Failed in: runtime-coreclr crossgen2 20260425.1

Failed tests:

net11.0-osx-Release-x64-TestReadyToRun_Release-OSX.15.Amd64.Open
- System.Security.Cryptography.Cose.Tests.CoseMultiSignMessageTests_Sign.SignVerify

Error message:

Interop+AppleCrypto+AppleCFErrorCryptographicException : The operation couldn’t be completed. (OSStatus error -50 - Unsupported key type: 42 (converted value: 42)

Stack trace:

   at Interop.AppleCrypto.CreateDataKey(ReadOnlySpan`1 keyData, PAL_KeyAlgorithm keyAlgorithm, Boolean isPublic)
   at System.Security.Cryptography.RSAImplementation.RSAAppleCrypto.ImportKey(RSAParameters parameters)
   at System.Security.Cryptography.RSAImplementation.RSAAppleCrypto.ImportParameters(RSAParameters parameters)
   at System.Security.Cryptography.RSA.Create(RSAParameters parameters)
   at System.Security.Cryptography.Cose.Tests.TestKeyRing.CreateRSA(Boolean includePrivateKey) in /_/src/libraries/System.Security.Cryptography.Cose/tests/TestKeyRing.cs:line 93
   at System.Security.Cryptography.Cose.Tests.TestKeyRing.get_RSAKey() in /_/src/libraries/System.Security.Cryptography.Cose/tests/TestKeyRing.cs:line 32
   at System.Security.Cryptography.Cose.Tests.CoseTestHelpers.GetKeyHashPaddingTriplet[T](CoseAlgorithm algorithm, Boolean useNonPrivateKey) in /_/src/libraries/System.Security.Cryptography.Cose/tests/CoseTestHelpers.cs:line 522
   at System.Security.Cryptography.Cose.Tests.CoseMessageTests_Sign`1.GetKeyHashAlgorithmPaddingQuadruplet(Boolean useNonPrivateKey)+MoveNext() in /_/src/libraries/System.Security.Cryptography.Cose/tests/CoseMessageTests.Sign.cs:line 40
   at System.Security.Cryptography.Cose.Tests.CoseMessageTests_Sign`1.SignVerify() in /_/src/libraries/System.Security.Cryptography.Cose/tests/CoseMessageTests.Sign.cs:line 99
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions