aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 8150499..3ec2f31 100644
--- a/main.go
+++ b/main.go
@@ -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, "")