Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-364

Support custom keyMaterial in createDataKey

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 1.3.1
    • None
    • None
    • None

    Description

      Background & Motivation

      When creating a datakey in mongocrypt with mongocrypt_ctx_datakey_init the 96 byte keyMaterial is generated with _mongocrypt_random.

      Scope

      Support a custom 96 byte keyMaterial as an option to a mongocrypt_ctx_t. Consider adding a function like the following:

      MONGOCRYPT_EXPORT
      mongocrypt_ctx_setopt_key_material (mongocrypt_ctx_t *ctx, mongocrypt_binary_t *bin)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: