Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-01 | v2api/reverse: implement Readdir | Jakob Unterwurzacher | |
2020-08-01 | v2api/reverse: implement Lookup & Getattr | Jakob Unterwurzacher | |
2020-08-01 | v2api/reverse: start fusefrontend_reverse v2 API implementation | Jakob Unterwurzacher | |
2020-08-01 | v2api/reverse: move old fusefrontend_reverse out of the way | Jakob Unterwurzacher | |
fusefrontend_reverse -> fusefrontend_reverse_v1api | |||
2020-08-01 | fusefrontend_reverse: collapse getFileType | Jakob Unterwurzacher | |
2020-08-01 | v2api: move helpers from node.go to node_helpers.go | Jakob Unterwurzacher | |
2020-07-26 | v2api: fix missing size translation in Lookup | Jakob Unterwurzacher | |
2020-07-26 | v2api: delete (most) fusefrontend v1 files | Jakob Unterwurzacher | |
All the functionality in these files has been reimplemented for the v2 api. Drop the old files. | |||
2020-07-23 | v2api: implement Lseek | Jakob Unterwurzacher | |
This also fixes the last remaining tests/fsck failure. | |||
2020-07-19 | v2api: Lookup: use newChild() helper | Jakob Unterwurzacher | |
2020-07-18 | v2api: Node: make Path() public | Jakob Unterwurzacher | |
Helpful for fsck. | |||
2020-07-17 | v2api: implement ctlsocksrv.Interface | Jakob Unterwurzacher | |
2020-07-14 | v2api: implement Getxattr, Setxattr, Removexattr, Listxattr | Jakob Unterwurzacher | |
gocryptfs/tests/xattr passes. | |||
2020-07-12 | v2api: Setattr: fill `out` structure | Jakob Unterwurzacher | |
2020-07-12 | v2api: fix Mkfifo | Jakob Unterwurzacher | |
2020-07-12 | v2api: properly implement Node.Setattr | Jakob Unterwurzacher | |
We used to always open a *File2 and letting the *File2 handle Setattr. This does not work it we cannot open the file! Before: $ go test 2020/07/12 20:14:57 writer: Write/Writev failed, err: 2=no such file or directory. opcode: INTERRUPT 2020/07/12 20:14:57 writer: Write/Writev failed, err: 2=no such file or directory. opcode: INTERRUPT --- FAIL: TestLchown (0.00s) matrix_test.go:634: lchown /tmp/gocryptfs-test-parent-1026/014500839/default-plain/symlink: too many levels of symbolic links touch: setting times of '/tmp/gocryptfs-test-parent-1026/014500839/default-plain/utimesnano_symlink': Too many levels of symbolic links --- FAIL: TestUtimesNanoSymlink (0.00s) matrix_test.go:655: exit status 1 --- FAIL: TestMkfifo (0.00s) matrix_test.go:755: file exists --- FAIL: TestMagicNames (0.00s) matrix_test.go:773: Testing n="gocryptfs.longname.QhUr5d9FHerwEs--muUs6_80cy6JRp89c1otLwp92Cs" matrix_test.go:773: Testing n="gocryptfs.diriv" matrix_test.go:815: open /tmp/gocryptfs-test-parent-1026/014500839/default-plain/linktarget: permission denied --- FAIL: TestChmod (0.00s) matrix_test.go:840: chmod 444 -> 000 failed: permission denied matrix_test.go:840: chmod 444 -> 111 failed: permission denied matrix_test.go:840: chmod 444 -> 123 failed: permission denied matrix_test.go:840: chmod 444 -> 321 failed: permission denied FAIL exit status 1 FAIL github.com/rfjakob/gocryptfs/tests/matrix 0.790s After: $ go test --- FAIL: TestMkfifo (0.00s) matrix_test.go:755: file exists --- FAIL: TestMagicNames (0.00s) matrix_test.go:773: Testing n="gocryptfs.longname.QhUr5d9FHerwEs--muUs6_80cy6JRp89c1otLwp92Cs" matrix_test.go:773: Testing n="gocryptfs.diriv" matrix_test.go:815: open /tmp/gocryptfs-test-parent-1026/501766059/default-plain/linktarget: permission denied --- FAIL: TestChmod (0.00s) matrix_test.go:849: modeHave 0644 != modeWant 0 FAIL exit status 1 FAIL github.com/rfjakob/gocryptfs/tests/matrix 0.787s | |||
2020-07-12 | v2api: Getattr: use file handle if passed | Jakob Unterwurzacher | |
2020-07-12 | v2api: Getattr: fix file size | Jakob Unterwurzacher | |
2020-07-12 | v2api: call InitSerializer | Jakob Unterwurzacher | |
If we don't, reads hang with -serialize_reads. | |||
2020-07-12 | v2api: fix Rename trying to overwrite itself | Jakob Unterwurzacher | |
We used to do this [pid 99182] renameat2(14, "Y_4DAxKvj1QnXmJx2AkrKA", 15, ".", RENAME_NOREPLACE <unfinished ...> which was not the intention. | |||
2020-07-12 | v2api: fix Mkdir crash when using plaintextnames | Jakob Unterwurzacher | |
2020-07-12 | v2api: fix double-lock in truncate | Jakob Unterwurzacher | |
2020-07-12 | v2api: File2: implement Release, Read, Write, Fsync, Flush, Allocate | Jakob Unterwurzacher | |
Fortunately, this just means fixing up the function signatures. | |||
2020-07-11 | v2api: fix RootNode cast | Jakob Unterwurzacher | |
2020-07-11 | v2api: fix TestOpenBackingDir | Jakob Unterwurzacher | |
2020-07-11 | v2api: implement Rename | Jakob Unterwurzacher | |
2020-07-11 | v2api: remove OpenatUserCtx, MknodatUserCtx helpers | Jakob Unterwurzacher | |
Instead, use the new toFuseCtx() function introduced in an earlier commit. | |||
2020-07-11 | v2api: implement Symlink | Jakob Unterwurzacher | |
2020-07-11 | v2api: implement Link | Jakob Unterwurzacher | |
2020-07-11 | v2api: implement Mknod | Jakob Unterwurzacher | |
2020-07-11 | v2api: implement Statfs | Jakob Unterwurzacher | |
2020-07-05 | v2api: list interfaces to be implemented | Jakob Unterwurzacher | |
2020-07-05 | v2api: implement Setattr | Jakob Unterwurzacher | |
2020-07-05 | v2api: implement Opendir | Jakob Unterwurzacher | |
2020-07-04 | v2api: merge openBackingDir into root_node.go | Jakob Unterwurzacher | |
2020-07-04 | v2api: implement Open() | Jakob Unterwurzacher | |
2020-07-04 | v2api: add prepareAtSyscall helper | Jakob Unterwurzacher | |
2020-07-04 | v2api: implement Readlink | Jakob Unterwurzacher | |
2020-06-21 | v2api: implement Unlink | Jakob Unterwurzacher | |
2020-06-21 | v2api: implement Rmdir | Jakob Unterwurzacher | |
2020-06-21 | v2api: implement Mkdir | Jakob Unterwurzacher | |
2020-06-21 | v2api: implement Create | Jakob Unterwurzacher | |
2020-06-21 | v2api: collect RootNode code in root_node.go | Jakob Unterwurzacher | |
2020-06-21 | v2api: implement GetAttr and Readdir | Jakob Unterwurzacher | |
2020-06-21 | v2api: implement Lookup() | Jakob Unterwurzacher | |
Compiles, but untested otherwise. No caching. | |||
2020-06-21 | inomap: clarify TranslateStat function comment | Jakob Unterwurzacher | |
Also, fix the namespaceMap comment. | |||
2020-06-21 | v2api (go-fuse v2 api): initial noop implementation | Jakob Unterwurzacher | |
Compiles and mounts but does nothing useful. | |||
2020-06-06 | badname: stop trying to decrypt at length 22 | Jakob Unterwurzacher | |
At least 16 bytes due to AES --> at least 22 characters in base64 | |||
2020-06-06 | Added auto decryption of invalid file names | DerDonut | |
Changed invalid file decoding and decryption. Function DecryptName now shortens the filename until the filename is decodable and decryptable. Will work with valid **and** invalid Base64URL delimiter (valid delimiter [0-9a-zA-z_\\-]. If the filename is not decryptable at all, it returns the original cipher name with flag suffix Changed cli tests to generate decryptable and undecryptable file names with correct encrypted content. Replacing #474, extends #393 | |||
2020-05-24 | Revert "fusefrontend: don't always clear the dircache in Rename" | Jakob Unterwurzacher | |
As noticed by @slackner in https://github.com/rfjakob/gocryptfs/commit/cb8872577d66ff0fc38bcd70493be06bc0f34ffa#commitcomment-39405233 , this is not safe. This reverts commit cb8872577d66ff0fc38bcd70493be06bc0f34ffa. |