Skip to content
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

Tests under: System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests failed with "Interop+AppleCrypto+AppleCommonCryptoCryptographicException" #22458

Closed
ghost opened this issue Jun 23, 2017 · 3 comments
Labels
area-System.Security test-run-core Test failures in .NET Core test runs
Milestone

Comments

@ghost
Copy link

ghost commented Jun 23, 2017

Opened on behalf of @JiayiLi1

The test System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests/DecryptKnownECB192 has failed.

Interop+AppleCrypto+AppleCommonCryptoCryptographicException : The system cryptographic library returned error '-4305' of type 'CCCryptorStatus'

    Stack Trace:

       at Internal.Cryptography.AppleCCCryptor.ProcessInteropError(Int32 functionReturnCode, Int32 ccStatus) in /Users/buildagent/agent/_work/45/s/corefx/src/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/AppleCCCryptor.cs:line 222
   at Internal.Cryptography.AppleCCCryptor.Reset() in /Users/buildagent/agent/_work/45/s/corefx/src/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/AppleCCCryptor.cs:line 201
   at Internal.Cryptography.AppleCCCryptor.TransformFinal(Byte[] input, Int32 inputOffset, Int32 count) in /Users/buildagent/agent/_work/45/s/corefx/src/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/AppleCCCryptor.cs:line 65
   at Internal.Cryptography.UniversalCryptoDecryptor.UncheckedTransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) in /Users/buildagent/agent/_work/45/s/corefx/src/Common/src/Internal/Cryptography/UniversalCryptoDecryptor.cs:line 91
   at Internal.Cryptography.UniversalCryptoTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) in /Users/buildagent/agent/_work/45/s/corefx/src/Common/src/Internal/Cryptography/UniversalCryptoTransform.cs:line 101
   at System.Security.Cryptography.CryptoStream.FlushFinalBlock() in /Users/buildagent/agent/_work/45/s/corefx/src/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/CryptoStream.cs:line 113
   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) in /Users/buildagent/agent/_work/45/s/corefx/src/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/CryptoStream.cs:line 564
   at System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests.TestAesDecrypt(CipherMode mode, Byte[] key, Byte[] iv, Byte[] encryptedBytes, Byte[] expectedAnswer) in /Users/buildagent/agent/_work/45/s/corefx/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/AES/AesCipherTests.cs:line 578

Build : Master - 20170623.01 (Core Tests)
Failing configurations:

  • OSX.1013.Amd64-x64
    • Release

Detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fcli~2F/build/20170623.01/workItem/System.Security.Cryptography.Algorithms.Tests/analysis/xunit/System.Security.Cryptography.Encryption.Aes.Tests.AesCipherTests~2FDecryptKnownECB192

@danmoseley
Copy link
Member

@JustArchi
Copy link
Contributor

JustArchi commented Jul 5, 2017

Milestone of this issue should be probably changed to 2.0.0, since this looks like a serious regression that should be corrected before 2.0.0 goes stable. One of my users got it on 2.0.0-preview2.

@bartonjs
Copy link
Member

bartonjs commented Jul 5, 2017

@bartonjs bartonjs closed this as completed Jul 5, 2017
@bartonjs bartonjs removed their assignment Aug 4, 2017
@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 2.1.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Security test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

No branches or pull requests

4 participants