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

Add ClientEncryption entity and Key Management API operations to Unified Test Format

    • Needed
    • Hide
      Show
      Add support for the new ClientEncryption entity in unified test runners. Sync new unified tests for Client Side Encryption with fa046c78 . This includes all tests in the unified directory. Originally f941df83 . Updated to include dade3e4d ( DRIVERS-2356 ). Updated to include fa046c78 . Implement prose tests
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4317 Fixed 1.22.0, 1.22.0-beta0
      CXX-2474 Done 3.8.0
      CSHARP-4106 Fixed 2.17.0
      GODRIVER-2352 Done 1.10.0
      JAVA-4540 Fixed 4.7.0
      NODE-4110 Done
      MOTOR-916 Duplicate
      PYTHON-3179 Fixed 4.2
      PHPLIB-820 Fixed 1.15.0
      RUBY-2931 Fixed 2.18.0
      RUST-1227 Duplicate
      SWIFT-1529 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-4317 Fixed 1.22.0, 1.22.0-beta0 CXX-2474 Done 3.8.0 CSHARP-4106 Fixed 2.17.0 GODRIVER-2352 Done 1.10.0 JAVA-4540 Fixed 4.7.0 NODE-4110 Done MOTOR-916 Duplicate PYTHON-3179 Fixed 4.2 PHPLIB-820 Fixed 1.15.0 RUBY-2931 Fixed 2.18.0 RUST-1227 Duplicate SWIFT-1529 Duplicate

      Background & Motivation
      There is a goal in the scope of DRIVERS-1951 to "Extend the Unified Test Format to add a new ClientEncryption entity and new operations."

      The new Key Management API in DRIVERS-1951 proposes new methods to the ClientEncryption object.

      The current Client Side Encryption Spec Test Format does not support testing the ClientEncryption object.

      Scope

      • Add new API to ClientEncryption in CSFLE specification.
      • Add ClientEncryption entity to Unified Test Format.
      • Add ClientEncryption entity operations for Key Management API:
        • createDataKey, rewrapDataKey, createKey, deleteKey, addKeyAlternateName, getKey, getKeys, getKeyByAltName, removeKeyAlternateName
      • Add tests for Key Managmenent API operations.
      • Bump minor version of Unified Test format for new additions. This is required.

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: