On directory creation, a file called dirid.c9r is placed inside the ciphertext directory.
It contains the encrypted directory id in case the ciphertext dir gets orphaned.
The dirid is encrypted via the EncryptingWriteableByteChannel API of cryptolib
Existing directories are not migrated, only new directory contain this file.
Closes #113.
In this PR the implementation of #113 is tracked.
On directory creation, a file called
dirid.c9r
is placed inside the ciphertext directory. It contains the encrypted directory id in case the ciphertext dir gets orphaned. The dirid is encrypted via theEncryptingWriteableByteChannel
API of cryptolibExisting directories are not migrated, only new directory contain this file.