Support auto encryption in unified tests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Client Side Encryption
    • None
    • Needed
    • Hide

      Add support for auto encryption in unified test format. This is a prerequisite to migrating CSFLE/QE legacy tests to the unified test format.

      Summary of necessary driver changes

      • Sync spec tests
      • Implement unified test format version 1.23
        • Support autoEncryptOpts
        • Drop QE state collections (_enxcol.<coll>.esc and _enxcol.<coll>.ecoc)

      Commits for syncing spec/prose tests

      Show
      Add support for auto encryption in unified test format. This is a prerequisite to migrating CSFLE/QE legacy tests to the unified test format. Summary of necessary driver changes Sync spec tests Implement unified test format version 1.23 Support autoEncryptOpts Drop QE state collections ( _enxcol.<coll>.esc and _enxcol.<coll>.ecoc ) Commits for syncing spec/prose tests Initial commit: https://github.com/mongodb/specifications/commit/52a076b7e7c0fa74abbab6e28ae5e36a1de1d1cb Follow-up fix to regenerate JSON file: https://github.com/mongodb/specifications/commit/89e91523b58e9de06d45da9329d3d2595307557c Follow-up to restore legacy JSON tests: https://github.com/mongodb/specifications/commit/a039bb4485b56c30bcda6d318b83f07ad741fb95 . (So drivers using a git submodule for spec tests can update without losing coverage) Follow-up fix to matching and drop state collections: https://github.com/mongodb/specifications/commit/1c1500ada5e4d03c7f95e0a7a93fc0f77e5c0f76
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5901 Fixed 2.1.0
      CXX-3226 Backlog
      CSHARP-5500 Ready for Work
      GODRIVER-3486 Backlog
      JAVA-5792 Investigating
      NODE-6775 Backlog
      MOTOR-1434 Won't Do
      PYTHON-5143 Backlog
      PHPLIB-1630 Backlog
      RUBY-3625 Backlog
      RUST-2161 Backlog
      $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 */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5901 Fixed 2.1.0 CXX-3226 Backlog CSHARP-5500 Ready for Work GODRIVER-3486 Backlog JAVA-5792 Investigating NODE-6775 Backlog MOTOR-1434 Won't Do PYTHON-5143 Backlog PHPLIB-1630 Backlog RUBY-3625 Backlog RUST-2161 Backlog

      Summary

      Support AutoEncryptionOpts in the Unified Test Runner.

      Motivation

      Needed for DRIVERS-2295. To migrate legacy CSFLE tests, the Unified Test Runner needs to support configuring AutoEncryptionOpts.

      Is this issue urgent?

      No?

      Is this ticket only for tests?

      Yes.

      Acceptance Criteria

      A client entity in the Unified Test Runner can be configured with enough of AutoEncryptionOpts to support migrating legacy CSFLE tests.

            Assignee:
            Adrian Dole
            Reporter:
            Adrian Dole
            Kevin Albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: