<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fscrypt.git/filesystem, branch v0.2.5</title>
<subtitle>Go tool for managing Linux filesystem encryption
</subtitle>
<id>https://git.hodgden.net/cgit.cgi/fscrypt.git/atom?h=v0.2.5</id>
<link rel='self' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/atom?h=v0.2.5'/>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/'/>
<updated>2019-09-09T20:41:32Z</updated>
<entry>
<title>writeDataAtomic() fixes (#140)</title>
<updated>2019-09-09T20:41:32Z</updated>
<author>
<name>ebiggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2019-09-09T20:41:32Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=237308a671bd2bbea2059bea9e75cb1272edbdbf'/>
<id>urn:sha1:237308a671bd2bbea2059bea9e75cb1272edbdbf</id>
<content type='text'>
* filesystem: ensure data is persisted before returning success

Sync the temporary file before renaming it, to ensure that after a
crash, the destination file isn't zero-length or otherwise incomplete.

Also sync the directory after the rename, to ensure the rename has been
persisted before returning success.

* filesystem: don't use fixed temporary file name

Using a fixed temporary file name in a world-writable sticky directory
is problematic since another user can create the file first.

Use ioutil.TempFile() to do it properly.  It uses O_EXCL under the hood
to ensure the file is newly created.
</content>
</entry>
<entry>
<title>Fix various typos and grammatical errors (#141)</title>
<updated>2019-09-09T02:46:59Z</updated>
<author>
<name>ebiggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2019-09-09T02:46:59Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=6445dad7d66fa6a1867090fcd9602c98863649f6'/>
<id>urn:sha1:6445dad7d66fa6a1867090fcd9602c98863649f6</id>
<content type='text'>
These were found by a combination of manual review and a custom script
that checks for common errors.

Also removed an outdated sentence from the comment for setupBefore().</content>
</entry>
<entry>
<title>Run 'make format' with latest version of goimports</title>
<updated>2019-08-29T04:22:36Z</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@google.com</email>
</author>
<published>2019-08-29T04:22:36Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=c5661ed3034d912a22f642326cea859969daba4e'/>
<id>urn:sha1:c5661ed3034d912a22f642326cea859969daba4e</id>
<content type='text'>
This fixes a CI failure, caused by goimports changing how it formats the
imports.
</content>
</entry>
<entry>
<title>feat(spell-check): add make command for spell check.</title>
<updated>2018-09-01T19:47:27Z</updated>
<author>
<name>Deepesh Pathak</name>
<email>deepshpathak@gmail.com</email>
</author>
<published>2018-09-01T19:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=f270dfadb9af9e81ae4c884a3ea45ca4618a7a05'/>
<id>urn:sha1:f270dfadb9af9e81ae4c884a3ea45ca4618a7a05</id>
<content type='text'>
* Remove spelling mistakes in the repository
* Add travis script to check for typos.
* Add command to Makefile to check for typos.
* Fixes #71
</content>
</entry>
<entry>
<title>Use proto.Equal instead of reflect.DeepEquals</title>
<updated>2018-08-30T10:54:08Z</updated>
<author>
<name>Joe Richey joerichey@google.com</name>
<email>joerichey@google.com</email>
</author>
<published>2018-08-30T10:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=36b185e408a56d93678f52a59e1d68ece8bf0508'/>
<id>urn:sha1:36b185e408a56d93678f52a59e1d68ece8bf0508</id>
<content type='text'>
</content>
</entry>
<entry>
<title>filesystem: libblkid -&gt; search /dev/disk/by-uuid</title>
<updated>2017-08-31T21:05:29Z</updated>
<author>
<name>Joe Richey</name>
<email>joerichey@google.com</email>
</author>
<published>2017-08-31T21:05:29Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=0fcb6601ca66b9e4c2349392663fe9baa30dbbc7'/>
<id>urn:sha1:0fcb6601ca66b9e4c2349392663fe9baa30dbbc7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Unit tests and Integration tests work</title>
<updated>2017-07-19T04:08:02Z</updated>
<author>
<name>Joe Richey joerichey@google.com</name>
<email>joerichey@google.com</email>
</author>
<published>2017-07-19T04:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=3afdd84a5c0cea217043e9d32ce61e9f6bccf18b'/>
<id>urn:sha1:3afdd84a5c0cea217043e9d32ce61e9f6bccf18b</id>
<content type='text'>
Now the testing functions will skip the integration tests if a testing
filesystem is not specified.
</content>
</entry>
<entry>
<title>Small fixes so "make lint" doesn't complain.</title>
<updated>2017-07-18T06:16:00Z</updated>
<author>
<name>Joe Richey joerichey@google.com</name>
<email>joerichey@google.com</email>
</author>
<published>2017-07-18T06:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=744dbff34969ef612b219cde5b8f116f3ae3d26f'/>
<id>urn:sha1:744dbff34969ef612b219cde5b8f116f3ae3d26f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Changes from "make format"</title>
<updated>2017-07-18T05:56:54Z</updated>
<author>
<name>Joe Richey joerichey@google.com</name>
<email>joerichey@google.com</email>
</author>
<published>2017-07-18T05:52:51Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=40378ab30dc65e86092d5477e70ac21ec01f45b9'/>
<id>urn:sha1:40378ab30dc65e86092d5477e70ac21ec01f45b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>filesystem: Distinguish support and setup for fs</title>
<updated>2017-07-17T20:16:03Z</updated>
<author>
<name>Joe Richey joerichey@google.com</name>
<email>joerichey@google.com</email>
</author>
<published>2017-07-17T20:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.hodgden.net/cgit.cgi/fscrypt.git/commit/?id=8136a700fa6c3efb7a469e45d846e9db4ec9b4e2'/>
<id>urn:sha1:8136a700fa6c3efb7a469e45d846e9db4ec9b4e2</id>
<content type='text'>
This commit splits two pieces of functionality. Detecting if the fscrypt
metadata exists is now in CheckSetup() and checking if the filesystem
supports encryption is now in CheckSupport().
</content>
</entry>
</feed>
