libgocryptfs/internal
Jakob Unterwurzacher 3784901fce readpassword: limit password length to 1000 bytes
This used to hang at 100% CPU:

    cat /dev/zero | gocryptfs -init a

...and would ultimately send the box into out-of-memory.

The number 1000 is chosen arbitrarily and seems big enough
given that the password must be one line.

Suggested by @mhogomchungu in https://github.com/rfjakob/gocryptfs/issues/77 .
2017-02-13 09:13:22 +01:00
..
configfile main: make sure the ctlsock file is deleted on incorrect password 2017-01-26 21:32:08 +01:00
contentenc Replace all calls to naked panic() with log.Panic() 2016-12-10 11:54:36 +01:00
cryptocore Replace all calls to naked panic() with log.Panic() 2016-12-10 11:54:36 +01:00
ctlsock ctlsock: handle non-canonical empty paths 2017-02-05 18:17:30 +01:00
fusefrontend ctlsock: better error message for forward mode path decryption 2017-01-29 18:55:52 +01:00
fusefrontend_reverse reverse: add single-entry path cache 2017-01-03 18:14:01 +01:00
nametransform Replace all calls to naked panic() with log.Panic() 2016-12-10 11:54:36 +01:00
prefer_openssl prefer_openssl: default to Go GCM on OSX 2016-12-10 21:04:17 +01:00
readpassword readpassword: limit password length to 1000 bytes 2017-02-13 09:13:22 +01:00
siv_aead Replace all calls to naked panic() with log.Panic() 2016-12-10 11:54:36 +01:00
stupidgcm stupidgcm: Fix without_openssl build failure 2016-12-10 13:15:19 +01:00
syscallcompat A few more lint fixes 2016-10-04 23:30:05 +02:00
tlog tlog: better comment for the terminal colors 2017-01-26 20:01:45 +01:00