<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/stupidgcm, branch v0.10-rc2</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v0.10-rc2</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v0.10-rc2'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2016-05-04T22:09:08+00:00</updated>
<entry>
<title>stupidgcm: set dummy locking callback.</title>
<updated>2016-05-04T22:09:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-04T22:02:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=cf29ce37627fd6ba4416dd9eb5e56bed44128131'/>
<id>urn:sha1:cf29ce37627fd6ba4416dd9eb5e56bed44128131</id>
<content type='text'>
In general, OpenSSL is only threadsafe if you provide a locking function
through CRYPTO_set_locking_callback. However, the GCM operations that
stupidgcm uses never call that function.

To guard against that ever changing, set a dummy locking callback
that crashes the app.
</content>
</entry>
<entry>
<title>stupidgcm: skip tests on Go 1.4 and older</title>
<updated>2016-05-04T22:09:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-04T20:34:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=906172938afcf40418d78d825ee4cd2b9363d643'/>
<id>urn:sha1:906172938afcf40418d78d825ee4cd2b9363d643</id>
<content type='text'>
Quoting from the patch:

	We compare against Go's built-in GCM implementation. Since stupidgcm only
	supports 128-bit IVs and Go only supports that from 1.5 onward, we cannot
	run these tests on older Go versions.
</content>
</entry>
<entry>
<title>Revert "stupidgcm: print openssl error stack before panicing"</title>
<updated>2016-05-04T22:09:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-04T20:24:06+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b4d45554f29e0e7352f7bd8942c402fb877d00a4'/>
<id>urn:sha1:b4d45554f29e0e7352f7bd8942c402fb877d00a4</id>
<content type='text'>
This did not help in debugging the openssl &lt;= 1.0.1c issue at all
and makes the code more complex. Keep it simple.
</content>
</entry>
<entry>
<title>stupidgcm: reorder calls to support openssl &lt;= 1.0.1c</title>
<updated>2016-05-04T22:08:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-04T19:04:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=508a949d9d07c8efb8ed838c2f7747341a917099'/>
<id>urn:sha1:508a949d9d07c8efb8ed838c2f7747341a917099</id>
<content type='text'>
This fixes the test failures on Travis CI.

Quoting from https://github.com/openssl/openssl/commit/07a4ff79d23e45f1a45da717b7c1f41a5e1c7c0c

	/* Set expected tag value. A restriction in OpenSSL 1.0.1c and earlier
	 * required the tag before any AAD or ciphertext */
</content>
</entry>
<entry>
<title>stupidgcm: print openssl error stack before panicing</title>
<updated>2016-05-04T18:50:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-04T18:50:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d0945b73d2ccca4a4684958411795970bfe9c07d'/>
<id>urn:sha1:d0945b73d2ccca4a4684958411795970bfe9c07d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stupidgcm: fix copy-paste error in panic message</title>
<updated>2016-05-04T18:15:11+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-04T18:15:11+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6c010c30805f674de0f92072bb54c08d2e5b37e9'/>
<id>urn:sha1:6c010c30805f674de0f92072bb54c08d2e5b37e9</id>
<content type='text'>
Also, print the openssl version in Travis CI
</content>
</entry>
<entry>
<title>stupidgcm: add our own thin wrapper around openssl gcm</title>
<updated>2016-05-04T17:56:07+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-05-01T20:26:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c92190bf07d27a4c7fbecba5778d11c77c52574e'/>
<id>urn:sha1:c92190bf07d27a4c7fbecba5778d11c77c52574e</id>
<content type='text'>
...complete with tests and benchmark.

This will allow us to get rid of the dependency to spacemonkeygo/openssl
that causes problems on Arch Linux
( https://github.com/rfjakob/gocryptfs/issues/21 )
</content>
</entry>
</feed>
