<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/pathfs_frontend, branch v0.3</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v0.3</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v0.3'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2015-11-01T11:32:10+00:00</updated>
<entry>
<title>Remove code detected by "deadcode"</title>
<updated>2015-11-01T11:32:10+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-11-01T11:32:10+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e31d319c399e619e4dec2f71782f1412a46f2d36'/>
<id>urn:sha1:e31d319c399e619e4dec2f71782f1412a46f2d36</id>
<content type='text'>
go get github.com/remyoudompheng/go-misc/deadcode
</content>
</entry>
<entry>
<title>Refactor ciphertext &lt;-&gt; plaintext offset translation functions</title>
<updated>2015-11-01T11:11:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-11-01T11:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=902babdf22199d73171716e643f1ffbb65e6fb48'/>
<id>urn:sha1:902babdf22199d73171716e643f1ffbb65e6fb48</id>
<content type='text'>
Move all the intelligence into the new file address_translation.go.
That the calculations were spread out too much became apparent when adding
the file header. This should make the code much easier to modify in the
future.
</content>
</entry>
<entry>
<title>Add file header (on-disk-format change)</title>
<updated>2015-11-01T00:38:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-11-01T00:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=76311b60f2e208dbd93e1e7b6e9794770c14fede'/>
<id>urn:sha1:76311b60f2e208dbd93e1e7b6e9794770c14fede</id>
<content type='text'>
Format: [ "Version" uint16 big endian ] [ "Id" 16 random bytes ]

Quoting SECURITY.md:

* Every file has a header that contains a 16-byte random *file id*
* Each block uses the file id and its block number as GCM *authentication data*
 * This means the position of the blocks is protected as well. The blocks
   can not be reordered or copied between different files without
   causing an decryption error.
</content>
</entry>
<entry>
<title>Use block number as authentication data</title>
<updated>2015-10-06T20:27:37+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-10-06T20:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a3d286069f989dd16c6f91930a0df9fedfa2dd64'/>
<id>urn:sha1:a3d286069f989dd16c6f91930a0df9fedfa2dd64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Utimens: Use UtimesNano instead of Futimes</title>
<updated>2015-10-04T18:32:15+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-10-04T18:32:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=aa082c235a9ba2726385c07913bf1917faf928b2'/>
<id>urn:sha1:aa082c235a9ba2726385c07913bf1917faf928b2</id>
<content type='text'>
Futimes() only takes microsecond resolution while the FUSE call
Utimens() wants nanosecond precision.

This is why UTIME_OMIT did not work - this change fixes the
xfstests generic/258 test failure.

The go library does not provide a FutimesNano() function which is
why I use UtimesNano() on /proc/self/fd/n.
This is what the Go library does in Futimes().
</content>
</entry>
<entry>
<title>fallocate: return ENOSYS</title>
<updated>2015-10-04T15:14:40+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-10-04T15:14:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c7313f36dee285a8adab801632c8d692bd5f5e7e'/>
<id>urn:sha1:c7313f36dee285a8adab801632c8d692bd5f5e7e</id>
<content type='text'>
The implementation was incomplete, disable fallocate completely for now.
See https://github.com/rfjakob/gocryptfs/issues/1

Fixes xfstests generic/075
</content>
</entry>
<entry>
<title>truncate: Fix bug that caused xfstests generic/030 to fail</title>
<updated>2015-10-04T14:04:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-10-04T14:04:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=90bd9782831f9d3a3c7c682f9cc04ccef0a1666d'/>
<id>urn:sha1:90bd9782831f9d3a3c7c682f9cc04ccef0a1666d</id>
<content type='text'>
The bug was caused by using cipherOff where plainOff should
have been used.
Renamed the symbols for less confusion.
</content>
</entry>
<entry>
<title>Truncate: Logging improvements, show number of blocks as float</title>
<updated>2015-10-04T13:45:46+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-10-04T13:43:46+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=aa6fa7f3cf0c7a2ab078ad4648eca742e5acd232'/>
<id>urn:sha1:aa6fa7f3cf0c7a2ab078ad4648eca742e5acd232</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix Trucate() bug causing files to be too small</title>
<updated>2015-10-04T13:40:59+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-10-04T13:40:59+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b27edba2bbf374b2e98d19d9fb3aa9f84721baf7'/>
<id>urn:sha1:b27edba2bbf374b2e98d19d9fb3aa9f84721baf7</id>
<content type='text'>
Uncovered by running xfstests generic/014 several times
</content>
</entry>
<entry>
<title>Run go fmt</title>
<updated>2015-10-04T12:49:47+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2015-10-04T12:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=89fef80d32708874c95742db0a7b593bcfd3b31d'/>
<id>urn:sha1:89fef80d32708874c95742db0a7b593bcfd3b31d</id>
<content type='text'>
</content>
</entry>
</feed>
