<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/cli, branch v2.0</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-03-20T09:33:34+00:00</updated>
<entry>
<title>tests: MountOrFatal creates mnt dir itself</title>
<updated>2021-03-20T09:33:34+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-03-20T09:33:34+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=255a71c9179b9ad32587b20c41f81dc0b8cc3f44'/>
<id>urn:sha1:255a71c9179b9ad32587b20c41f81dc0b8cc3f44</id>
<content type='text'>
Allows to drop a few Mkdir()s.
</content>
</entry>
<entry>
<title>tests: add TestDiskFull</title>
<updated>2021-03-12T18:25:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-03-12T18:25:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=952d45ce84f63de963a1727e439e95883f9e65c1'/>
<id>urn:sha1:952d45ce84f63de963a1727e439e95883f9e65c1</id>
<content type='text'>
Also fix incomplete uid restoration in TestSupplementaryGroups
and replace syscall.Setregid and friends with unix.Setregid and
friends.

This test is added to check if have problems handling a full disk.
The ticket https://github.com/rfjakob/gocryptfs/issues/550 states
that the full disk was not where the backing gocryptfs filesystem
was, but this has no effect on gocryptfs, so we test the harder
case.
</content>
</entry>
<entry>
<title>v2api: -sharestorage: disable hard link tracking &amp; add tests</title>
<updated>2021-03-07T16:22:29+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-03-07T16:22:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e2dc52a9657e530820b2d5b49ad7425b529029ce'/>
<id>urn:sha1:e2dc52a9657e530820b2d5b49ad7425b529029ce</id>
<content type='text'>
Hard link tracking was not correctly disabled
since the migration to the go-fuse v2 api.

Add a test to ensure it stays off.

Fixes https://github.com/rfjakob/gocryptfs/issues/525
</content>
</entry>
<entry>
<title>nametransform: make `gocryptfs.diriv` and `gocryptfs.xxx.name` files world-readable</title>
<updated>2021-01-10T07:07:10+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-01-10T07:06:09+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bed60101f4925eb2cce736301f5cc45ad267c187'/>
<id>urn:sha1:bed60101f4925eb2cce736301f5cc45ad267c187</id>
<content type='text'>
Make `gocryptfs.diriv` and `gocryptfs.xxx.name` files world-readable to make encrypted backups easier
when mounting via fstab.

Having the files follow chmod/chown of their parent does not seem
to be worth the hassle. The content of the diriv files is not
secret, and both diriv and name files are protected by the
perms of the parent dir.

Fixes https://github.com/rfjakob/gocryptfs/issues/539
</content>
</entry>
<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>
</feed>
