Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
proton-dotnet-1.0.0-M2
-
None
-
None
-
OS: RHEL8
dotnet: 6.0.106
broker: Red Hat AMQ 7.9.4.GA
Description
TestSuccessfulAuthentication fails on FIPS enabled system.
Starting test execution, please wait... A total of 1 test files matched the specified pattern. Failed TestSuccessfulAuthentication [12 ms] Error Message: System.Security.Cryptography.CryptographicException : Error occurred during a cryptographic operation. Stack Trace: at Interop.Crypto.CheckValidOpenSslHandle(SafeHandle handle) at Internal.Cryptography.HashProviderDispenser.HmacHashProvider..ctor(IntPtr algorithmEvp, ReadOnlySpan`1 key) at Internal.Cryptography.HMACCommon.ChangeKeyImpl(ReadOnlySpan`1 key) at System.Security.Cryptography.HMACMD5..ctor(Byte[] key) at Apache.Qpid.Proton.Engine.Sasl.Client.CramMD5Mechanism.GetChallengeResponse(ISaslCredentialsProvider credentials, IProtonBuffer challenge) in /root/qpid-proton-dotnet/src/Proton/Engine/Sasl/Client/CramMD5Mechanism.cs:line 55 at Apache.Qpid.Proton.Engine.Sasl.Client.CramMD5MechanismTest.TestSuccessfulAuthentication() in /root/qpid-proton-dotnet/test/Proton.Tests/Engine/Sasl/Client/CramMD5MechanismTest.cs:line 45 Failed! - Failed: 1, Passed: 3451, Skipped: 0, Total: 3452, Duration: 14 s - /root/qpid-proton-dotnet/test/Proton.Te
Steps to Reproduce:
- fips-mode-setup --enable
- reboot
- git clone https://github.com/apache/qpid-proton-dotnet.git
- cd qpid-proton-dotnet/
- dotnet build
- dotnet test