Open radumarias opened 1 month ago
It's not safe bacause of this flow
We will end-up encrypting with same nonce twice.
We will include it in filename as now and if file is too long it will be handled by https://github.com/radumarias/rencfs/issues/113
Given the fllenames in same folder are unique we can use the inode of the parent folder as nonce. This eliminate the current need to include nonce in encrypted value which increases the encrypted length.