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

Idiomatic support for MongoDB's field-level encryption

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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

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

              Created:
              Updated:
              Resolved: