Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2016-10-19 | lint fixes | Jakob Unterwurzacher | |
2016-10-16 | fusefrontend: Utimens: one more band-aid | Jakob Unterwurzacher | |
Revert once https://github.com/hanwen/go-fuse/pull/131 is merged. | |||
2016-10-16 | tests: add test for -password -masterkey | Jakob Unterwurzacher | |
Also, make the other password tests more rigorous by verifying the fs content. | |||
2016-10-16 | main: allow password change with -masterkey | Jakob Unterwurzacher | |
Requested at https://github.com/rfjakob/gocryptfs/issues/28 | |||
2016-10-16 | tests: fix stdin password change test | Jakob Unterwurzacher | |
It was actually testing extpass a second time. | |||
2016-10-16 | main: catch "-extpass" AND "-masterkey" usage early | Jakob Unterwurzacher | |
"The options -extpass and -masterkey cannot be used at the same time" | |||
2016-10-16 | readpassword: check extpass return code | Jakob Unterwurzacher | |
...and exit if it is not zero. | |||
2016-10-16 | main: move masterkey warnings into parseMasterKey | Jakob Unterwurzacher | |
This makes sure all callers of parseMasterKey warn the user. At the moment there is only one, but another one will be added soon for forcing a password change when only the master key is known. | |||
2016-10-16 | fusefrontend: Utimens: ugly band-aid for nil pointer crash in go-fuse | Jakob Unterwurzacher | |
Crash is described at https://github.com/rfjakob/gocryptfs/issues/48 . Revert this once https://github.com/hanwen/go-fuse/pull/131 is merged. | |||
2016-10-16 | tests: verify that UTIME_OMIT works | Jakob Unterwurzacher | |
It currently does not and even causes a crash due to a bug in go-fuse. Also converts the test to table-based. | |||
2016-10-16 | tests: deduplicate UtimesNano testing code | Jakob Unterwurzacher | |
2016-10-16 | fusefrontend: log missing gocryptfs.diriv | Jakob Unterwurzacher | |
This can happen during normal operation when the directory has been deleted concurrently. But it can also mean that the gocryptfs.diriv is missing due to an error, so log the event at "info" level. | |||
2016-10-16 | tests: split "normal" tests into "cli" and "defaults" | Jakob Unterwurzacher | |
Also fixes the failure to run the benchmarks do to the missing gocryptfs.diriv. | |||
2016-10-11 | contrib: gocryptfs-maybe: fix description | Jakob Unterwurzacher | |