diff options
author | Jakob Unterwurzacher | 2020-05-09 16:10:22 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-05-09 16:10:22 +0200 |
commit | 7622c9f538d324ba4ed704ff836942af39d2b1f9 (patch) | |
tree | dd2a527c129d650ba0b1121b5050c55426878a59 /main.go | |
parent | c19baa10f8e8365ed9e3212a003a6b8f31f0320a (diff) |
main: rename parseMasterKey() -> unhexMasterKey()
Make it clear that function does NOT parse the "-masterkey"
command line argument, it just unhexes the payload.
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ func loadConfig(args *argContainer) (masterkey []byte, cf *configfile.ConfFile, // The user has passed the master key on the command line (probably because // he forgot the password). if args.masterkey != "" { - masterkey = parseMasterKey(args.masterkey, false) + masterkey = unhexMasterKey(args.masterkey, false) return masterkey, cf, nil } pw := readpassword.Once([]string(args.extpass), args.passfile, "") |