Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2570

TestSuccessfulAuthentication fails on FIPS enabled system

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • proton-dotnet-1.0.0-M2
    • None
    • proton-dotnet
    • 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:

      1. fips-mode-setup --enable
      2. reboot
      3. git clone https://github.com/apache/qpid-proton-dotnet.git
      4. cd qpid-proton-dotnet/
      5. dotnet build
      6. dotnet test

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            pematous Petr Matousek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: