Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-476

Mixed mode (cert auth and bucket password) not failed

    XMLWordPrintable

Details

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

    Description

      considering code like this:

      var couchbase = require('couchbase')
      var cluster = new couchbase.Cluster('couchbases://10.142.175.101?certpath=/Users/daschl/tmp/ks/chain.pem&keypath=/Users/daschl/tmp/ks/pkey.key');
      cluster.authenticate(couchbase.CertAuthenticator);
      var bucket = cluster.openBucket('pixels', 'blarb', function(err) {
              console.error(err);
      });
       
      bucket.upsert('user:king_arthur', {
          'email': 'kingarthur@couchbase.com', 'interests': ['Holy Grail', 'African Swallows']
        },
        function (err, result) {
      }
      );
      

      keeps working with cert auth even if it is ambiguous (bucket password AND cert auth) and should fail fast on bootstrap.

      Attachments

        For Gerrit Dashboard: JSCBC-476
        # Subject Branch Project Status CR V

        Activity

          People

            brett19 Brett Lawson
            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