mongoc_client_reset should reset key vault client

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A mongoc_client_t with automatic encryption (set via mongoc_client_enable_auto_encryption()) may use a separate inner mongoc_client_t passed via mongoc_auto_encryption_opts_set_keyvault_client to communicate with the key vault. Calling mongoc_client_reset should also reset the inner mongoc_client_t used to communicate with the key vault. Otherwise, the inner key vault client could end up reusing sessions from its own session pool.

            Assignee:
            Kevin Albertson
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: