diff options
author | Jakob Unterwurzacher | 2021-08-20 15:57:40 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-20 15:57:40 +0200 |
commit | 2a9dea2973a6141e8efdf8bd26d8ddb2d2c35fc4 (patch) | |
tree | 3af78126e573b5a9963111c1bdea6f8d1100fbd1 /init_dir.go | |
parent | 195d9d18a90d88ff2cb0530d832c59d98934fd1f (diff) |
-deterministic-names: accept flag on -init
And store it in gocryptfs.conf (=remove DirIV feature flag).
Diffstat (limited to 'init_dir.go')
-rw-r--r-- | init_dir.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init_dir.go b/init_dir.go index cea7e53..70ba2ed 100644 --- a/init_dir.go +++ b/init_dir.go @@ -87,7 +87,8 @@ func initDir(args *argContainer) { } creator := tlog.ProgramName + " " + GitVersion err = configfile.Create(args.config, password, args.plaintextnames, - args.scryptn, creator, args.aessiv, args.devrandom, fido2CredentialID, fido2HmacSalt) + args.scryptn, creator, args.aessiv, args.devrandom, fido2CredentialID, fido2HmacSalt, + args.deterministic_names) if err != nil { tlog.Fatal.Println(err) os.Exit(exitcodes.WriteConf) |