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

Using a blank mech_list disables authentication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.11.0
    • proton-0.11.0
    • python-binding
    • None

    Description

      This bug was introduced in commit
      https://github.com/apache/qpid-proton/commit/14956b07edc3de93f67179c753bbedcd9eba51a6
      If the client leaves allowed_mechs as None, the SASL protocol is not even executed. I claim that allowed_mechs is used to restrict the set of acceptable mechanisms. If it is None, then all available mechanisms may be used.
      This bug causes a failure in the Qpid Dispatch test suite (system_tests_qdstat). The failure is when the server requires authentication and will accept EXTERNAL and the client has a valid client-certificate but doesn't use the sasl protocol because qdstat doesn't (and can't) set the allowed_mechs.

      Attachments

        Activity

          People

            gsim Gordon Sim
            tross Ted Ross
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: