1

Closed

Need to save/encrypt in a loop

description

The current save/encrypt loop can cause additional objects to be read from the database. That's because child objects are referenced when the parent object is hashed. This is done in order to ensure that object relationships can't be corrupted or maliciously modified.

However, if an additional object is read during encrypt, the result can be that that object is written back in plaintext. Therefore, we need to keep looping and encrypting until all of the referenced objects have been encrypted.
Closed Oct 7, 2013 at 10:46 PM by dangriffin
Change list #72239

comments