<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/readpassword, branch v1.3</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.3</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.3'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2017-04-29T13:15:11+00:00</updated>
<entry>
<title>readpassword: increase max password size to 2048</title>
<updated>2017-04-29T13:15:11+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-04-29T13:15:11+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6e029a3799816dd6703b2cb573022c7c3fd15c39'/>
<id>urn:sha1:6e029a3799816dd6703b2cb573022c7c3fd15c39</id>
<content type='text'>
This is the value EncFS uses, so let's follow suit.
Suggested at https://github.com/rfjakob/gocryptfs/issues/77 .
</content>
</entry>
<entry>
<title>readpassword: increase max password length to 2000</title>
<updated>2017-03-20T08:29:56+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-03-20T08:29:56+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2824218a25bef58167d922dddbb10ad0e022db6d'/>
<id>urn:sha1:2824218a25bef58167d922dddbb10ad0e022db6d</id>
<content type='text'>
1000 was too low as at least one user had a password
that was longer.

Fixes https://github.com/rfjakob/gocryptfs/issues/93
</content>
</entry>
<entry>
<title>readpassword: limit password length to 1000 bytes</title>
<updated>2017-02-13T08:13:22+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-02-13T08:13:22+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3784901fcee46d3e14e154b32cc6a7822bcc90f6'/>
<id>urn:sha1:3784901fcee46d3e14e154b32cc6a7822bcc90f6</id>
<content type='text'>
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 .
</content>
</entry>
<entry>
<title>Check for trailing garbage after the password</title>
<updated>2017-02-12T16:59:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-02-12T14:35:50+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8adfbf2dc34560df7436c89b59a9749d2dd3b78e'/>
<id>urn:sha1:8adfbf2dc34560df7436c89b59a9749d2dd3b78e</id>
<content type='text'>
From the comment:

// CheckTrailingGarbage tries to read one byte from stdin and exits with a
// fatal error if the read returns any data.
// This is meant to be called after reading the password, when there is no more
// data expected. This helps to catch problems with third-party tools that
// interface with gocryptfs.
</content>
</entry>
<entry>
<title>readpassword: improve comment on readPasswordStdin</title>
<updated>2017-02-12T12:55:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-02-12T12:55:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2dd90ac19ce97544c412d90a24df0f68e66311db'/>
<id>urn:sha1:2dd90ac19ce97544c412d90a24df0f68e66311db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>readpassword: support spaces in "-passfile" filename</title>
<updated>2017-01-28T23:34:12+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-01-28T23:34:12+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6166dad05c1bf505f1c0fca1fbe8bf6a27d02db9'/>
<id>urn:sha1:6166dad05c1bf505f1c0fca1fbe8bf6a27d02db9</id>
<content type='text'>
...and while we are at it, also filenames starting with "-".
</content>
</entry>
<entry>
<title>readpassword: check extpass return code</title>
<updated>2016-10-16T14:44:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-10-16T14:44:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b2d33028a6121f2b2a53d3ffe96dd235d59249f1'/>
<id>urn:sha1:b2d33028a6121f2b2a53d3ffe96dd235d59249f1</id>
<content type='text'>
...and exit if it is not zero.
</content>
</entry>
<entry>
<title>lint fixes</title>
<updated>2016-10-04T21:18:33+00:00</updated>
<author>
<name>Valient Gough</name>
</author>
<published>2016-10-02T04:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b764917cd5c1b1d61b8ce08e7af0b29793fbbb80'/>
<id>urn:sha1:b764917cd5c1b1d61b8ce08e7af0b29793fbbb80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add godoc comments to all internal packages</title>
<updated>2016-07-06T19:51:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-06T19:51:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e8a234f658553927a2e845d64862321c90388e00'/>
<id>urn:sha1:e8a234f658553927a2e845d64862321c90388e00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: exit with correct error code from TestMain</title>
<updated>2016-06-16T19:56:23+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-16T19:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=96750a7d3c52b75d13d6f3ed46bd48af28acebcd'/>
<id>urn:sha1:96750a7d3c52b75d13d6f3ed46bd48af28acebcd</id>
<content type='text'>
extpass_test and example_filesystems_test did it wrong,
always returning 0.
</content>
</entry>
</feed>
