Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-17 | Fix golint warnings, add helper script | Jakob Unterwurzacher | |
2016-11-17 | README: start list for v1.2 | Jakob Unterwurzacher | |
2016-11-17 | tests: rename fsstress-loopback.bash to fsstress-gocryptfs.bash | Jakob Unterwurzacher | |
The primary use is testing gocryptfs, after all. | |||
2016-11-17 | tests: add OpenTruncateRead test | Jakob Unterwurzacher | |
This is a regression test for the issue that was fixed by the last commit. | |||
2016-11-17 | fusefrontend: get the file ID from the open files table | Jakob Unterwurzacher | |
This fixes the problem that a truncate can reset the file ID without the other open FDs noticing it. | |||
2016-11-17 | fusefrontend: upgrade wlockMap to use device AND inode number | Jakob Unterwurzacher | |
If there are multiple filesystems backing the gocryptfs filesystems inode numbers are not guaranteed to be unique. | |||
2016-11-11 | MANPAGE: document ctlsock | Jakob Unterwurzacher | |
2016-11-10 | ctlsock: prevent panic on invalid decrypt request | Jakob Unterwurzacher | |
2016-11-10 | tests: allow overriding hardcoded arguments in Mount helper | Jakob Unterwurzacher | |
2016-11-10 | ctlsock: implement EncryptPath for reverse mode, add tests | Jakob Unterwurzacher | |
2016-11-10 | reverse: fix longname decoding bug | Jakob Unterwurzacher | |
This could have caused spurious ENOENT errors. That it did not cause these errors all the time is interesting and probably because an earlier readdir would place the entry in the cache. This masks the bug. | |||
2016-11-10 | Fix golint warnings | Jakob Unterwurzacher | |
$ golint ./... | grep -v underscore | grep -v ALL_CAPS internal/fusefrontend_reverse/rfs.go:52:36: exported func NewFS returns unexported type *fusefrontend_reverse.reverseFS, which can be annoying to use internal/nametransform/raw64_go1.5.go:10:2: exported const HaveRaw64 should have comment (or a comment on this block) or be unexported | |||
2016-11-10 | ctlsock: add initial limited implementation | Jakob Unterwurzacher | |
At the moment, in forward mode you can only encrypt paths and in reverse mode you can only decrypt paths. | |||
2016-11-09 | nametransform: get rid of leading "./" | Jakob Unterwurzacher | |
Paths in the root directory were encrypted to this: foobar -> ./N9vPc0gXUY4PDSt0-muYXQ== | |||
2016-11-06 | nametransform: nicer error message on empty gocryptfs.diriv | Jakob Unterwurzacher | |
Old: Nov 06 13:34:38 brikett gocryptfs[16228]: ReadDirIVAt: Read failed: EOF Nov 06 13:34:38 brikett gocryptfs[16228]: go-fuse: can't convert error type: EOF New: Nov 06 14:08:43 brikett gocryptfs[17361]: ReadDirIVAt: wanted 16 bytes, got 0. Returning EINVAL. | |||
2016-11-01 | Add Go 1.4 compatibility layer for raw64 | Jakob Unterwurzacher | |
Using raw64 will not work, but at least it will compile. | |||
2016-11-01 | main: fix comments that reference "-f" | Jakob Unterwurzacher | |
2016-11-01 | main: rename "-f" to "-fg" | Jakob Unterwurzacher | |
"-f" looks too much like "--force". The old variant is still accepted for compatability. | |||
2016-11-01 | MANPAGE: document -raw64 | Jakob Unterwurzacher | |
2016-11-01 | Add support for unpadded base64 filenames, "-raw64" | Jakob Unterwurzacher | |
Through base64.RawURLEncoding. New command-line parameter "-raw64". | |||
2016-11-01 | tests: add raw64 tests | Jakob Unterwurzacher | |
Also, use "%#v" instead of JSON for debug output. This means we can unexport all fields. | |||
2016-11-01 | MANPAGE: update version field description | Jakob Unterwurzacher | |
2016-11-01 | main: print "args" slightly prettier | Jakob Unterwurzacher | |
2016-11-01 | MANPAGE: add reverse example, move "-o" into alphabetical list | Jakob Unterwurzacher | |
People will search for "-o" alphabetically, so put it into the alphabetical option list, even if it is not a real option. | |||
2016-11-01 | packakge.bash: include rendered man page in tarball | Jakob Unterwurzacher | |
2016-11-01 | fusefronted: expire dir IV cache after one second | Jakob Unterwurzacher | |
The Back In Time backup tool (https://github.com/bit-team/backintime) wants to write directly into the ciphertext dir. This may cause the cached directory IV to become out-of-date. Having an expiry time limits the inconstency to one second, like attr_timeout does for the kernel getattr cache. | |||
2016-11-01 | fusefrontend: refactor dirIVCache | Jakob Unterwurzacher | |
Simplify the code a bit. | |||
2016-10-30 | README: fix "15#" typo | Jakob Unterwurzacher | |
2016-10-30 | Update README for v1.1.1v1.1.1 | Jakob Unterwurzacher | |
2016-10-30 | fusefrontend: drop atime workarounds | Jakob Unterwurzacher | |
The fix at https://github.com/hanwen/go-fuse/pull/131 has been merged. Drop the workarounds and re-enable the tests. | |||
2016-10-30 | build.bash: rename "GOPATH2" to "GOPATH1" | Jakob Unterwurzacher | |
It's the 1st component of GOPATH, so call it like that. | |||
2016-10-30 | build.bash: abort if we hit a known-bad go-fuse version | Jakob Unterwurzacher | |
Also, standardize to "if [[ ]] ; then" style. | |||
2016-10-28 | fusefronted: more concise corrupt block log message | Jakob Unterwurzacher | |
Calculating the block offset is easy enough, even more now that gocryptfs-xray exists. | |||
2016-10-28 | fusefrontend: I/O error instead of panic on all-zero nonce | Jakob Unterwurzacher | |
Running xfstests generic/075 on tmpfs often triggered a panic for what seems to be a tmpfs bug. Quoting from the email to lkml, http://www.spinics.net/lists/kernel/msg2370127.html : tmpfs seems to be incorrectly returning 0-bytes when reading from a file that is concurrently being truncated. | |||
2016-10-28 | main: redirect panics to /tmp/gocryptfs_panic.NNNN | Jakob Unterwurzacher | |
Redirect stdout and stderr to /tmp/gocryptfs_paniclog.NNNNNN instead of closing them so users have a chance to get the backtrace on a panic. This only applies if "-nosyslog" is NOT set. Panics will go to terminal as usual if it is. | |||
2016-10-28 | fusefronted: optimize NFS streaming writes by saving one Stat() | Jakob Unterwurzacher | |
Stat() calls are expensive on NFS as they need a full network round-trip. We detect when a write immediately follows the last one and skip the Stat in this case because the write cannot create a file hole. On my (slow) NAS, this takes the write speed from 24MB/s to 41MB/s. | |||
2016-10-25 | tests: fetch the example tarball from cdn.kernel.org | Jakob Unterwurzacher | |
www.kernel.org is painfully slow at times. | |||
2016-10-25 | fusefrontend: move hole padding check out of Write() | Jakob Unterwurzacher | |
The details of the hole handling don't have to be in Write, so move it away. | |||
2016-10-25 | fusefrontend: rename "createsHole" to clearer "createsCiphertextHole" | Jakob Unterwurzacher | |
...and add comments for what is happening. | |||
2016-10-24 | Run cli_args_test.go through "gofmt -s" | Jakob Unterwurzacher | |
2016-10-24 | README: make badges not take vertical space | rfjakob | |
2016-10-24 | README: add Go report card badge | rfjakob | |
2016-10-24 | Fix misspellings | Jakob Unterwurzacher | |
Close https://github.com/rfjakob/gocryptfs/issues/54 | |||
2016-10-21 | README: note the name of the AESSIV feature flag. | Jakob Unterwurzacher | |
2016-10-21 | configfile: add newline at the end | Jakob Unterwurzacher | |
For convenience for the user, add a newline at the end. Reported as #51 . | |||
2016-10-21 | MANPAGE: prettify plain-text formatting | Jakob Unterwurzacher | |
2016-10-19 | Update README for v1.1v1.1 | Jakob Unterwurzacher | |
2016-10-19 | tests: add example tar | Jakob Unterwurzacher | |
2016-10-19 | tests: fix forgotten variable rename | Jakob Unterwurzacher | |
2016-10-19 | tests: add 1980.tar.gz extract test | Jakob Unterwurzacher | |
Test that we get the right timestamp when extracting a tarball. Also simplify the workaround in doTestUtimesNano() and fix the fact that it was running no test at all. |