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

Error if RewrapManyDataKey is called with libmongocrypt < 1.5.2

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

      If applicable, drivers MUST document users must upgrade dependencies if necessary to avoid being impacted by MONGOCRYPT-464.

      If applicable, drivers MUST return an error if rewrapManyDataKey is called with libmongocrypt 1.5.1 or 1.5.0. 

      If applicable, update release notes for released driver versions that may be impacted by MONGOCRYPT-464 to alert users to upgrade to use rewrapManyDataKey. Here is a suggested blurb:
      """
      This release has a known possible data corruption bug in RewrapManyDataKey when using libmongocrypt versions less than 1.5.2. Please upgrade version (TODO) or higher.
      """

      Show
      If applicable, drivers MUST document users must upgrade dependencies if necessary to avoid being impacted by MONGOCRYPT-464. If applicable, drivers MUST return an error if rewrapManyDataKey is called with libmongocrypt 1.5.1 or 1.5.0.  If applicable, update release notes for released driver versions that may be impacted by MONGOCRYPT-464 to alert users to upgrade to use rewrapManyDataKey. Here is a suggested blurb: """ This release has a known possible data corruption bug in RewrapManyDataKey when using libmongocrypt versions less than 1.5.2. Please upgrade version (TODO) or higher. """
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4447 Done
      CXX-2562 Done 3.8.0
      CSHARP-4286 Won't Do
      GODRIVER-2513 Fixed 1.10.1
      JAVA-4700 Won't Fix
      NODE-4491 Won't Do
      MOTOR-1011 Duplicate
      PYTHON-3387 Duplicate
      PHPC-2141 Works as Designed
      RUBY-3076 Works as Designed
      RUST-1431 Backlog
      SWIFT-1622 Won't Do
      $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-4447 Done CXX-2562 Done 3.8.0 CSHARP-4286 Won't Do GODRIVER-2513 Fixed 1.10.1 JAVA-4700 Won't Fix NODE-4491 Won't Do MOTOR-1011 Duplicate PYTHON-3387 Duplicate PHPC-2141 Works as Designed RUBY-3076 Works as Designed RUST-1431 Backlog SWIFT-1622 Won't Do

      Summary

      If applicable, drivers MUST document users must upgrade dependencies if necessary to avoid being impacted by MONGOCRYPT-464.

      If applicable, drivers MUST return an error if rewrapManyDataKey is called with libmongocrypt 1.5.1 or 1.5.0. 

      If applicable, update release notes for released driver versions that may be impacted by MONGOCRYPT-464 to alert users to upgrade to use rewrapManyDataKey.

      Motivation

      Limit risk of users hitting the bug of MONGOCRYPT-464.

      Is this issue urgent?

      Yes. Preferably should be done alongside or shortly after DRIVERS-2403.

      Is this ticket only for tests?

      No.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: