aboutsummaryrefslogtreecommitdiff
path: root/init_dir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-10-21 15:58:19 +0200
committerJakob Unterwurzacher2021-10-21 15:58:19 +0200
commitd14c9340d6fb473e9837e91db8b6e869c37ad8e5 (patch)
tree253ba3c3db8a97ba7fdcd5d59b699db92da1cea2 /init_dir.go
parentd583bdb79e6f05bce2451a7e220e553209da4c1d (diff)
cli: add -longnamemax
Fixes https://github.com/rfjakob/gocryptfs/issues/499
Diffstat (limited to 'init_dir.go')
-rw-r--r--init_dir.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/init_dir.go b/init_dir.go
index ab4c3df..9658bab 100644
--- a/init_dir.go
+++ b/init_dir.go
@@ -102,7 +102,9 @@ func initDir(args *argContainer) {
Fido2CredentialID: fido2CredentialID,
Fido2HmacSalt: fido2HmacSalt,
DeterministicNames: args.deterministic_names,
- XChaCha20Poly1305: args.xchacha})
+ XChaCha20Poly1305: args.xchacha,
+ LongNameMax: args.longnamemax,
+ })
if err != nil {
tlog.Fatal.Println(err)
os.Exit(exitcodes.WriteConf)