<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/cryptocore, branch v2.2.0</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.2.0</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.2.0'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-09-10T10:14:19+00:00</updated>
<entry>
<title>cli: drop -forcedecode flag</title>
<updated>2021-09-10T10:14:19+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-10T10:14:19+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d023cd6c95fcbc6b5056ba1f425d2ac3df4abc5a'/>
<id>urn:sha1:d023cd6c95fcbc6b5056ba1f425d2ac3df4abc5a</id>
<content type='text'>
The rewritten openssl backend does not support this flag anymore,
and it was inherently dangerour. Drop it (ignored for compatibility)
</content>
</entry>
<entry>
<title>Make -openssl also apply to xchacha</title>
<updated>2021-09-08T18:32:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-08T18:32:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=94e8004b6ce497dafd13e8c3f6f6596b49169970'/>
<id>urn:sha1:94e8004b6ce497dafd13e8c3f6f6596b49169970</id>
<content type='text'>
Now that stupidgcm supports xchacha, make it available
on mount.
</content>
</entry>
<entry>
<title>stupidgcm: normalize constructor naming</title>
<updated>2021-09-07T16:15:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-07T16:11:11+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=85c2beccaf674c69b3e30b0d646f5c11d91ecb9b'/>
<id>urn:sha1:85c2beccaf674c69b3e30b0d646f5c11d91ecb9b</id>
<content type='text'>
New() -&gt; NewAES256GCM()

Also add missing NewChacha20poly1305
constructor in without_openssl.go.
</content>
</entry>
<entry>
<title>-speed: add XChaCha20-Poly1305-OpenSSL</title>
<updated>2021-09-07T16:14:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-09-02T09:33:06+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9e1dd73e55e095b8e8b4264897c4d21fcdcdb2ae'/>
<id>urn:sha1:9e1dd73e55e095b8e8b4264897c4d21fcdcdb2ae</id>
<content type='text'>
$ ./gocryptfs -speed
gocryptfs v2.1-56-gdb1466f-dirty.stupidchacha; go-fuse v2.1.1-0.20210825171523-3ab5d95a30ae; 2021-09-02 go1.17 linux/amd64
AES-GCM-256-OpenSSL       	 529.53 MB/s
AES-GCM-256-Go            	 833.85 MB/s	(selected in auto mode)
AES-SIV-512-Go            	 155.27 MB/s
XChaCha20-Poly1305-Go     	 715.33 MB/s	(use via -xchacha flag)
XChaCha20-Poly1305-OpenSSL	 468.94 MB/s

https://github.com/rfjakob/gocryptfs/issues/452
</content>
</entry>
<entry>
<title>cryptocore: add NonceSize to AEADTypeEnum</title>
<updated>2021-08-23T20:10:23+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-23T20:10:23+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=806334eacf2e50d712844761aca2b11014ec99df'/>
<id>urn:sha1:806334eacf2e50d712844761aca2b11014ec99df</id>
<content type='text'>
Have the information in one centralized place,
and access it from main as needed.
</content>
</entry>
<entry>
<title>Add partial XChaCha20-Poly1305 support (mount flag only)</title>
<updated>2021-08-23T14:00:41+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-21T10:08:37+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4764a9bde093f6b61d0370653c6c9d12949ed145'/>
<id>urn:sha1:4764a9bde093f6b61d0370653c6c9d12949ed145</id>
<content type='text'>
Mount flag only at the moment, not saved to gocryptfs.conf.

https://github.com/rfjakob/gocryptfs/issues/452
</content>
</entry>
<entry>
<title>go mod: declare module version v2</title>
<updated>2021-08-23T13:05:15+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-23T13:05:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=69d88505fd7f4cb0d9e4f1918de296342fe05858'/>
<id>urn:sha1:69d88505fd7f4cb0d9e4f1918de296342fe05858</id>
<content type='text'>
Our git version is v2+ for some time now, but go.mod
still declared v1. Hopefully making both match makes
https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work.

All the import paths have been fixed like this:

  find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/%
</content>
</entry>
<entry>
<title>cryptocore: drop IVLen helper var</title>
<updated>2021-08-21T08:55:20+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-21T08:55:20+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2da0e13b1da4c903023200d6271b90f49077e8de'/>
<id>urn:sha1:2da0e13b1da4c903023200d6271b90f49077e8de</id>
<content type='text'>
The IVLen var seems be a net loss in clarity. Drop it.

Also add comments and normalize error messages.
</content>
</entry>
<entry>
<title>Improve startup debug output</title>
<updated>2021-06-21T09:32:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-06-21T09:32:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6b0e63c1a86946de23f549e7d80ea933a4a105f8'/>
<id>urn:sha1:6b0e63c1a86946de23f549e7d80ea933a4a105f8</id>
<content type='text'>
The startup debug output was very verbose but still missing some
effective crypto settings.
</content>
</entry>
<entry>
<title>tlog: stop embedding log.Logger to prevent mistakes</title>
<updated>2018-02-28T08:02:18+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-02-28T08:02:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b96e3ee2717531e842c492c3a6799d1d0c3e51cb'/>
<id>urn:sha1:b96e3ee2717531e842c492c3a6799d1d0c3e51cb</id>
<content type='text'>
A few places have called tlog.Warn.Print, which directly
calls into log.Logger due to embedding, losing all features
of tlog.

Stop embedding log.Logger to make sure the internal functions
cannot be called accidentially and fix (several!) instances
that did.
</content>
</entry>
</feed>
