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

Add BSON Binary Data subtype Sensitive

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Component/s: BSON
    • Labels:
      None
    • Needed
    • Hide
      • BSON corpus tests have been updated. Drivers should sync to mongodb/specifications@db7eb39.
      • Drivers should add a new constant corresponding to BSON binary subtype 0x08. "Sensitive" should be included in its identifier (e.g. BinDataType::Sensitive or BSON_SUBTYPE_SENSITIVE).
      Show
      BSON corpus tests have been updated. Drivers should sync to  mongodb/specifications@db7eb39 . Drivers should add a new constant corresponding to BSON binary subtype 0x08. "Sensitive" should be included in its identifier (e.g.  BinDataType::Sensitive  or  BSON_SUBTYPE_SENSITIVE ).
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CXX-2722 Fixed 3.9.0
      CDRIVER-4700 Fixed 1.25.0
      CSHARP-4739 Fixed 2.22.0
      GODRIVER-2926 Fixed 1.13.0, 1.13.1
      JAVA-5092 Backlog
      NODE-5506 Fixed bson-6.5.0
      MOTOR-1166 Duplicate
      PYTHON-3893 Done
      PHPC-2267 Fixed 1.17.0
      RUBY-3309 Fixed bson-5.0.0
      RUST-1716 Done bson-2.9.0
      $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 CXX-2722 Fixed 3.9.0 CDRIVER-4700 Fixed 1.25.0 CSHARP-4739 Fixed 2.22.0 GODRIVER-2926 Fixed 1.13.0, 1.13.1 JAVA-5092 Backlog NODE-5506 Fixed bson-6.5.0 MOTOR-1166 Duplicate PYTHON-3893 Done PHPC-2267 Fixed 1.17.0 RUBY-3309 Fixed bson-5.0.0 RUST-1716 Done bson-2.9.0

      Downstream Change Summary
      • BSON corpus tests have been updated. Drivers should sync to mongodb/specifications@db7eb39.
      • Drivers should add a new constant corresponding to BSON binary subtype 0x08. "Sensitive" should be included in its identifier (e.g. BinDataType::Sensitive or BSON_SUBTYPE_SENSITIVE).

      Summary

      Introducing BSON Binary Data subtype 8: Sensitive.

      Motivation

      Who is the affected end user?

      First and foremost, query stats users who wish to supply their own HMAC key will do so via this subtype.

      How does this affect the end user?

      Sensitive binary data are excluded from logging wherever possible, creating more security for sensitive values like HMAC keys.

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

      This will affect all query stats calls.

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

      Without proper support for this subtype, users will not be able to use custom HMAC keys for query stats due to IDL binary data subtype validation.

      Is this issue urgent?

      A little. Query stats is not yet GA, but will be soon.

      Is this ticket required by a downstream team?

      Needed by query stats (and by extension, Atlas).

      Is this ticket only for tests?

      No.

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            william.qian@mongodb.com William Qian
            Steve Silvester Steve Silvester
            Esha Bhargava Esha Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: