<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/cli, branch v1.4</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.4</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.4'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2017-05-14T11:14:00+00:00</updated>
<entry>
<title>main: password change: exit with code 12 on wrong password</title>
<updated>2017-05-14T11:14:00+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-05-14T11:14:00+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=18f354d84b4ae58c620474a544b9929662b108d8'/>
<id>urn:sha1:18f354d84b4ae58c620474a544b9929662b108d8</id>
<content type='text'>
We used to return code 8, now we return code 12 as documented in
the man page.

Also adds a test.
</content>
</entry>
<entry>
<title>exitcodes: pull all exit code definitions into the package</title>
<updated>2017-05-07T20:16:22+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-05-07T20:15:01+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d5adde1eeb13ba377f7c05b9f21893c01f61ec16'/>
<id>urn:sha1:d5adde1eeb13ba377f7c05b9f21893c01f61ec16</id>
<content type='text'>
This commit defines all exit codes in one place in the exitcodes
package.

Also, it adds a test to verify the exit code on incorrect
password, which is what SiriKali cares about the most.

Fixes 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>tests: add test for -password -masterkey</title>
<updated>2016-10-16T17:13:00+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-10-16T17:13:00+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4866785f4bc2ca0e7d6d332b7580bf8de8dd761d'/>
<id>urn:sha1:4866785f4bc2ca0e7d6d332b7580bf8de8dd761d</id>
<content type='text'>
Also, make the other password tests more rigorous by verifying the
fs content.
</content>
</entry>
<entry>
<title>tests: fix stdin password change test</title>
<updated>2016-10-16T16:13:26+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-10-16T16:12:37+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ca3cc5eca37617d617c3e0250e3e3aa683fc2b1e'/>
<id>urn:sha1:ca3cc5eca37617d617c3e0250e3e3aa683fc2b1e</id>
<content type='text'>
It was actually testing extpass a second time.
</content>
</entry>
<entry>
<title>tests: split "normal" tests into "cli" and "defaults"</title>
<updated>2016-10-16T13:04:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-10-16T11:39:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=57e8df990c7c251b3cc73c2df6af6bf73367d234'/>
<id>urn:sha1:57e8df990c7c251b3cc73c2df6af6bf73367d234</id>
<content type='text'>
Also fixes the failure to run the benchmarks do to the missing
gocryptfs.diriv.
</content>
</entry>
</feed>
