diff options
Diffstat (limited to 'init_dir.go')
-rw-r--r-- | init_dir.go | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/init_dir.go b/init_dir.go index 70ba2ed..7953870 100644 --- a/init_dir.go +++ b/init_dir.go @@ -86,9 +86,17 @@ func initDir(args *argContainer) { fido2HmacSalt = nil } creator := tlog.ProgramName + " " + GitVersion - err = configfile.Create(args.config, password, args.plaintextnames, - args.scryptn, creator, args.aessiv, args.devrandom, fido2CredentialID, fido2HmacSalt, - args.deterministic_names) + err = configfile.Create2(&configfile.CreateArgs{ + Filename: args.config, + Password: password, + PlaintextNames: args.plaintextnames, + LogN: args.scryptn, + Creator: creator, + AESSIV: args.aessiv, + Devrandom: args.devrandom, + Fido2CredentialID: fido2CredentialID, + Fido2HmacSalt: fido2HmacSalt, + DeterministicNames: args.deterministic_names}) if err != nil { tlog.Fatal.Println(err) os.Exit(exitcodes.WriteConf) |