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

Using couchbases with PasswordAuthenticator panics

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.4, 2.1.0
    • None
    • None
    • 1

    Description

      When the couchbases protocol is used (and therefore ssl enabled) alongside PasswordAuthenticator and a root CA then we cause a panic within the TLS library. This is because we always provide a GetCertificate callback on our tls Config and if provided then the library expects that to return a certificate or an error but we return both as nil.

      Attachments

        For Gerrit Dashboard: GOCBC-853
        # Subject Branch Project Status CR V

        Activity

          Build couchbase-server-7.0.0-1878 contains gocbcore commit 88e16fd with commit message:
          GOCBC-853: Return empty certificate if authenticator returns nil

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1878 contains gocbcore commit 88e16fd with commit message: GOCBC-853 : Return empty certificate if authenticator returns nil

          Build couchbase-server-7.0.0-1878 contains gocbcore commit 02f5615 with commit message:
          GOCBC-853: Return empty certificate if authenticator returns nil

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1878 contains gocbcore commit 02f5615 with commit message: GOCBC-853 : Return empty certificate if authenticator returns nil

          Build couchbase-server-6.6.0-7624 contains gocbcore commit 88e16fd with commit message:
          GOCBC-853: Return empty certificate if authenticator returns nil

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7624 contains gocbcore commit 88e16fd with commit message: GOCBC-853 : Return empty certificate if authenticator returns nil

          Build couchbase-server-6.6.0-7624 contains gocbcore commit 02f5615 with commit message:
          GOCBC-853: Return empty certificate if authenticator returns nil

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7624 contains gocbcore commit 02f5615 with commit message: GOCBC-853 : Return empty certificate if authenticator returns nil

          Build sync_gateway-3.0.0-52 contains gocbcore commit 88e16fd with commit message:
          GOCBC-853: Return empty certificate if authenticator returns nil

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocbcore commit 88e16fd with commit message: GOCBC-853 : Return empty certificate if authenticator returns nil

          Build sync_gateway-3.0.0-52 contains gocbcore commit 02f5615 with commit message:
          GOCBC-853: Return empty certificate if authenticator returns nil

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocbcore commit 02f5615 with commit message: GOCBC-853 : Return empty certificate if authenticator returns nil

          People

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            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