Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-488

Cert auth does not raise mixed mode errors with cert and auth

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.4.0
    • None
    • None
    • None
    • 1

    Description

      Considering a snippet like this:

      from couchbase.cluster import Cluster
      from couchbase.cluster import PasswordAuthenticator
      cluster = Cluster('couchbases://10.142.175.101?certpath=/Users/daschl/tmp/ks/chain.pem&keypath=/Users/daschl/tmp/ks/pkey.key')
      authenticator = PasswordAuthenticator('username', 'password')
      cluster.authenticate(authenticator)
      cb = cluster.open_bucket('pixels')
      cb.upsert('u:king_arthur', {'name': 'Arthur', 'email': 'kingarthur@couchbase.com', 'interests': ['Holy Grail', 'African Swallows']})
      

      the code works even if its ambiguous since cert authenticator needs to be used and/or if a password is provided that would conflict with the auth modes used.

      Attachments

        Activity

          People

            Ellis.Breen Ellis Breen
            daschl Michael Nitschinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty