You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2014/05/21 13:27:37 UTC

[jira] [Created] (QPID-5778) CRAM-MD5 mechanism does not work in python-client

Pavel Moravec created QPID-5778:
-----------------------------------

             Summary: CRAM-MD5 mechanism does not work in python-client
                 Key: QPID-5778
                 URL: https://issues.apache.org/jira/browse/QPID-5778
             Project: Qpid
          Issue Type: Bug
          Components: Python Client (Wrapped)
    Affects Versions: 0.26
            Reporter: Pavel Moravec
            Assignee: Pavel Moravec
            Priority: Minor


CRAM-MD5 mechanism does not work in python client, see e.g.:

$ qpid-stat -q -b guest/guest@localhost:5672 --sasl-mechanism=CRAM-MD5
Failed: ConnectionError - connection-forced: Authentication failed(320)
$ qpid-stat -q -b guest/guest@localhost:5672 --sasl-mechanism=DIGEST-MD5
Queues
  queue                                     dur  autoDel  excl  msg   msgIn  msgOut  bytes  bytesIn  bytesOut  cons  bind
..
$

The root cause is that Python client sends initial SASL response in ConnectionStartOk AMQP frame even in case it is empty. In such case, it should not set response.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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