<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/nametransform, branch v1.1-rc1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.1-rc1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.1-rc1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2016-10-07T20:40:30+00:00</updated>
<entry>
<title>nametransform: better error code on invalid diriv length</title>
<updated>2016-10-07T20:40:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-10-07T20:36:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=53257f4ee57cc59e6638b2a6d8a73203b7d99de5'/>
<id>urn:sha1:53257f4ee57cc59e6638b2a6d8a73203b7d99de5</id>
<content type='text'>
go-fuse translates errors unknown to it into "function not
implemented", which is wrong in this case.
</content>
</entry>
<entry>
<title>lint fixes</title>
<updated>2016-10-04T21:18:33+00:00</updated>
<author>
<name>Valient Gough</name>
</author>
<published>2016-10-02T04:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b764917cd5c1b1d61b8ce08e7af0b29793fbbb80'/>
<id>urn:sha1:b764917cd5c1b1d61b8ce08e7af0b29793fbbb80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nametransform: downgrade invalid length warning</title>
<updated>2016-09-25T17:50:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-25T17:50:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=28838a489d94a02eb44e5ff166f2c7a0babe452e'/>
<id>urn:sha1:28838a489d94a02eb44e5ff166f2c7a0babe452e</id>
<content type='text'>
This happens all the time in reverse mode when somebody stats
an encrypted symlink target.
</content>
</entry>
<entry>
<title>nametransform: delete unused function DecryptPathDirIV</title>
<updated>2016-09-25T16:56:23+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-25T16:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c7b3150afc26a6992c6059002c84b1afc236f663'/>
<id>urn:sha1:c7b3150afc26a6992c6059002c84b1afc236f663</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reverse: add symlink encryption and Readlink support</title>
<updated>2016-09-25T16:01:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-25T16:01:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b883dd10a62eb8d7ddf589e2878d8e0f65a90e83'/>
<id>urn:sha1:b883dd10a62eb8d7ddf589e2878d8e0f65a90e83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reverse: resolve long names in Open and GetAttr</title>
<updated>2016-09-25T14:43:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-22T21:28:11+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a6a7b424f8e8a0f8ddd1c94b7463250ef1337811'/>
<id>urn:sha1:a6a7b424f8e8a0f8ddd1c94b7463250ef1337811</id>
<content type='text'>
The last patch added functionality for generating gocryptfs.longname.*
files, this patch adds support for mapping them back to the full
filenames.

Note that resolving a long name needs a full readdir. A cache
will be implemented later on to improve performance.
</content>
</entry>
<entry>
<title>nametransform: implement ReadDirIV without Openat</title>
<updated>2016-09-25T14:43:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-21T21:22:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b34a665da4a15762fc2e21e125ba705f691ec5d7'/>
<id>urn:sha1:b34a665da4a15762fc2e21e125ba705f691ec5d7</id>
<content type='text'>
As ReadDirIV operates on a path anyway, opening the directory
has no clear safety advantage w.r.t. concurrent renames.

If the backing directory is a reverse-mounted gocryptfs filesystem,
each directory open is an OPENDIR, and this causes a full directory
read!

This patch improves the "ls -lR" performance of an

  DIR --&gt; gocryptfs-reverse --&gt; gocryptfs

chain by a factor of ~10.

OPENDIR counts for ls -lR:
  Before 15570
  After   2745
</content>
</entry>
<entry>
<title>nametransform: return EINVAL on invalid padding</title>
<updated>2016-09-25T14:43:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-21T19:43:56+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=01c18dbcab455f90ced6a3e35a6c9e645b1c5e2a'/>
<id>urn:sha1:01c18dbcab455f90ced6a3e35a6c9e645b1c5e2a</id>
<content type='text'>
With the generic fmt.Errorf we trigger a warning from go-fuse:

  2016/09/21 21:42:31 can't convert error type: Invalid padding
</content>
</entry>
<entry>
<title>nametransform: export DirIVLen constant</title>
<updated>2016-09-25T14:43:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-09-02T21:39:50+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ac1221395e7475fa16f8f21f5badd93e300cb9d0'/>
<id>urn:sha1:ac1221395e7475fa16f8f21f5badd93e300cb9d0</id>
<content type='text'>
Will be needed by reverse mode.
</content>
</entry>
<entry>
<title>Add godoc comments to all internal packages</title>
<updated>2016-07-06T19:51:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-06T19:51:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e8a234f658553927a2e845d64862321c90388e00'/>
<id>urn:sha1:e8a234f658553927a2e845d64862321c90388e00</id>
<content type='text'>
</content>
</entry>
</feed>
