Check command upon auto encryption initialization

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per document review meeting, we've decided to move the check for whether a command should undergo auto encryption from the driver into libmongocrypt. This requires a change to mongocrypt_ctx_encrypt_init to take the full command instead of just the namespace.

      In addition, now for MONGOCRYPT_CTX_MONGO_NEED_MARKINGS, instead of just returning the jsonSchema, we can return the full command to be sent to mongocryptd.

            Assignee:
            Kevin Albertson
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: