<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/cli, branch v2.2.1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.2.1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-08-30T09:31:01+00:00</updated>
<entry>
<title>Unbreak hyperlinks broken by go mod v2 conversion</title>
<updated>2021-08-30T09:31:01+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-30T09:31:01+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=34d8a498c4899b1493f7bea16c22486d6725c9b1'/>
<id>urn:sha1:34d8a498c4899b1493f7bea16c22486d6725c9b1</id>
<content type='text'>
Commit

  69d88505fd7f4cb0d9e4f1918de296342fe05858 go mod: declare module version v2

translated all instances of "github.com/rfjakob/gocryptfs/" to
"github.com/rfjakob/gocryptfs/v2/".

Unfortunately, this included hyperlinks.

Unbreak the hyperlinks like this:

  find . -name \*.go | xargs sed -i s%https://github.com/rfjakob/gocryptfs/v2/%https://github.com/rfjakob/gocryptfs/v2/%
</content>
</entry>
<entry>
<title>tests/cli: add -xchacha tests</title>
<updated>2021-08-23T14:17:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-23T14:17:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b12ad292d4dfef1c00567fe3def7e73461d3c217'/>
<id>urn:sha1:b12ad292d4dfef1c00567fe3def7e73461d3c217</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test/cli: actually run TestZerokey</title>
<updated>2021-08-23T13:17:04+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-23T13:17:04+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b02812f8b3609403e36c0c182fd2f01537dd6e82'/>
<id>urn:sha1:b02812f8b3609403e36c0c182fd2f01537dd6e82</id>
<content type='text'>
As the filename did not end in _test.go, TestZerokey
was not actually run. Fix that.
	renamed:    tests/cli/zerokey.go -&gt; tests/cli/zerokey_test.go
</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>-deterministic-names: implement for reverse mode, too</title>
<updated>2021-08-20T15:06:18+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-20T15:06:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=fbccb160438aba6f1e16b26a982122c726afee1a'/>
<id>urn:sha1:fbccb160438aba6f1e16b26a982122c726afee1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>-deterministic-names: accept flag on -init</title>
<updated>2021-08-20T13:57:40+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-20T13:57:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2a9dea2973a6141e8efdf8bd26d8ddb2d2c35fc4'/>
<id>urn:sha1:2a9dea2973a6141e8efdf8bd26d8ddb2d2c35fc4</id>
<content type='text'>
And store it in gocryptfs.conf (=remove DirIV feature flag).
</content>
</entry>
<entry>
<title>tests/cli/TestBadname: make sure case 5 is never decodable</title>
<updated>2021-08-17T13:17:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-17T13:16:09+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b8ddc49eded4d6522cd30b99b773bab56d0f9fc3'/>
<id>urn:sha1:b8ddc49eded4d6522cd30b99b773bab56d0f9fc3</id>
<content type='text'>
Sometimes, by chance, case 5 resulted in valid decrypted data:

--- FAIL: TestBadname (0.08s)
    cli_test.go:885: Case 5 failed: "J7Rbo1BvfXojpBEr0Qrt_invalid_file GOCRYPTFS_BAD_NAME" in ["file GOCRYPTFS_BAD_NAME,\x9e$O\xc3j\x8c\xd0\x06\x01#\f%k\x02\xcanvalid_file GOCRYPTFS_BAD_NAME,mzaZRF9_0IU-_5vv2wPC_invalid_file GOCRYPTFS_BAD_NAME,file,file_invalid_file GOCRYPTFS_BAD_NAME,mzaZRF9_0IU-_5vv2wP_invalid_file GOCRYPTFS_BAD_NAME"]

Add percent signs so base64 decoding always fails.

Fixes https://github.com/rfjakob/gocryptfs/runs/3347883728
</content>
</entry>
<entry>
<title>tests/cli: escape filenames in TestBadname logs</title>
<updated>2021-08-16T15:15:07+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-08-16T15:15:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ad4b99170b9ad438909f5cba8c32109a18697a7a'/>
<id>urn:sha1:ad4b99170b9ad438909f5cba8c32109a18697a7a</id>
<content type='text'>
I just got this message (not reproducible) with unescaped
binary garbage.

  UnmountErr: "/var/tmp/gocryptfs-test-parent-1026/114471933/TestMountBackground.899727687.mnt" was not found in MountInfo, cannot check for FD leaks
  UnmountErr: "/var/tmp/gocryptfs-test-parent-1026/114471933/TestConfigPipe.212912444.mnt" was not found in MountInfo, cannot check for FD leaks
  DecryptName "mzaZRF9_0IU-_5vv2wPC_i": unPad16 error: Padding too long, padLen=49 &gt; 16
  OpenDir ".": invalid entry "KqQ346cuOAFHv_qSta5PhAwrongPattern": bad message
  DecryptName "mzaZRF9_0IU-_5vv2wP_in": unPad16 error: Padding byte at i=10 is invalid
  --- FAIL: TestBadname (0.11s)
      cli_test.go:885: Case 5 failed: 'KqQ346cuOAFHv_qSta5P_invalid_file GOCRYPTFS_BAD_NAME' in [file_invalid_file GOCRYPTFS_BAD_NAME,file,mzaZRF9_0IU-_5vv2wPC_invalid_file GOCRYPTFS_BAD_NAME,file GOCRYPTFS_BAD_NAME,�*A���y���Gfnvalid_file GOCRYPTFS_BAD_NAME,mzaZRF9_0IU-_5vv2wP_invalid_file GOCRYPTFS_BAD_NAME]
  Invalid cipherdir: directory /var/tmp/gocryptfs-test-parent-1026/114471933/TestInitNotEmpty not empty
  FAIL
  FAIL	github.com/rfjakob/gocryptfs/tests/cli	4.817s
</content>
</entry>
<entry>
<title>fusefrontend: -sharedstorage: present stable inode numbers</title>
<updated>2021-07-31T11:24:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-07-31T11:24:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1bc1db620b061aabf59469a5eb4fb60e3e1701a3'/>
<id>urn:sha1:1bc1db620b061aabf59469a5eb4fb60e3e1701a3</id>
<content type='text'>
Use the Gen field (inode generation) to distinguish hard links
while passing the real inode numbers to userspace.

Fixes https://github.com/rfjakob/gocryptfs/issues/584
</content>
</entry>
<entry>
<title>nametransform: rename BadNameFlag to BadnameSuffix</title>
<updated>2021-06-21T10:12:44+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-06-21T10:12:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=05b813f2026ebe6bff33cb600775823ee8a7df6e'/>
<id>urn:sha1:05b813f2026ebe6bff33cb600775823ee8a7df6e</id>
<content type='text'>
</content>
</entry>
</feed>
