aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-03-20 09:29:56 +0100
committerJakob Unterwurzacher2017-03-20 09:29:56 +0100
commit2824218a25bef58167d922dddbb10ad0e022db6d (patch)
tree1997c67170d7d6a940a43ed64165f30095625b72
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
-rw-r--r--README.md6
-rw-r--r--internal/readpassword/read.go2
2 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2c49c8a..9260f0c 100644
--- a/README.md
+++ b/README.md
@@ -138,7 +138,7 @@ RM: 4.42
Changelog
---------
-v1.3-beta1
+v1.3 (in progress)
* **Use HKDF to derive separate keys for GCM and EME**
* New feature flag: `HKDF` (enabled by default)
* This is a forwards-compatible change. gocryptfs v1.3 can mount
@@ -150,6 +150,10 @@ v1.3-beta1
* This can greatly improve performance on storage
that is very slow for concurrent out-of-order reads. Example:
Amazon Cloud Drive ([#92](https://github.com/rfjakob/gocryptfs/issues/92))
+* Reject file-header-only files
+ ([#90 2.2](https://github.com/rfjakob/gocryptfs/issues/90),
+ [commit](https://github.com/rfjakob/gocryptfs/commit/14038a1644f17f50b113a05d09a2a0a3b3e973b2))
+* Increase max password size to 2000 bytes ([#93](https://github.com/rfjakob/gocryptfs/issues/93))
v1.2.1, 2017-02-26
* Add an integrated speed test, `gocryptfs -speed`
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