<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/configfile, branch v2.1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-06-20T16:09:21+00:00</updated>
<entry>
<title>fido2: hide "FIDO2" in gocryptfs.conf if not used</title>
<updated>2021-06-20T16:09:21+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-06-20T10:59:45+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=50630e9f3d7f649e41ab6f1102b40a1e4ec99686'/>
<id>urn:sha1:50630e9f3d7f649e41ab6f1102b40a1e4ec99686</id>
<content type='text'>
Result of:

$ gocryptfs -init foo
$ cat foo/gocryptfs.conf

Before:

{
	"Creator": "gocryptfs v2.0.1",
	"EncryptedKey": "FodEdNHD/cCwv1n5BuyAkbIOnJ/O5gfdCh3YssUCJ2DUr0A8DrQ5NH2SLhREeWRL3V8EMiPO2Ncr5IVwE4SSxQ==",
	"ScryptObject": {
		"Salt": "brGaw9Jg1kbPuSXFiwoxqK2oXFTgbniSgpiB+cu+67Y=",
		"N": 65536,
		"R": 8,
		"P": 1,
		"KeyLen": 32
	},
	"Version": 2,
	"FeatureFlags": [
		"GCMIV128",
		"HKDF",
		"DirIV",
		"EMENames",
		"LongNames",
		"Raw64"
	],
	"FIDO2": {
		"CredentialID": null,
		"HMACSalt": null
	}
}

After:

{
	"Creator": "gocryptfs v2.0.1-5-gf9718eb-dirty.DerDonut-badnamecontent",
	"EncryptedKey": "oFMj1lS1ZsM/vEfanNMeCTPw3PZr5VWeL7ap8Jd8YQm6evy2BAhtQ/pd6RzDx84wlCz9TpxqHRihuwSEMnOWWg==",
	"ScryptObject": {
		"Salt": "JZ/5mhy4a8EAQ/wDF1POIEe4/Ss38cfJgXgj26DuA4M=",
		"N": 65536,
		"R": 8,
		"P": 1,
		"KeyLen": 32
	},
	"Version": 2,
	"FeatureFlags": [
		"GCMIV128",
		"HKDF",
		"DirIV",
		"EMENames",
		"LongNames",
		"Raw64"
	]
}
</content>
</entry>
<entry>
<title>Add support for FIDO2 tokens</title>
<updated>2020-09-12T16:06:54+00:00</updated>
<author>
<name>Pavol Rusnak</name>
</author>
<published>2020-09-05T20:42:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1e624a4cc3aafa57b5fa213c88bcd3689cefd1c3'/>
<id>urn:sha1:1e624a4cc3aafa57b5fa213c88bcd3689cefd1c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove Trezor support</title>
<updated>2019-12-28T18:50:49+00:00</updated>
<author>
<name>Pavol Rusnak</name>
</author>
<published>2019-12-27T21:27:57+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1364b44ae356da31e24e5605fe73a307e9d6fb03'/>
<id>urn:sha1:1364b44ae356da31e24e5605fe73a307e9d6fb03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configfile: fall back to sync() if fsync() fails</title>
<updated>2019-04-08T17:54:54+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-04-07T20:04:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8459bb15c1a32561c250a8b688ab4a7ecda0a4aa'/>
<id>urn:sha1:8459bb15c1a32561c250a8b688ab4a7ecda0a4aa</id>
<content type='text'>
This can happen on network drives: FRITZ.NAS mounted on MacOS returns
"operation not supported": https://github.com/rfjakob/gocryptfs/issues/390
</content>
</entry>
<entry>
<title>configfile: Fix a copy&amp;paste error in validateParams method.</title>
<updated>2018-12-28T08:58:46+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2018-12-28T01:43:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=24594d99bf74e1a4a58577348ab9fb979aa83ee6'/>
<id>urn:sha1:24594d99bf74e1a4a58577348ab9fb979aa83ee6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configfile: Explicitly wipe scrypt derived key after decrypting/encrypting master key.</title>
<updated>2018-12-27T17:47:14+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2018-12-26T20:17:54+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=07c486603c42af00c81d9e76e3b0731aa986e881'/>
<id>urn:sha1:07c486603c42af00c81d9e76e3b0731aa986e881</id>
<content type='text'>
Further raises the bar for recovering keys from memory.
</content>
</entry>
<entry>
<title>configfile: add LoadAndDecrypt wrapper</title>
<updated>2018-09-08T10:40:29+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-08T10:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2bdf7d5172d3540606f098030e8ede7a3ad1dfdd'/>
<id>urn:sha1:2bdf7d5172d3540606f098030e8ede7a3ad1dfdd</id>
<content type='text'>
Callers that do not want to decrypt the masterkey should
call plain Load().

https://github.com/rfjakob/gocryptfs/issues/258
</content>
</entry>
<entry>
<title>configfile: split off masterkey decryption</title>
<updated>2018-09-08T10:19:19+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-08T10:19:19+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=09d28c293e2f4142cda8dbfee0741aee7213748d'/>
<id>urn:sha1:09d28c293e2f4142cda8dbfee0741aee7213748d</id>
<content type='text'>
Preparation for fixing https://github.com/rfjakob/gocryptfs/issues/258
</content>
</entry>
<entry>
<title>configfile: return specific error on empty input</title>
<updated>2018-09-08T10:18:26+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-08T10:18:26+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=21eaa8f164cba9fe6032a6a15de0c51ae1a16f8b'/>
<id>urn:sha1:21eaa8f164cba9fe6032a6a15de0c51ae1a16f8b</id>
<content type='text'>
Report the actual problem instead of a generic
"unexpected end of JSON input".

https://github.com/rfjakob/gocryptfs/issues/258
</content>
</entry>
<entry>
<title>configfile: drop superflous Printf</title>
<updated>2018-07-23T20:25:40+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-07-23T20:24:19+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f4a972ddf1f8002095b1e57bd93bb8894ae745f2'/>
<id>urn:sha1:f4a972ddf1f8002095b1e57bd93bb8894ae745f2</id>
<content type='text'>
Before:

  $ gocryptfs -fsck .
  LoadConfFile: ReadFile: &amp;os.PathError{Op:"open", Path:"/var/tmp/check-gocryptfs/scratchdev/gocryptfs.conf", Err:0xd}
  Cannot open config file: open /var/tmp/check-gocryptfs/scratchdev/gocryptfs.conf: permission denied

After:

  $ gocryptfs -fsck .
  Cannot open config file: open /var/tmp/check-gocryptfs/scratchdev/gocryptfs.conf: permission denied
</content>
</entry>
</feed>
