aboutsummaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/mount.go b/mount.go
index cd14dd9..032589d 100644
--- a/mount.go
+++ b/mount.go
@@ -22,6 +22,7 @@ import (
"github.com/rfjakob/gocryptfs/internal/ctlsock"
"github.com/rfjakob/gocryptfs/internal/fusefrontend"
"github.com/rfjakob/gocryptfs/internal/fusefrontend_reverse"
+ "github.com/rfjakob/gocryptfs/internal/readpassword"
"github.com/rfjakob/gocryptfs/internal/tlog"
)
@@ -96,6 +97,7 @@ func doMount(args *argContainer) int {
}
os.Exit(ErrExitLoadConf)
}
+ readpassword.CheckTrailingGarbage()
printMasterKey(masterkey)
}
// We cannot use JSON for pretty-printing as the fields are unexported