diff options
author | Jakob Unterwurzacher | 2021-10-21 15:58:19 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-10-21 15:58:19 +0200 |
commit | d14c9340d6fb473e9837e91db8b6e869c37ad8e5 (patch) | |
tree | 253ba3c3db8a97ba7fdcd5d59b699db92da1cea2 /init_dir.go | |
parent | d583bdb79e6f05bce2451a7e220e553209da4c1d (diff) |
cli: add -longnamemax
Fixes https://github.com/rfjakob/gocryptfs/issues/499
Diffstat (limited to 'init_dir.go')
-rw-r--r-- | init_dir.go | 4 |
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) |