Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-05 | Drop Go 1.4 compatability code everywhere | Jakob Unterwurzacher | |
Yields a nice reduction in code size. | |||
2017-03-05 | tests: stop calling t.Fatal from example_test_helpers | Jakob Unterwurzacher | |
Calling t.Fatal immeadiately aborts the test, which means the filesystem will not get unmounted, which means test.bash will hang. | |||
2017-02-26 | tests: somewhat support testing without openssl | Jakob Unterwurzacher | |
You will still get lots of test error, but at least the tests will run. | |||
2017-02-20 | tests: adapt dir overwrite test for Go 1.8 | Jakob Unterwurzacher | |
In Go 1.8, os.Rename refuses to overwrite an empty directory. Switch to syscall.Rename, which still does the right thing. | |||
2017-02-20 | Get rid of remaining $GOPATH dependencies | Jakob Unterwurzacher | |
2017-02-16 | tests: reverse: check Access() call | Jakob Unterwurzacher | |
2017-02-16 | tests: OSX compat: wrap Stat_t atime extract | Jakob Unterwurzacher | |
Linux has st.Atim, st.Mtim, OSX hat st.Atimespec, st.Mtimespec. Reported at https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-279130217 | |||
2017-02-16 | tests: OSX compat: use OSX-style "stat -f" | Jakob Unterwurzacher | |
Reported at https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-279130217 | |||
2017-02-16 | benchmarks: OSX compat: replace /usr/bin/time with bash builtin | Jakob Unterwurzacher | |
On OSX, /usr/bin/time does not support "-f". Reported in https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-279130217 . | |||
2017-02-16 | tests: get rid of syscall.PathMax | Jakob Unterwurzacher | |
Does not exist on OSX Reported in https://github.com/rfjakob/gocryptfs/issues/15 | |||
2017-02-15 | tests: use fuse-unmount.bash | Jakob Unterwurzacher | |
...instead of having separate compatability logic. | |||
2017-02-15 | OSX compat: replace fusermount calls with fuse-unmount.bash | Jakob Unterwurzacher | |
Mac OS X does not have fusermount and uses umount instead. The fuse-unmount.bash calls the appropriate command. | |||
2017-02-12 | Check for trailing garbage after the password | Jakob Unterwurzacher | |
From the comment: // CheckTrailingGarbage tries to read one byte from stdin and exits with a // fatal error if the read returns any data. // This is meant to be called after reading the password, when there is no more // data expected. This helps to catch problems with third-party tools that // interface with gocryptfs. | |||
2017-02-12 | tests: ctlsock: check warning for non-canonical paths | Jakob Unterwurzacher | |
2017-01-26 | tests: add TestLongLink (currently broken) | Jakob Unterwurzacher | |
2017-01-03 | tests: only check the size in dl-linux-tarball.bash | Jakob Unterwurzacher | |
Getting rid of the MD5 calculation makes calling the script virtually free, where it took 0.2 seconds before. | |||
2017-01-03 | tests: factor out dl-linux-tarball.bash | Jakob Unterwurzacher | |
This will be also used by the reverse benchmarks. | |||
2016-12-13 | benchmark.bash: OSX dd does not support "K" postfix | Jakob Unterwurzacher | |
2016-12-10 | ctlsock: sanitize paths before passing them to the backend | Jakob Unterwurzacher | |
You used to be able to crash gocryptfs by passing "/foo" of "foo/" to the ctlsock. Fixes https://github.com/rfjakob/gocryptfs/issues/66 | |||
2016-11-26 | tests: don't call t.Fatal in checkExampleFS | Jakob Unterwurzacher | |
Calling t.Fatal means that the parent test has no chance to clean up. | |||
2016-11-26 | benchmark.bash: double write length | Jakob Unterwurzacher | |
Writing 1000 128KB blocks takes only 1 second and yielded inconsistent results. With 2000, things look saner. | |||
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-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 | 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-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 | tests: add raw64 tests | Jakob Unterwurzacher | |
Also, use "%#v" instead of JSON for debug output. This means we can unexport all fields. | |||
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-25 | tests: fetch the example tarball from cdn.kernel.org | Jakob Unterwurzacher | |
www.kernel.org is painfully slow at times. | |||
2016-10-24 | Fix misspellings | Jakob Unterwurzacher | |
Close https://github.com/rfjakob/gocryptfs/issues/54 | |||
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 | tests: fix stdin password change test | Jakob Unterwurzacher | |
It was actually testing extpass a second time. | |||
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 | 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-10 | main: show "-o" in the help text | Jakob Unterwurzacher | |
Binds it to a dummy variable so it appears in the help text. | |||
2016-10-09 | tests: add test for "mountpoint shadows cipherdir" logic | Jakob Unterwurzacher | |
2016-10-08 | reverse: gocryptfs.conf was missing from the directory listings | Jakob Unterwurzacher | |
Fix the test for that and add checks in example_filesystems_test. | |||
2016-10-08 | tests: add v1.1-reverse-plaintextnames example filesystem | Jakob Unterwurzacher | |
2016-10-08 | tests: add v1.1-reverse example filesystem | Jakob Unterwurzacher | |
2016-10-08 | tests: add v1.1-aessiv example filesystem | Jakob Unterwurzacher | |
Also move the example content into "content". | |||
2016-10-08 | reverse: make gocryptfs.conf mapping plaintextnames-aware | Jakob Unterwurzacher | |
Only in plaintextnames-mode AND with the config file at the default location it will be mapped into the mountpoint. Also adds a test for that. |