<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/contentenc, branch v1.0-rc1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.0-rc1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.0-rc1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2016-07-02T13:35:06+00:00</updated>
<entry>
<title>fusefronted: move Truncate() and Allocate() to their own file</title>
<updated>2016-07-02T13:35:06+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-02T13:33:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=04ad0635159150409252f6901463768008802221'/>
<id>urn:sha1:04ad0635159150409252f6901463768008802221</id>
<content type='text'>
These are large complicated implementations that will share some
code.
</content>
</entry>
<entry>
<title>contentenc: rename PlaintextRange and CiphertextRange</title>
<updated>2016-07-01T22:12:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-01T22:12:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7b22b426b9f5e68a0ff51799e04f193dc74586d0'/>
<id>urn:sha1:7b22b426b9f5e68a0ff51799e04f193dc74586d0</id>
<content type='text'>
The name could be misunderstood and actually caused a bug:
doWrite used to always preallocate 4128 instead of the actual
data length.
</content>
</entry>
<entry>
<title>fusefrontend: coalesce grows in Truncate()</title>
<updated>2016-07-01T21:32:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-01T21:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f2b4d57068d13b6dc3de2ccc6550675d11d34cfa'/>
<id>urn:sha1:f2b4d57068d13b6dc3de2ccc6550675d11d34cfa</id>
<content type='text'>
We were growing the file block-by-block which was pretty
inefficient. We now coalesce all the grows into a single
Ftruncate. Also simplifies the code!

Simplistic benchmark: Before:

  $ time truncate -s 1000M foo
  real	0m0.568s

After:

  $ time truncate -s 1000M foo
  real	0m0.205s
</content>
</entry>
<entry>
<title>Rename nametransform, contentenc source files</title>
<updated>2016-06-16T17:02:47+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-16T17:02:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7e92ebe16a7735b29e0fdc62d4b5d49ce0dc2b66'/>
<id>urn:sha1:7e92ebe16a7735b29e0fdc62d4b5d49ce0dc2b66</id>
<content type='text'>
Let's have shorter names, and merge *_api.go into the "main"
file.

No code changes.
</content>
</entry>
<entry>
<title>Rename internal "toggledlog" package to "tlog"</title>
<updated>2016-06-15T21:30:44+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-15T21:30:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6c3f97399a01a2d8480b39978209099335efbf7d'/>
<id>urn:sha1:6c3f97399a01a2d8480b39978209099335efbf7d</id>
<content type='text'>
tlog is used heavily everywhere and deserves a shorter name.

Renamed using sed magic, without any manual rework:

   find * -type f -exec sed -i 's/toggledlog/tlog/g' {} +
</content>
</entry>
<entry>
<title>Enable openssl in tests to support old Go versions</title>
<updated>2016-03-02T23:59:58+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-03-02T23:58:12+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=37a9b4c3ee9d5dd332ae2f4b25942c6fef254d72'/>
<id>urn:sha1:37a9b4c3ee9d5dd332ae2f4b25942c6fef254d72</id>
<content type='text'>
Go 1.4 and older do not support 128-bit IVs which caused
the tests to panic.
</content>
</entry>
<entry>
<title>longnames part II: Rename, Unlink, Rmdir, Mknod, Mkdir + tests</title>
<updated>2016-02-07T13:02:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-02-07T13:02:09+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=653d4a619cb7b937d81deab4f20d3c8d4baa4898'/>
<id>urn:sha1:653d4a619cb7b937d81deab4f20d3c8d4baa4898</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run go fmt</title>
<updated>2016-02-06T19:23:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-02-06T19:23:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c74772bc8d7348ced429e5ca6ef47a53a8f215ff'/>
<id>urn:sha1:c74772bc8d7348ced429e5ca6ef47a53a8f215ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests - were broken by the refactoring</title>
<updated>2016-02-06T19:22:45+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-02-06T19:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b0ee5258b1ac60b9a672d9db0816b17ae12d0e55'/>
<id>urn:sha1:b0ee5258b1ac60b9a672d9db0816b17ae12d0e55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Major refactoring: Split up "cryptfs" into several internal packages</title>
<updated>2016-02-06T18:22:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-02-06T18:20:54+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2b8cbd944149afe51fadddbd67ee4499d1d86250'/>
<id>urn:sha1:2b8cbd944149afe51fadddbd67ee4499d1d86250</id>
<content type='text'>
"git status" for reference:

