Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-302

Fail fast when both cert auth and open bucket password are used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.3.7
    • None
    • None
    • None
    • 1

    Description

      Based on the RFC and in practice its ambiguous if both a bucket password and client cert auth are used - as in:

              // Use the CertificateAuthenticator to authenticate
              cluster.Authenticate(gocb.CertificateAuthenticator{})
       
              // Open the bucket
              bucket, err := cluster.OpenBucket("pixels", "blarb")
              if err != nil {
                      fmt.Println("ERROR OPENING BUCKET:", err)
              }
      

      Most certainly this is not intended and should be reported as an error - in java and .net this is the Mixed authentication exception, which also happens if you specify RBAC creds and a bucket password.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            charles.dixon Charles Dixon
            daschl Michael Nitschinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty