<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/cli, branch v2.0-beta1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0-beta1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0-beta1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2020-09-06T09:35:25+00:00</updated>
<entry>
<title>gocryptfs -init: fix wrong exit code on non-empty dir</title>
<updated>2020-09-06T09:35:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-09-06T09:35:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=993b19c19c26eac480d88cc67bfe7455e67faada'/>
<id>urn:sha1:993b19c19c26eac480d88cc67bfe7455e67faada</id>
<content type='text'>
Fixes https://github.com/rfjakob/gocryptfs/pull/503
</content>
</entry>
<entry>
<title>tests: TestBadname: simplify test by using empty files</title>
<updated>2020-06-06T10:53:45+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-06-06T10:50:39+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3b61244b72f74a25651d4ba184ac7cc62c937db0'/>
<id>urn:sha1:3b61244b72f74a25651d4ba184ac7cc62c937db0</id>
<content type='text'>
Simplify the tests by using empty files. Empty
files are valid, and we don't check the content
anyway.

Also adjust comment style a little and add
a missing break statement.
</content>
</entry>
<entry>
<title>Added auto decryption of invalid file names</title>
<updated>2020-06-06T10:20:31+00:00</updated>
<author>
<name>DerDonut</name>
</author>
<published>2020-05-19T11:34:58+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a8230d271f394e130a8190d554eef2a86bc962d7'/>
<id>urn:sha1:a8230d271f394e130a8190d554eef2a86bc962d7</id>
<content type='text'>
Changed invalid file decoding and decryption. Function
DecryptName now shortens the filename until the filename is
decodable and decryptable. Will work with valid **and**
invalid Base64URL delimiter (valid delimiter [0-9a-zA-z_\\-].
If the filename is not decryptable at all, it returns the
original cipher name with flag suffix Changed cli tests to
generate decryptable and undecryptable file names with correct
encrypted content. Replacing #474, extends #393
</content>
</entry>
<entry>
<title>main: accept multiple -passfile options</title>
<updated>2020-05-17T17:31:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-17T17:31:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=416080203b4dd79de857eaf7c7cc97d050e00a9f'/>
<id>urn:sha1:416080203b4dd79de857eaf7c7cc97d050e00a9f</id>
<content type='text'>
Each file will be read and then concatenated
for the effictive password. This can be used as a
kind of multi-factor authenticiton.

Fixes https://github.com/rfjakob/gocryptfs/issues/288
</content>
</entry>
<entry>
<title>tests: add TestPasswdMasterkeyStdin</title>
<updated>2020-05-09T14:53:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-09T14:53:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3ef563493a9d0774513ec0d6aab4cfbc0f6334e5'/>
<id>urn:sha1:3ef563493a9d0774513ec0d6aab4cfbc0f6334e5</id>
<content type='text'>
Tests that `gocryptfs -passwd -masterkey=stdin` works.
This was fixed by ff04b1d83ab1201.

Fixes https://github.com/rfjakob/gocryptfs/issues/461
</content>
</entry>
<entry>
<title>tests: cli: rename TestBypass -&gt; TestBadname</title>
<updated>2020-05-09T13:29:21+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-09T13:29:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5dbf376860d51bac599064ad746ac94ade27c277'/>
<id>urn:sha1:5dbf376860d51bac599064ad746ac94ade27c277</id>
<content type='text'>
The command line option is now called `-badname`,
so adjust the test name to match.
</content>
</entry>
<entry>
<title>Show undecryptable filenames if they match supplied glob</title>
<updated>2020-02-28T21:17:59+00:00</updated>
<author>
<name>orcas</name>
</author>
<published>2019-09-14T16:32:54+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9ec042f2f62bc95154d6c8b3215a2e7853f8f5c6'/>
<id>urn:sha1:9ec042f2f62bc95154d6c8b3215a2e7853f8f5c6</id>
<content type='text'>
Resolves https://github.com/rfjakob/gocryptfs/issues/393
</content>
</entry>
<entry>
<title>tests: cli: add TestSymlinkedCipherdir</title>
<updated>2020-01-25T15:54:57+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-01-25T15:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=dc21cd357258df775e67a36cbcd70fc5f83543ad'/>
<id>urn:sha1:dc21cd357258df775e67a36cbcd70fc5f83543ad</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/450
</content>
</entry>
<entry>
<title>tests: filter leaked fds by prefix</title>
<updated>2019-10-06T17:37:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T17:04:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1fb18f4a9ef2bbbc6e7c774fa064808a3952bb3f'/>
<id>urn:sha1:1fb18f4a9ef2bbbc6e7c774fa064808a3952bb3f</id>
<content type='text'>
When running

  $ go test ./tests/matrix/

in isolation, it failed like this:

  fd leak? before, after:
  [0r=/dev/null 3w=/dev/null 5r=/proc/8078/fd (hidden:4)]
  [0r=/dev/null 3w=/dev/null 5w=/tmp/go-build366655199/b001/testlog.txt 7r=/proc/8078/fd (hidden:4)]

Filter by prefix to get rid of this spurious test failure.
</content>
</entry>
<entry>
<title>tests: clarify which process seems to be leaking fds</title>
<updated>2019-10-06T16:48:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T16:48:09+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d361f6e35bb97ef8f060131ea5b29f922e613c49'/>
<id>urn:sha1:d361f6e35bb97ef8f060131ea5b29f922e613c49</id>
<content type='text'>
The tests check if they leak fds themselves, but we also
check if gocryptfs leaks fds. Clarify what is what in the
error message.
</content>
</entry>
</feed>
