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

Using couchbases with PasswordAuthenticator panics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.4, 2.1.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      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

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

          Activity

          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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
          Hide
          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

          Show
          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

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