Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5007

Idiomatic support for MongoDB's field-level encryption

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      MongoDB 4.2 introduced support for field-level (client-side) encryption: https://docs.mongodb.com/manual/core/security-client-side-encryption/

      I propose that this should be supported in the field definitions:

      field :name, type: String, encrypted: true
      field :phones, type: Array, encrypted: true, encryption_key: xxx

      If Mongoid supported this, we would use it heavily at my company. Currently we are using the Mongoid Encrypted Fields gemĀ https://github.com/KoanHealth/mongoid-encrypted-fields

        Attachments

          Activity

            People

            Assignee:
            rachelle.palmer Rachelle Palmer
            Reporter:
            johnny.shields@gmail.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: