From 9bc039a4bac6b51d9ebe116de5c311e90343a088 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 22 Mar 2018 00:02:10 +0100 Subject: Add `-masterkey=stdin` functionality https://github.com/rfjakob/gocryptfs/issues/218 --- gocryptfs-xray/xray_main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gocryptfs-xray') diff --git a/gocryptfs-xray/xray_main.go b/gocryptfs-xray/xray_main.go index 522878a..1531eb4 100644 --- a/gocryptfs-xray/xray_main.go +++ b/gocryptfs-xray/xray_main.go @@ -60,7 +60,7 @@ func main() { func dumpMasterKey(fn string) { tlog.Info.Enabled = false - pw := readpassword.Once("") + pw := readpassword.Once("", "") masterkey, _, err := configfile.LoadConfFile(fn, pw) if err != nil { fmt.Fprintln(os.Stderr, err) -- cgit v1.2.3