Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2121

Calling #use on a Client with auto encryption enabled will cause auto encryption to fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.0.rc0
    • Component/s: None
    • Labels:
      None

      Description

      Expected behavior:

      • Create a client with auto encryption enabled
      • Call #use on that client to connect it to the correct database
      • It can perform encrypted commands

      Actual behavior:

      • Create a client with auto encryption enabled
      • Call #use on that client to connect it to the correct database
      • The client attempts to perform listCollections on the original database it was connected it to, causing it to not pull down any remote jsonSchema information and not encrypt the command

        Attachments

          Activity

            People

            Assignee:
            emily.giurleo Emily Giurleo
            Reporter:
            emily.giurleo Emily Giurleo
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: