Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue-153: Server crash and database corruption (#165)
* Fix issue-153: Server crash and database corruption We can't use the Tuple CID as an IV because it changes when the tuple is deleted. If we have a trigger function that needs the deleted tuple, it will get the wrong IV when decrypting. This happens because the CID used to encrypt the tuple (during INSERT/UPDATE) is different from the CID passed to the decryption function (during delete). To fix this, we need to stop using the CID for IV calculation. * Update test case to produce same result on all environment
- Loading branch information