Support custom keyMaterial in createDataKey

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Unknown
    • 1.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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)
      

              Assignee:
              Ezra Chung
              Reporter:
              Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: