<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs, branch v2.4.0</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.4.0</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.4.0'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2023-06-10T14:31:49+00:00</updated>
<entry>
<title>README: update changelog for v2.4.0</title>
<updated>2023-06-10T14:31:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-06-10T14:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8979cca43ea2ed15cf6ff577619298b9473d2882'/>
<id>urn:sha1:8979cca43ea2ed15cf6ff577619298b9473d2882</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: add cluster test</title>
<updated>2023-05-30T07:43:45+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-30T07:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3058b7978fd8dabd3e8565c9be816b1367bd196a'/>
<id>urn:sha1:3058b7978fd8dabd3e8565c9be816b1367bd196a</id>
<content type='text'>
finds out what happens if multiple
gocryptfs mounts write to one file concurrently
(usually, nothing good).

This use case is relevant for HPC clusters.
</content>
</entry>
<entry>
<title>fsstress-gocryptfs.bash: improve header comment</title>
<updated>2023-05-19T11:17:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-19T11:17:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b725de5ec300aec208908c6a3bf5443cee7cfa81'/>
<id>urn:sha1:b725de5ec300aec208908c6a3bf5443cee7cfa81</id>
<content type='text'>
I maybe should have noted that this is xfstests generic/013.
</content>
</entry>
<entry>
<title>tests: TestDirectMount: check for default_permissions</title>
<updated>2023-05-18T08:14:21+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-18T08:14:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c67454464aaabec7c594eeb84983287057ab4231'/>
<id>urn:sha1:c67454464aaabec7c594eeb84983287057ab4231</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fusefrontend: implement our own Access()</title>
<updated>2023-05-17T21:26:56+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-17T21:26:56+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=09954c4bdecf0ca6da65776f176dc934ffced2b0'/>
<id>urn:sha1:09954c4bdecf0ca6da65776f176dc934ffced2b0</id>
<content type='text'>
Not having Access() means go-fuse emulates it by looking at Getattr().
This works fine most of the time, but breaks down on sshfs, where
sshfs-benchmark.bash shows this:

	gocryptfs/tests$ ./sshfs-benchmark.bash nuetzlich.net
	working directory: /tmp/sshfs-benchmark.bash.JQC
	sshfs mounted: nuetzlich.net:/tmp -&gt; sshfs.mnt
	gocryptfs mounted: sshfs.mnt/sshfs-benchmark.bash.Wrz/gocryptfs.crypt -&gt; gocryptfs.mnt

	sshfs-benchmark.bash:    sshfs  gocryptfs-on-sshfs
	git init                  3.98                6.80
	rsync                     7.71               10.84
	rm -R                     4.30rm: descend into write-protected directory 'gocryptfs.mnt/git1'?

The go-fuse emulation gets it wrong here because sshfs reports
permissions but does not enforce them.

Implement it ourselves properly.
</content>
</entry>
<entry>
<title>go.mod: add test dependency github.com/moby/sys/mountinfo</title>
<updated>2023-05-17T15:22:39+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-17T15:22:39+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7d1e48d195b827ee00bfd0ab0421a395b1ec0ea7'/>
<id>urn:sha1:7d1e48d195b827ee00bfd0ab0421a395b1ec0ea7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mount: set DirectMount: true</title>
<updated>2023-05-17T14:47:22+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-17T14:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a40e9a8622b0d79ba0c18361104c47375ebb89a1'/>
<id>urn:sha1:a40e9a8622b0d79ba0c18361104c47375ebb89a1</id>
<content type='text'>
Attempt to directly call mount(2) before trying fusermount. This means we
can do without fusermount if running as root.

https://github.com/rfjakob/gocryptfs/issues/697
</content>
</entry>
<entry>
<title>tests: TestDirectMount: also check dev, suid</title>
<updated>2023-05-17T14:08:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-17T14:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8d3b992824072a3b487214812655a35fd28ee4dc'/>
<id>urn:sha1:8d3b992824072a3b487214812655a35fd28ee4dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mount: drop "max_read="</title>
<updated>2023-05-17T13:48:23+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-17T13:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b4defa636b901d992165e2a828872dd410c48292'/>
<id>urn:sha1:b4defa636b901d992165e2a828872dd410c48292</id>
<content type='text'>
go-fuse now sets this internally.

Regression-tested in TestDirectMount.
</content>
</entry>
<entry>
<title>mount: set FsName via go-fuse</title>
<updated>2023-05-17T13:38:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-05-17T13:35:01+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=199a74bc1ae49cdda486095b8daa8034510943a6'/>
<id>urn:sha1:199a74bc1ae49cdda486095b8daa8034510943a6</id>
<content type='text'>
go-fuse now handles setting FsName, including DirectMount,
so use that instead of our own solution.

Regression-tested in TestDirectMount.
</content>
</entry>
</feed>
