<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/nametransform, branch v1.4.3</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.4.3</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.4.3'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2017-12-01T08:41:52+00:00</updated>
<entry>
<title>fusefrontend: Improve documentation of mkdirWithIv and WriteDirIV</title>
<updated>2017-12-01T08:41:52+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2017-11-30T19:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9bcde0c09e96e17ed7092aa5fa5f6bfc89372a8d'/>
<id>urn:sha1:9bcde0c09e96e17ed7092aa5fa5f6bfc89372a8d</id>
<content type='text'>
As requested in https://github.com/rfjakob/gocryptfs/pull/179
</content>
</entry>
<entry>
<title>syscallcompat: check that we get NOFOLLOW wherever possible</title>
<updated>2017-11-30T18:40:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-11-30T18:40:53+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e97c23e08383666117523cf3145f1213b41c2489'/>
<id>urn:sha1:e97c23e08383666117523cf3145f1213b41c2489</id>
<content type='text'>
...and fix the instances where the AT_SYMLINK_NOFOLLOW /
O_NOFOLLOW / O_EXCL flag was missing.
</content>
</entry>
<entry>
<title>fusefrontend: allow_other: close race between mkdir and chown</title>
<updated>2017-11-29T12:28:04+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2017-11-29T12:21:28+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=614745ee576760023961fbf815985b90f90ad1d7'/>
<id>urn:sha1:614745ee576760023961fbf815985b90f90ad1d7</id>
<content type='text'>
Fixes the same problem as described in 72b975867a3b9bdf53fc2da62e2ba4a328d7e4ab,
except for directories instead of device nodes.
</content>
</entry>
<entry>
<title>syscallcompat: Introduce unlinkat syscall with flags argument</title>
<updated>2017-11-29T11:41:23+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2017-11-29T11:23:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0f44c617d01f3e203933459be5fb64c1904d40b6'/>
<id>urn:sha1:0f44c617d01f3e203933459be5fb64c1904d40b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fusefrontend: Fix longname handling for renames with existing target</title>
<updated>2017-11-25T15:19:09+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2017-11-25T00:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9f56b33e0c8701085189aa77463f1b471b70a705'/>
<id>urn:sha1:9f56b33e0c8701085189aa77463f1b471b70a705</id>
<content type='text'>
Fixes https://github.com/rfjakob/gocryptfs/issues/170

Steps to reproduce the problem:

* Create a regular forward mount point
* Create a file with a shortname and one with a long filename
* Try to run 'mv &lt;shortname&gt; &lt;longname&gt;'

This should actually work and replace the existing file, but instead it
fails with:

    mv: cannot move '&lt;shortname&gt;' to '&lt;longname&gt;': File exists

The problem is the creation of the .name file. If the target already exists
we can safely ignore the EEXIST error and just keep the existing .name file.
</content>
</entry>
<entry>
<title>nametransform: Return error if decrypted name is '.' or '..'</title>
<updated>2017-11-22T22:42:08+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2017-11-22T05:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c547673529cb4934ab885081f5682e85aa994f79'/>
<id>urn:sha1:c547673529cb4934ab885081f5682e85aa994f79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirivcache: add better function comments + a sanity check on Store()</title>
<updated>2017-09-03T11:53:50+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-09-03T11:53:50+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7da0e97c8bffef7a688525f5bb6256c88743b4e2'/>
<id>urn:sha1:7da0e97c8bffef7a688525f5bb6256c88743b4e2</id>
<content type='text'>
The comments were unclear on whether relative or absolute paths
have to be passed.
</content>
</entry>
<entry>
<title>nametransform: extend diriv cache to 100 entries</title>
<updated>2017-08-09T20:00:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-08-09T19:44:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e80b5f2049edb794e340da629bce9e44485a4dbb'/>
<id>urn:sha1:e80b5f2049edb794e340da629bce9e44485a4dbb</id>
<content type='text'>
* extend the diriv cache to 100 entries
* add special handling for the immutable root diriv

The better cache allows to shed some complexity from the path
encryption logic (parent-of-parent check).

Mitigates https://github.com/rfjakob/gocryptfs/issues/127
</content>
</entry>
<entry>
<title>nametransform: add Dir() function</title>
<updated>2017-08-06T21:14:39+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-08-06T21:12:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=75ec94a87a52a7230c9b7d9b3e150a0da2725e58'/>
<id>urn:sha1:75ec94a87a52a7230c9b7d9b3e150a0da2725e58</id>
<content type='text'>
Dir is like filepath.Dir but returns "" instead of ".".
This was already implemented in fusefrontend_reverse as saneDir().

We will need it in nametransform for the improved diriv caching.
</content>
</entry>
<entry>
<title>nametransform: move diriv cache into it's own package</title>
<updated>2017-08-06T19:59:15+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-08-06T19:59:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5190cc09bbc8afca75986dbb14f09e62eda33b61'/>
<id>urn:sha1:5190cc09bbc8afca75986dbb14f09e62eda33b61</id>
<content type='text'>
Needs some space to grow.

renamed:    internal/nametransform/diriv_cache.go -&gt; internal/nametransform/dirivcache/dirivcache.go
</content>
</entry>
</feed>
