forked from vmelnik-ukraine/DoctrineEncryptBundle
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Performance issue with encrypted fields in Messenger context
We're using this bundle and it generally works well. However, we encountered a performance issue when we switched to Messenger and started processing a large number of entities. We noticed that even if an encrypted field is loaded but not used, it's always decrypted.
As a temporary workaround, we moved our encrypted passwords to a separate ManyToOne table with the extra_lazy attribute. This solved the performance problem and allowed us to continue using this library.
However, it would be more logical if decryption only happened when the field is actually accessed, not every time the entity is loaded.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels