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

Support custom keyMaterial in createDataKey

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.3.1
    • Affects Version/s: None
    • Component/s: 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@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: