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 --- README.md | 6 +++++- internal/readpassword/read.go | 2 +- 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 -- cgit v1.2.3