Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2373

Remove unnecessary on-demand credentials in CSE unified spec tests

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Client Side Encryption
    • Labels:
      None
    • Needed
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4419 Fixed 1.22.0
      CXX-2538 Fixed 3.8.0
      CSHARP-4237 Fixed 2.17.0
      GODRIVER-2475 Fixed 1.11.0
      JAVA-4663 Done
      NODE-4353 Done
      MOTOR-989 Duplicate
      PYTHON-3332 Duplicate
      PHPLIB-906 Fixed 1.15.0
      RUBY-3042 Fixed 2.18.0
      RUST-1379 Duplicate
      SWIFT-1594 Duplicate
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4419 Fixed 1.22.0 CXX-2538 Fixed 3.8.0 CSHARP-4237 Fixed 2.17.0 GODRIVER-2475 Fixed 1.11.0 JAVA-4663 Done NODE-4353 Done MOTOR-989 Duplicate PYTHON-3332 Duplicate PHPLIB-906 Fixed 1.15.0 RUBY-3042 Fixed 2.18.0 RUST-1379 Duplicate SWIFT-1594 Duplicate

      Summary

      On-demand credentials syntax was used in several CSE unified spec tests primarily out of convenience rather than necessity. This is causing unnecessary friction in Drivers that have yet to implement on-demand credentials. Unified spec tests that do not test on-demand credentials should be updated to avoid unnecessarily requiring it.

      Motivation

      Who is the affected end user?

      Drivers implementing CSE and testing against unified test files.

      How does this affect the end user?

      Unnecessarily forces implementations to implement a feature not directly relevant to features being tested.

      How likely is it that this problem or use case will occur?

      Limited to current CSE unified spec tests that use on-demand credentials syntax when initializing the clientEncryption entity.

      If the problem does occur, what are the consequences and how severe are they?

      Minor but annoying. Drivers that are implementing the Key Management API are unnecessarily blocked on spec wording and implemention of on-demand credentials, limiting ability to test against CSE unified spec test files.

      Is this issue urgent?

      Somewhat. Unblocks testing by Drivers currently implementing the Key Management API.

      Is this ticket required by a downstream team?

      Requested by the Python Driver.

      Is this ticket only for tests?

      Yes.

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: