libgocryptfs/cryptfs
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
..
config_file.go Add file header (on-disk-format change) 2015-11-01 01:38:27 +01:00
content_test.go Add file header (on-disk-format change) 2015-11-01 01:38:27 +01:00
cryptfs_content.go Add file header (on-disk-format change) 2015-11-01 01:38:27 +01:00
cryptfs_names.go Run go fmt 2015-10-04 14:49:47 +02:00
cryptfs.go Add file header (on-disk-format change) 2015-11-01 01:38:27 +01:00
file_header.go Add file header (on-disk-format change) 2015-11-01 01:38:27 +01:00
intrablock.go Add file header (on-disk-format change) 2015-11-01 01:38:27 +01:00
kdf.go Run go fmt 2015-10-04 14:49:47 +02:00
log.go Implement "gocryptfs --passwd" (pasword changing) 2015-10-07 21:26:17 +02:00
names_test.go Add test.bash 2015-10-07 22:09:34 +02:00
nonce.go Run go fmt 2015-10-07 22:59:36 +02:00
openssl_aead.go Use block number as authentication data 2015-10-06 22:27:37 +02:00