Check if collections are created with encryption metadata in diagnostic command

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Doctrine
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Even if a class is configured using the #[Encrypt] attribute and the application as autoEncryption configuration, the collections car remain unencrypted because they have been created automatically by inserting data.

      In the doctrine:mongodb:encryption:diagnostic, list over all the classes that have encryption and check if encryption metadata has been setup. Also compare the encrypted fields map of the collection with the configuration.

      Return an error status if anything is not correct.

            Assignee:
            Unassigned
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: