<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/stupidgcm/locking.go, branch xattr_user_buffer</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2025-08-07T20:06:39+00:00</updated>
<entry>
<title>stupidgcm: make build tags consistent</title>
<updated>2025-08-07T20:06:39+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-08-07T20:06:39+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5f324fe6614c1cf6bc7e5c07807332c8bb23dd5c'/>
<id>urn:sha1:5f324fe6614c1cf6bc7e5c07807332c8bb23dd5c</id>
<content type='text'>
This makes building with just CGO_ENABLED=0 work.
</content>
</entry>
<entry>
<title>make format</title>
<updated>2022-08-28T09:11:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2022-08-28T09:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=003a7fa2e53ac15d2c94a34102ae12b69b23c586'/>
<id>urn:sha1:003a7fa2e53ac15d2c94a34102ae12b69b23c586</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stupidgcm: fix openssl 1.1 build failure</title>
<updated>2017-07-14T18:44:07+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-07-14T18:43:12+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=61e964457d27cbe7cbedaa7bf81d1e78f685960b'/>
<id>urn:sha1:61e964457d27cbe7cbedaa7bf81d1e78f685960b</id>
<content type='text'>
Fixed by including the correct header. Should work on older openssl
versions as well.

Error was:
locking.go:21: undefined reference to `CRYPTO_set_locking_callback'
</content>
</entry>
<entry>
<title>without_openssl: support compiling completely without openssl</title>
<updated>2016-10-04T07:51:14+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-10-04T07:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=56c0b19612dd25b84474211c1a84897fe89ce7d4'/>
<id>urn:sha1:56c0b19612dd25b84474211c1a84897fe89ce7d4</id>
<content type='text'>
Build helper script: build-without-openssl.bash
</content>
</entry>
<entry>
<title>stupidgcm: use __builtin_trap()</title>
<updated>2016-07-04T06:14:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-04T06:14:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=52655843ab68a37f0000b009cf90cf370df32f98'/>
<id>urn:sha1:52655843ab68a37f0000b009cf90cf370df32f98</id>
<content type='text'>
  [...]/stupidgcm/locking.go:16:2:
  warning: indirection of non-volatile null pointer will
  be deleted, not trap [-Wnull-dereference]
  [...]/stupidgcm/locking.go:16:2:
  note: consider using __builtin_trap() or qualifying
  pointer with 'volatile'

https://github.com/rfjakob/gocryptfs/issues/15
</content>
</entry>
<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>
</feed>
