Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-21 | cli: add -longnamemax | Jakob Unterwurzacher | |
Fixes https://github.com/rfjakob/gocryptfs/issues/499 | |||
2021-10-21 | configfile: replace broken switch/case logic with if | Jakob Unterwurzacher | |
Because switch only matches once, we could have missed invalid cases. Replace the switch statements with a straight if rake. | |||
2021-08-23 | configfile: add Validate() function, support FlagXChaCha20Poly1305 | Jakob Unterwurzacher | |
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. |