<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/cli, branch v1.7-beta1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7-beta1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7-beta1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2019-01-01T19:05:38+00:00</updated>
<entry>
<title>tests: teach ListFds() to check other processes</title>
<updated>2019-01-01T19:05:38+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-01T18:44:41+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=887d5aa8e74e20b065b9a0c9b6e99dd05815112a'/>
<id>urn:sha1:887d5aa8e74e20b065b9a0c9b6e99dd05815112a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: fix golint error</title>
<updated>2018-10-11T18:57:52+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-10-11T18:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e537ecbe2ee45565813ce0aa25fca9f3297088bb'/>
<id>urn:sha1:e537ecbe2ee45565813ce0aa25fca9f3297088bb</id>
<content type='text'>
Error was:

  tests/cli/cli_test.go:552: declaration of "err" shadows declaration at tests/cli/cli_test.go:544
</content>
</entry>
<entry>
<title>tests: add idle timeout test</title>
<updated>2018-10-11T18:43:28+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-10-11T18:43:28+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=04241455a2401a60451eb84cf7e3f8fe276c52a5'/>
<id>urn:sha1:04241455a2401a60451eb84cf7e3f8fe276c52a5</id>
<content type='text'>
Mount with idle timeout 10ms and check that the process exits by itself
within 5 seconds.
</content>
</entry>
<entry>
<title>main: sanitize commas from fsname</title>
<updated>2018-09-18T17:39:52+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-18T17:35:31+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5ca6243eeb0df43ba0387029c2d8eceffa3172e2'/>
<id>urn:sha1:5ca6243eeb0df43ba0387029c2d8eceffa3172e2</id>
<content type='text'>
The cipherdir path is used as the fsname, as displayed
in "df -T". Now, having a comma in fsname triggers a sanity check
in go-fuse, aborting the mount with:

  /bin/fusermount: mount failed: Invalid argument
  fuse.NewServer failed: fusermount exited with code 256

Sanitize fsname by replacing any commas with underscores.

https://github.com/rfjakob/gocryptfs/issues/262
</content>
</entry>
<entry>
<title>main: don't read the config file twice (fix pipe bug)</title>
<updated>2018-09-08T11:04:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-08T11:04:33+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ca24c206945266d6397aa0e7d136d5bdcbda777f'/>
<id>urn:sha1:ca24c206945266d6397aa0e7d136d5bdcbda777f</id>
<content type='text'>
Instead, first Load() the file, then DecryptMasterKey().

Fixes https://github.com/rfjakob/gocryptfs/issues/258
</content>
</entry>
<entry>
<title>configfile: add LoadAndDecrypt wrapper</title>
<updated>2018-09-08T10:40:29+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-08T10:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2bdf7d5172d3540606f098030e8ede7a3ad1dfdd'/>
<id>urn:sha1:2bdf7d5172d3540606f098030e8ede7a3ad1dfdd</id>
<content type='text'>
Callers that do not want to decrypt the masterkey should
call plain Load().

https://github.com/rfjakob/gocryptfs/issues/258
</content>
</entry>
<entry>
<title>reverse mode: add --exclude option</title>
<updated>2018-08-11T21:26:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-08-11T21:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ec2fdc19cf9358ae7ba09c528a5807b6b0760f9b'/>
<id>urn:sha1:ec2fdc19cf9358ae7ba09c528a5807b6b0760f9b</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/235
</content>
</entry>
<entry>
<title>configfile: reduce function name stutter</title>
<updated>2018-07-01T18:56:22+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-25T20:02:05+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=91de77943fba3cb993aad4e9756e159c4514764a'/>
<id>urn:sha1:91de77943fba3cb993aad4e9756e159c4514764a</id>
<content type='text'>
configfile.LoadConfFile()   -&gt; configfile.Load()
configfile.CreateConfFile() -&gt; configfile.Create()
</content>
</entry>
<entry>
<title>main: accept -dev, -nodev, -suid, -nosuid, -exec, -noexec</title>
<updated>2018-06-07T20:50:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-07T20:50:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=53d6a9999dd0e4c31636d16179f284fff35a35d9'/>
<id>urn:sha1:53d6a9999dd0e4c31636d16179f284fff35a35d9</id>
<content type='text'>
When mounted via /etc/fstab like this,

  /a /b fuse.gocryptfs default 0 0

we always get extra options passed. As reported by @mahkoh
at https://github.com/rfjakob/gocryptfs/pull/233 :

  mount passes `-o noexec` if `-o user` is set and `-o exec` is not set.
  If both `-o user` and `-o exec` are set, it passes `-o exec`.

Make these options work, and in addtion, also make -suid and -rw
work the same way.

Reported-by: @mahkoh
</content>
</entry>
<entry>
<title>main: make prefixOArgs errors testable</title>
<updated>2018-06-05T19:02:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-05T19:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e29a81efc3df88b451a4a9464724a952d97b4115'/>
<id>urn:sha1:e29a81efc3df88b451a4a9464724a952d97b4115</id>
<content type='text'>
By returning an error instead of calling os.Exit,
error cases can be tested easily. Error cases
were not tested until now.
</content>
</entry>
</feed>
