libgocryptfs/internal/configfile
Jakob Unterwurzacher d530fbd400 docs: names longer than 175 bytes (not 176) are stored in longnames
Quoting fusefrontend_reverse/node_helpers.go :

	// File names are padded to 16-byte multiples, encrypted and
	// base64-encoded. We can encode at most 176 bytes to stay below the 255
	// bytes limit:
	// * base64(176 bytes) = 235 bytes
	// * base64(192 bytes) = 256 bytes (over 255!)
	// But the PKCS#7 padding is at least one byte. This means we can only use
	// 175 bytes for the file name.

Noticed by @bailey27 at https://github.com/rfjakob/gocryptfs/issues/499#issuecomment-955790427
2021-11-01 14:44:32 +01:00
..
config_test tests: update config_test example files 2016-06-16 23:19:05 +02:00
config_file.go configfile: add LongNameMax support 2021-10-21 14:55:30 +02:00
config_test.go configfile: add LongNameMax support 2021-10-21 14:55:30 +02:00
feature_flags.go docs: names longer than 175 bytes (not 176) are stored in longnames 2021-11-01 14:44:32 +01:00
scrypt_test.go go mod: declare module version v2 2021-08-23 15:05:15 +02:00
scrypt.go configfile: add Validate() function, support FlagXChaCha20Poly1305 2021-08-23 16:00:41 +02:00
validate.go cli: add -longnamemax 2021-10-21 15:58:19 +02:00