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
This commit is contained in:
parent
b78c3bd516
commit
2824218a25
@ -138,7 +138,7 @@ RM: 4.42
|
|||||||
Changelog
|
Changelog
|
||||||
---------
|
---------
|
||||||
|
|
||||||
v1.3-beta1
|
v1.3 (in progress)
|
||||||
* **Use HKDF to derive separate keys for GCM and EME**
|
* **Use HKDF to derive separate keys for GCM and EME**
|
||||||
* New feature flag: `HKDF` (enabled by default)
|
* New feature flag: `HKDF` (enabled by default)
|
||||||
* This is a forwards-compatible change. gocryptfs v1.3 can mount
|
* 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
|
* This can greatly improve performance on storage
|
||||||
that is very slow for concurrent out-of-order reads. Example:
|
that is very slow for concurrent out-of-order reads. Example:
|
||||||
Amazon Cloud Drive ([#92](https://github.com/rfjakob/gocryptfs/issues/92))
|
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
|
v1.2.1, 2017-02-26
|
||||||
* Add an integrated speed test, `gocryptfs -speed`
|
* Add an integrated speed test, `gocryptfs -speed`
|
||||||
|
@ -17,7 +17,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
exitCode = 9
|
exitCode = 9
|
||||||
maxPasswordLen = 1000
|
maxPasswordLen = 2000
|
||||||
)
|
)
|
||||||
|
|
||||||
// Once tries to get a password from the user, either from the terminal, extpass
|
// Once tries to get a password from the user, either from the terminal, extpass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user