<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/nametransform, branch v1.7</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2019-02-17T16:05:05+00:00</updated>
<entry>
<title>nametransform: reject names longer than 255 chars</title>
<updated>2019-02-17T16:05:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-02-17T16:05:05+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=19cb6d046aac92f44722c17ba9a371b08ca0be6a'/>
<id>urn:sha1:19cb6d046aac92f44722c17ba9a371b08ca0be6a</id>
<content type='text'>
Looks like we allowed creating longer names by accident.
Fix that, and add a test that verifies it.
</content>
</entry>
<entry>
<title>nametransform: Create *.name files with 0400 permission.</title>
<updated>2019-01-09T19:42:18+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-09T01:49:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=aae45b4d77082c8bd54575eaf7b48794d8d53e9e'/>
<id>urn:sha1:aae45b4d77082c8bd54575eaf7b48794d8d53e9e</id>
<content type='text'>
Similar to gocryptfs.iv files they are never modified.
</content>
</entry>
<entry>
<title>nametransform: ReadDirIVAt: return raw syscall error</title>
<updated>2019-01-04T22:21:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-04T22:21:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8074f12bebbaafd2c498183a914f021d32d34578'/>
<id>urn:sha1:8074f12bebbaafd2c498183a914f021d32d34578</id>
<content type='text'>
Otherwise this can happen, as triggered by xfstests generic/011:

  go-fuse: can't convert error type: openat failed: too many open files

The app then gets a misleading "Function not implemented" error.
</content>
</entry>
<entry>
<title>A few more spelling fixes.</title>
<updated>2019-01-04T00:23:44+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-03T20:08:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ab169443fde9c6697b5b9dc010691cbc61cd5206'/>
<id>urn:sha1:ab169443fde9c6697b5b9dc010691cbc61cd5206</id>
<content type='text'>
Found with the 'codespell' utility.
</content>
</entry>
<entry>
<title>nametransform: Add implicit syscall.O_RDONLY flag.</title>
<updated>2019-01-03T17:24:05+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-03T16:51:23+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=61241b05889bda6e70446eab571f138d5d6f6c20'/>
<id>urn:sha1:61241b05889bda6e70446eab571f138d5d6f6c20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fusefrontend: add dirCache</title>
<updated>2019-01-03T14:31:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T21:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4f66d66755da63c78b09201c6c72353009251cf2'/>
<id>urn:sha1:4f66d66755da63c78b09201c6c72353009251cf2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nametransform: simplify WriteDirIV to WriteDirIVAt</title>
<updated>2019-01-03T14:31:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-03T12:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f6dad8d0fae25b5d88ad036b841fea10b7296ccb'/>
<id>urn:sha1:f6dad8d0fae25b5d88ad036b841fea10b7296ccb</id>
<content type='text'>
Un-spaghettify the function and let the callers open
the directory.
</content>
</entry>
<entry>
<title>fusefronted: make EncryptPath symlink-safe</title>
<updated>2019-01-02T20:45:40+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T20:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2b12bba274ba75f76ac8c2af3790e4190b32396f'/>
<id>urn:sha1:2b12bba274ba75f76ac8c2af3790e4190b32396f</id>
<content type='text'>
Finally allows us to delete EncryptPathDirIV.
</content>
</entry>
<entry>
<title>nametransform: fix possible incomplete read in ReadLongNameAt</title>
<updated>2019-01-01T23:09:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-01T23:07:20+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d99a0480f712d4fd1c2012c57a9e1c938d70c9fe'/>
<id>urn:sha1:d99a0480f712d4fd1c2012c57a9e1c938d70c9fe</id>
<content type='text'>
Pread() needs retry logic, so instead of implementing it ourselves,
use os.File.

Reported by @slackner at
https://github.com/rfjakob/gocryptfs/commit/c09bf1f2284706232642431c75fa1f3d8500a9d0#r31813394
</content>
</entry>
<entry>
<title>nametransform: rename WriteLongName() -&gt; WriteLongNameAt()</title>
<updated>2019-01-01T15:24:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-11-04T21:05:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2de3851abddd26949b72b9b255ce836fc93ed284'/>
<id>urn:sha1:2de3851abddd26949b72b9b255ce836fc93ed284</id>
<content type='text'>
And also rename DeleteLongName() -&gt; DeleteLongNameAt(). The
naming follow the names open the openat() etc syscalls.
</content>
</entry>
</feed>
