<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/readpassword/extpass_test.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>2022-01-03T14:18:59+00:00</updated>
<entry>
<title>readpassword: bubble up errors instead of exiting the process</title>
<updated>2022-01-03T14:18:59+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2022-01-03T14:18:59+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4b251f3ce1f0a0472ed10a00aeef70c69ba03a5d'/>
<id>urn:sha1:4b251f3ce1f0a0472ed10a00aeef70c69ba03a5d</id>
<content type='text'>
This allows cleanups to happen in the caller, like removing
the control socket.

Fixes https://github.com/rfjakob/gocryptfs/issues/634
</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>golangci-lint: fix issues found by "unused" and "deadcode"</title>
<updated>2021-08-19T06:34:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-19T06:31:53+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=be2bd4eec7de3836da56a3532ecbcf45a127ece2'/>
<id>urn:sha1:be2bd4eec7de3836da56a3532ecbcf45a127ece2</id>
<content type='text'>
Except xattrSupported, this is a false positive.

$ golangci-lint run --disable-all --enable unused --enable deadcode
gocryptfs-xray/xray_main.go:24:5: `GitVersionFuse` is unused (deadcode)
var GitVersionFuse = "[GitVersionFuse not set - please compile using ./build.bash]"
    ^
tests/symlink_race/main.go:47:6: `chmodLoop` is unused (deadcode)
func chmodLoop() {
     ^
internal/readpassword/extpass_test.go:11:5: `testPw` is unused (deadcode)
var testPw = []byte("test")
    ^
tests/reverse/xattr_test.go:13:6: func `xattrSupported` is unused (unused)
func xattrSupported(path string) bool {
     ^
internal/fusefrontend_reverse/rpath.go:20:22: func `(*RootNode).abs` is unused (unused)
func (rfs *RootNode) abs(relPath string, err error) (string, error) {
                     ^
tests/matrix/matrix_test.go:310:6: `sContains` is unused (deadcode)
func sContains(haystack []string, needle string) bool {
</content>
</entry>
<entry>
<title>main: accept multiple -passfile options</title>
<updated>2020-05-17T17:31:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-17T17:31:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=416080203b4dd79de857eaf7c7cc97d050e00a9f'/>
<id>urn:sha1:416080203b4dd79de857eaf7c7cc97d050e00a9f</id>
<content type='text'>
Each file will be read and then concatenated
for the effictive password. This can be used as a
kind of multi-factor authenticiton.

Fixes https://github.com/rfjakob/gocryptfs/issues/288
</content>
</entry>
<entry>
<title>Allow multiple -extpass arguments</title>
<updated>2019-03-03T12:25:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-03-03T12:25:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=cf27037f20723e934320edeff7f8aa356bdca467'/>
<id>urn:sha1:cf27037f20723e934320edeff7f8aa356bdca467</id>
<content type='text'>
To support arguments containing spaces, -extpass can now
be passed multiple times.

https://github.com/rfjakob/gocryptfs/issues/289
</content>
</entry>
<entry>
<title>passfile: directly read file instead of invoking cat</title>
<updated>2018-12-15T16:09:38+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-12-15T16:09:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=295d432175292dbaef572093d784aab55f5c0b8f'/>
<id>urn:sha1:295d432175292dbaef572093d784aab55f5c0b8f</id>
<content type='text'>
Allows better error handling, gets rid of the call to an
external program, and fixes https://github.com/rfjakob/gocryptfs/issues/278 .
</content>
</entry>
<entry>
<title>Add `-masterkey=stdin` functionality</title>
<updated>2018-03-21T23:02:10+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-21T23:02:10+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9bc039a4bac6b51d9ebe116de5c311e90343a088'/>
<id>urn:sha1:9bc039a4bac6b51d9ebe116de5c311e90343a088</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/218
</content>
</entry>
<entry>
<title>readpassword: convert from string to []byte</title>
<updated>2018-02-18T13:26:54+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-02-18T13:26:54+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3b8f5cbb17c964224456bb36b096feafb0e24f44'/>
<id>urn:sha1:3b8f5cbb17c964224456bb36b096feafb0e24f44</id>
<content type='text'>
This will allows us to overwrite the password
with zeros once we are done with it.

https://github.com/rfjakob/gocryptfs/issues/211
</content>
</entry>
<entry>
<title>tests: exit with correct error code from TestMain</title>
<updated>2016-06-16T19:56:23+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-16T19:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=96750a7d3c52b75d13d6f3ed46bd48af28acebcd'/>
<id>urn:sha1:96750a7d3c52b75d13d6f3ed46bd48af28acebcd</id>
<content type='text'>
extpass_test and example_filesystems_test did it wrong,
always returning 0.
</content>
</entry>
<entry>
<title>Rename internal "toggledlog" package to "tlog"</title>
<updated>2016-06-15T21:30:44+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-15T21:30:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6c3f97399a01a2d8480b39978209099335efbf7d'/>
<id>urn:sha1:6c3f97399a01a2d8480b39978209099335efbf7d</id>
<content type='text'>
tlog is used heavily everywhere and deserves a shorter name.

Renamed using sed magic, without any manual rework:

   find * -type f -exec sed -i 's/toggledlog/tlog/g' {} +
</content>
</entry>
</feed>
