libgocryptfs/internal
Jakob Unterwurzacher 97d8340bd8 configfile: add Validate() function, support FlagXChaCha20Poly1305
We used to do validation using lists of mandatory feature flags.

With the introduction of XChaCha20Poly1305, this became too
simplistic, as it uses a different IV length, hence disabling
GCMIV128.

Add a dedicated function, Validate(), with open-coded validation
logic.

The validation and creation logic also gets XChaCha20Poly1305
support, and gocryptfs -init -xchacha now writes the flag into
gocryptfs.conf.
2021-08-23 16:00:41 +02:00
..
configfile configfile: add Validate() function, support FlagXChaCha20Poly1305 2021-08-23 16:00:41 +02:00
contentenc go mod: declare module version v2 2021-08-23 15:05:15 +02:00
cryptocore Add partial XChaCha20-Poly1305 support (mount flag only) 2021-08-23 16:00:41 +02:00
ctlsocksrv go mod: declare module version v2 2021-08-23 15:05:15 +02:00
ensurefds012 go mod: declare module version v2 2021-08-23 15:05:15 +02:00
exitcodes Add support for FIDO2 tokens 2020-09-12 18:06:54 +02:00
fido2 go mod: declare module version v2 2021-08-23 15:05:15 +02:00
fusefrontend go mod: declare module version v2 2021-08-23 15:05:15 +02:00
fusefrontend_reverse go mod: declare module version v2 2021-08-23 15:05:15 +02:00
inomap go mod: declare module version v2 2021-08-23 15:05:15 +02:00
nametransform go mod: declare module version v2 2021-08-23 15:05:15 +02:00
openfiletable go mod: declare module version v2 2021-08-23 15:05:15 +02:00
pathiv go mod: declare module version v2 2021-08-23 15:05:15 +02:00
readpassword go mod: declare module version v2 2021-08-23 15:05:15 +02:00
serialize_reads go mod: declare module version v2 2021-08-23 15:05:15 +02:00
siv_aead siv_aead: create private key copy and implement wiping 2018-02-18 16:01:46 +01:00
speed go mod: declare module version v2 2021-08-23 15:05:15 +02:00
stupidgcm go mod: declare module version v2 2021-08-23 15:05:15 +02:00
syscallcompat go mod: declare module version v2 2021-08-23 15:05:15 +02:00
tlog tlog: switch from golang.org/x/crypto/ssh/terminal to golang.org/x/term 2021-08-19 07:38:56 +02:00