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

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

        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