From 2824218a25bef58167d922dddbb10ad0e022db6d Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 20 Mar 2017 09:29:56 +0100 Subject: readpassword: increase max password length to 2000 1000 was too low as at least one user had a password that was longer. Fixes https://github.com/rfjakob/gocryptfs/issues/93 --- internal/readpassword/read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/readpassword/read.go b/internal/readpassword/read.go index 74057cf..c96f5e9 100644 --- a/internal/readpassword/read.go +++ b/internal/readpassword/read.go @@ -17,7 +17,7 @@ import ( const ( exitCode = 9 - maxPasswordLen = 1000 + maxPasswordLen = 2000 ) // Once tries to get a password from the user, either from the terminal, extpass -- cgit v1.2.3