<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal, branch v1.5</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.5</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2018-06-12T21:05:53+00:00</updated>
<entry>
<title>xattr: return EOPNOTSUPP instead of ENODATA in GetXattr</title>
<updated>2018-06-12T21:05:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-12T19:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bfa50517e9b0b3afe98084cc9ba105caba45b540'/>
<id>urn:sha1:bfa50517e9b0b3afe98084cc9ba105caba45b540</id>
<content type='text'>
Reading system.posix_acl_access and system.posix_acl_default
should return EOPNOTSUPP to inform user-space that we do not
support ACLs.

xftestest essientially does

	chacl -l | grep "Operation not supported"

to determine if the filesystem supports ACLs, and used to
wrongly believe that gocryptfs does.
</content>
</entry>
<entry>
<title>darwin does not have PATH_MAX</title>
<updated>2018-06-07T22:47:48+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-07T22:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bde7ba57b06eb46f8901454e12524a74a8c3b6e8'/>
<id>urn:sha1:bde7ba57b06eb46f8901454e12524a74a8c3b6e8</id>
<content type='text'>
Define our own, with the value from Linux.
</content>
</entry>
<entry>
<title>xattr: use LGet/LSet etc</title>
<updated>2018-05-27T18:09:48+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-27T18:09:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ae02ca1ded252262a5d727de9b9b4be278e60ba2'/>
<id>urn:sha1:ae02ca1ded252262a5d727de9b9b4be278e60ba2</id>
<content type='text'>
Support has been merged into the xattr package
( https://github.com/pkg/xattr/pull/29 ), use it.
</content>
</entry>
<entry>
<title>xattr: return EOPNOTSUPP for unsupported attributes</title>
<updated>2018-05-15T21:00:47+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-15T21:00:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7b0068180772b9dd7e0b00ca9e1b0f3ce39c9c23'/>
<id>urn:sha1:7b0068180772b9dd7e0b00ca9e1b0f3ce39c9c23</id>
<content type='text'>
mv is unhappy when we return EPERM when it tries to set
system.posix_acl_access:

   mv: preserving permissions for ‘b/x’: Operation not permitted

Now we return EOPNOTSUPP like tmpfs does and mv seems happy.
</content>
</entry>
<entry>
<title>xattr: optimize storage, store as binary instead of bae64</title>
<updated>2018-05-10T21:25:49+00:00</updated>
<author>
<name>Bolshevik</name>
</author>
<published>2018-05-07T20:01:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a41ec2028cf2ad24eafb531d661ea1fe0f751f39'/>
<id>urn:sha1:a41ec2028cf2ad24eafb531d661ea1fe0f751f39</id>
<content type='text'>
Values a binary-safe, there is no need to base64-encode them.

Old, base64-encoded values are supported transparently
on reading. Writing xattr values now always writes them binary.
</content>
</entry>
<entry>
<title>stupidgcm: return error on too short input instead of panicing</title>
<updated>2018-05-10T21:00:02+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-10T20:44:03+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a276321dea04eaa0cfc80c56e8faca4b8ded0b7a'/>
<id>urn:sha1:a276321dea04eaa0cfc80c56e8faca4b8ded0b7a</id>
<content type='text'>
This is what Go GCM does as well.
</content>
</entry>
<entry>
<title>xattr: added passing of a "flags" parameter</title>
<updated>2018-05-07T19:45:40+00:00</updated>
<author>
<name>Bolshevik</name>
</author>
<published>2018-05-01T16:46:51+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5ccc06d5cb321b1400e33a7d0819bf617c52600d'/>
<id>urn:sha1:5ccc06d5cb321b1400e33a7d0819bf617c52600d</id>
<content type='text'>
Pass the "flags" parameter to the lower layer syscall.
This makes Apple applications being able to successfully save data.
</content>
</entry>
<entry>
<title>fusefrontend: xattr: return ENOSYS on unsupported flags</title>
<updated>2018-05-01T21:30:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-05-01T21:30:53+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=fe3890688a693fbfa900e32b05e10861fa4167ba'/>
<id>urn:sha1:fe3890688a693fbfa900e32b05e10861fa4167ba</id>
<content type='text'>
We previously returned EPERM to prevent the kernel from
blacklisting our xattr support once we get an unsupported
flag, but this causes lots of trouble on MacOS:
Cannot save files from GUI apps, see
https://github.com/rfjakob/gocryptfs/issues/229

Returning ENOSYS triggers the dotfiles fallback on MacOS
and fixes the issue.
</content>
</entry>
<entry>
<title>Improved xattr handling on non-linux systems (#227)</title>
<updated>2018-04-17T18:33:04+00:00</updated>
<author>
<name>bolshevik</name>
</author>
<published>2018-04-17T18:33:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=12b32aa06c0475d60ee51b3753052ac2e4d09308'/>
<id>urn:sha1:12b32aa06c0475d60ee51b3753052ac2e4d09308</id>
<content type='text'>
* Fixed xattr filtering for MacOS. "system." and "user." prefixes are only relevant for Linux.
* Small cleanup and additional tests.</content>
</entry>
<entry>
<title>Fix the easy golint warnings</title>
<updated>2018-04-08T18:26:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-08T18:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bcc8378a2c07476a43c1fe316b79590177ded3d3'/>
<id>urn:sha1:bcc8378a2c07476a43c1fe316b79590177ded3d3</id>
<content type='text'>
Reported by https://goreportcard.com/report/github.com/rfjakob/gocryptfs
</content>
</entry>
</feed>
