<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal, branch v1.7.1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7.1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7.1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2019-10-06T19:47:36+00:00</updated>
<entry>
<title>fusefrontend: unregister from openfiletable before closing the fd</title>
<updated>2019-10-06T19:47:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T19:27:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=00af4f48643f0533b6cfbd14fdf5186c844f8f5d'/>
<id>urn:sha1:00af4f48643f0533b6cfbd14fdf5186c844f8f5d</id>
<content type='text'>
Closing the fd means the inode number may be reused immediately
by a new file, so we have to get the old fileID out of the table
beforehand!

Hopefully fixes https://github.com/rfjakob/gocryptfs/issues/363
</content>
</entry>
<entry>
<title>fusefrontend: print file hexdump on header error</title>
<updated>2019-10-06T17:37:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T17:36:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=43265940fa2d43ebea8edb00373aa4d6718e2ea7'/>
<id>urn:sha1:43265940fa2d43ebea8edb00373aa4d6718e2ea7</id>
<content type='text'>
This should help debugging https://github.com/rfjakob/gocryptfs/issues/363 ,
but does no harm in normal operation as it only prints ciphertext to the log.
</content>
</entry>
<entry>
<title>contentenc: add explicit test for all-zero header</title>
<updated>2019-10-06T17:37:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T17:34:32+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b3c88f573f4c1b269e78dd7d1dbd6de73d477694'/>
<id>urn:sha1:b3c88f573f4c1b269e78dd7d1dbd6de73d477694</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/363
</content>
</entry>
<entry>
<title>serialize_reads: drop superflous "continue"</title>
<updated>2019-09-08T19:19:44+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-09-08T19:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=56eb85651be098fe810066f637c10004a7bea19b'/>
<id>urn:sha1:56eb85651be098fe810066f637c10004a7bea19b</id>
<content type='text'>
Found while debugging https://github.com/rfjakob/gocryptfs/pull/413
</content>
</entry>
<entry>
<title>Fix -idle unmounting despite activity</title>
<updated>2019-09-08T14:29:20+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-09-08T14:29:20+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0a4db7d9e9801a416602b52281537991ba1463c0'/>
<id>urn:sha1:0a4db7d9e9801a416602b52281537991ba1463c0</id>
<content type='text'>
Fixes https://github.com/rfjakob/gocryptfs/issues/421
</content>
</entry>
<entry>
<title>Fix unix2syscall_darwin.go build failure</title>
<updated>2019-05-19T19:04:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-05-19T19:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b1468a732fa26550f2a6f8a21cc7bd47b65a8c96'/>
<id>urn:sha1:b1468a732fa26550f2a6f8a21cc7bd47b65a8c96</id>
<content type='text'>
Error was

 +GOOS=darwin
 +GOARCH=amd64
 +go build -tags without_openssl
 # github.com/rfjakob/gocryptfs/internal/syscallcompat
 internal/syscallcompat/unix2syscall_darwin.go:22:32: u.Atimespec undefined (type unix.Stat_t has no field or method Atimespec)
 internal/syscallcompat/unix2syscall_darwin.go:23:32: u.Mtimespec undefined (type unix.Stat_t has no field or method Mtimespec)
 internal/syscallcompat/unix2syscall_darwin.go:24:32: u.Ctimespec undefined (type unix.Stat_t has no field or method Ctimespec)

caused by https://github.com/golang/sys/commit/87c872767d25fb96dfe96c794fd028b38a08440b#diff-4913a9178621eadcdf191db17915fbcb
</content>
</entry>
<entry>
<title>syscallcompat: fetch supplementary groups for OpenatUser &amp; friends</title>
<updated>2019-05-01T15:52:07+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-05-01T11:18:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a97d14c42d902e53efdb42e9b32c4a39559fc262'/>
<id>urn:sha1:a97d14c42d902e53efdb42e9b32c4a39559fc262</id>
<content type='text'>
Handled the same way in GlusterFS, disorderfs, libfuse.
Fixes https://github.com/rfjakob/gocryptfs/issues/394
</content>
</entry>
<entry>
<title>tests: split testParentDir by UID</title>
<updated>2019-05-01T11:12:44+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-05-01T11:06:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3ac98722306c316223169fa4a0f9a2769bcceb65'/>
<id>urn:sha1:3ac98722306c316223169fa4a0f9a2769bcceb65</id>
<content type='text'>
When we run tests as root, they will leave root-owned files
in testParentDir, which causes trouble when we run tests as
a normal user later on. Split by UID.
</content>
</entry>
<entry>
<title>fusefrontend: get rid of last hardcoded "gocryptfs.diriv" instances</title>
<updated>2019-04-09T18:51:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-04-09T18:51:33+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7d81494a649f3f871bfeb4bb129cbfa738fbef67'/>
<id>urn:sha1:7d81494a649f3f871bfeb4bb129cbfa738fbef67</id>
<content type='text'>
Makes it easier to change the name (as some people want to):
https://github.com/rfjakob/gocryptfs/issues/37
</content>
</entry>
<entry>
<title>readpassword: delete CheckTrailingGarbage</title>
<updated>2019-04-08T18:18:45+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-04-08T18:18:45+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=fe06e9f45646893dc88ebe9e657e2e991f6f5fbb'/>
<id>urn:sha1:fe06e9f45646893dc88ebe9e657e2e991f6f5fbb</id>
<content type='text'>
CheckTrailingGarbage was called even when "-passfile" was
used, which is stupid, and causes false positives:

https://github.com/rfjakob/gocryptfs/issues/391
(false error "Received trailing garbage after the password"
when using -passfile in .bash_profile)

Instead of trying to improve the logic to handle that case
and make everything even more complicated, delete the function.

It is unclear if actually helps in some cases, and it definitely
harms as shown by the above bug report.
</content>
</entry>
</feed>