deleted:    cryptfs/cryptfs.go
deleted:    cryptfs/names_core.go
modified:   integration_tests/cli_test.go
modified:   integration_tests/helpers.go
renamed:    cryptfs/config_file.go -&gt; internal/configfile/config_file.go
renamed:    cryptfs/config_test.go -&gt; internal/configfile/config_test.go
renamed:    cryptfs/config_test/.gitignore -&gt; internal/configfile/config_test/.gitignore
renamed:    cryptfs/config_test/PlaintextNames.conf -&gt; internal/configfile/config_test/PlaintextNames.conf
renamed:    cryptfs/config_test/StrangeFeature.conf -&gt; internal/configfile/config_test/StrangeFeature.conf
renamed:    cryptfs/config_test/v1.conf -&gt; internal/configfile/config_test/v1.conf
renamed:    cryptfs/config_test/v2.conf -&gt; internal/configfile/config_test/v2.conf
renamed:    cryptfs/kdf.go -&gt; internal/configfile/kdf.go
renamed:    cryptfs/kdf_test.go -&gt; internal/configfile/kdf_test.go
renamed:    cryptfs/cryptfs_content.go -&gt; internal/contentenc/content.go
new file:   internal/contentenc/content_api.go
renamed:    cryptfs/content_test.go -&gt; internal/contentenc/content_test.go
renamed:    cryptfs/file_header.go -&gt; internal/contentenc/file_header.go
renamed:    cryptfs/intrablock.go -&gt; internal/contentenc/intrablock.go
renamed:    cryptfs/address_translation.go -&gt; internal/contentenc/offsets.go
new file:   internal/cryptocore/crypto_api.go
renamed:    cryptfs/gcm_go1.4.go -&gt; internal/cryptocore/gcm_go1.4.go
renamed:    cryptfs/gcm_go1.5.go -&gt; internal/cryptocore/gcm_go1.5.go
renamed:    cryptfs/nonce.go -&gt; internal/cryptocore/nonce.go
renamed:    cryptfs/openssl_aead.go -&gt; internal/cryptocore/openssl_aead.go
renamed:    cryptfs/openssl_benchmark.bash -&gt; internal/cryptocore/openssl_benchmark.bash
renamed:    cryptfs/openssl_test.go -&gt; internal/cryptocore/openssl_test.go
new file:   internal/nametransform/name_api.go
new file:   internal/nametransform/names_core.go
renamed:    cryptfs/names_diriv.go -&gt; internal/nametransform/names_diriv.go
renamed:    cryptfs/names_noiv.go -&gt; internal/nametransform/names_noiv.go
renamed:    cryptfs/names_test.go -&gt; internal/nametransform/names_test.go
new file:   internal/nametransform/pad16.go
renamed:    cryptfs/log.go -&gt; internal/toggledlog/log.go
renamed:    cryptfs/log_go1.4.go -&gt; internal/toggledlog/log_go1.4.go
renamed:    cryptfs/log_go1.5.go -&gt; internal/toggledlog/log_go1.5.go
modified:   main.go
modified:   masterkey.go
modified:   pathfs_frontend/file.go
modified:   pathfs_frontend/file_holes.go
modified:   pathfs_frontend/fs.go
modified:   pathfs_frontend/fs_dir.go
modified:   pathfs_frontend/names.go
modified:   test.bash
</content>
</entry>
</feed>
