aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-03-20 09:29:56 +0100
committerJakob Unterwurzacher2017-03-20 09:29:56 +0100
commit2824218a25bef58167d922dddbb10ad0e022db6d (patch)
tree1997c67170d7d6a940a43ed64165f30095625b72 /internal
parentb78c3bd5168327a378d5a444aaafd712a4221933 (diff)
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
Diffstat (limited to 'internal')
-rw-r--r--internal/readpassword/read.go2
1 files changed, 1 insertions, 1 deletions
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