libgocryptfs/pathfs_frontend
Jakob Unterwurzacher 76311b60f2 Add file header (on-disk-format change)
Format: [ "Version" uint16 big endian ] [ "Id" 16 random bytes ]

Quoting SECURITY.md:

* Every file has a header that contains a 16-byte random *file id*
* Each block uses the file id and its block number as GCM *authentication data*
 * This means the position of the blocks is protected as well. The blocks
   can not be reordered or copied between different files without
   causing an decryption error.
2015-11-01 01:38:27 +01:00
..
file.go Add file header (on-disk-format change) 2015-11-01 01:38:27 +01:00
file_holes.go Truncate: Logging improvements, show number of blocks as float 2015-10-04 15:45:46 +02:00
fs.go Add file header (on-disk-format change) 2015-11-01 01:38:27 +01:00