From cf27037f20723e934320edeff7f8aa356bdca467 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 3 Mar 2019 13:25:30 +0100 Subject: Allow multiple -extpass arguments To support arguments containing spaces, -extpass can now be passed multiple times. https://github.com/rfjakob/gocryptfs/issues/289 --- 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 73b1e18..df92f2d 100644 --- a/gocryptfs-xray/xray_main.go +++ b/gocryptfs-xray/xray_main.go @@ -68,7 +68,7 @@ func main() { func dumpMasterKey(fn string) { tlog.Info.Enabled = false - pw := readpassword.Once("", "", "") + pw := readpassword.Once(nil, "", "") masterkey, _, err := configfile.LoadAndDecrypt(fn, pw) if err != nil { fmt.Fprintln(os.Stderr, err) -- cgit v1.2.3