You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Petr Matousek (Jira)" <ji...@apache.org> on 2022/06/23 14:53:00 UTC

[jira] [Created] (PROTON-2570) TestSuccessfulAuthentication fails on FIPS enabled system

Petr Matousek created PROTON-2570:
-------------------------------------

             Summary: TestSuccessfulAuthentication fails on FIPS enabled system
                 Key: PROTON-2570
                 URL: https://issues.apache.org/jira/browse/PROTON-2570
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-dotnet
    Affects Versions: proton-dotnet-1.0.0-M2
         Environment: OS: RHEL8
dotnet: 6.0.106
broker: Red Hat AMQ 7.9.4.GA
            Reporter: Petr Matousek
            Assignee: Timothy A. Bish


TestSuccessfulAuthentication fails on FIPS enabled system.
{code:java}
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
{code}
 

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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org