Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also use the CommandID in tuple IVs (#119)
Currently tupple iv calculatino is based only on the CTID, which means that when postgres reuses the same address, it also reuses the same IV. This makes our encryption theoretically weaker, in case of some unlikely but not impossible attack scenarios. As an improvement this commit also adds the command id into the calculation. As the (ctid, cid) pair will be basically always unique, this solves the problem. Fixes #112
- Loading branch information