Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4121

Use OP_MSG to authenticate if server supports OP_MSG

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Hide

      DRIVERS-1873:
      This ticket requires drivers to ensure that they are using OP_MSG for the authentication step if it is supported (maxWireVersion >= 6) as part of the process of establishing a new connection. Currently, some drivers still use OP_QUERY for the authentication step even if OP_MSG is supported. As support is being dropped for OP_QUERY, Once the server team implements SERVER-59085 in MongoDB using OP_QUERY for anything other than the first step of the handshake will raise an error. Thus, once that version is released we will be able to test this change by ensuring that the driver is able to successfully connect to that version server.
      There are no spec test changes associated with this ticket.
      Check out the Authentication Handshake spec for more details.

      Show
      DRIVERS-1873: This ticket requires drivers to ensure that they are using OP_MSG for the authentication step if it is supported (maxWireVersion >= 6) as part of the process of establishing a new connection. Currently, some drivers still use OP_QUERY for the authentication step even if OP_MSG is supported. As support is being dropped for OP_QUERY, Once the server team implements SERVER-59085 in MongoDB using OP_QUERY for anything other than the first step of the handshake will raise an error. Thus, once that version is released we will be able to test this change by ensuring that the driver is able to successfully connect to that version server. There are no spec test changes associated with this ticket. Check out the Authentication Handshake spec for more details.


      DRIVERS Ticket Description
      Script Target - If you can read this text, the script has failed

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: