Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2016-10-08 | tests: pass "-nosyslog" | Jakob Unterwurzacher | |
We want to see panics and warnings on the console | |||
2016-10-08 | tests: invert ResetTmpDir argument | Jakob Unterwurzacher | |
As reverse also does not want a diriv file, the "plaintextNames" argument became a misnomer. | |||
2016-10-08 | tests: matrix: have the testcase struct as a global variable | Jakob Unterwurzacher | |
Future tests will need more info about the running test case. | |||
2016-10-08 | tests: matrix: convert to table-based style | Jakob Unterwurzacher | |
And add AES-SIV | |||
2016-10-06 | main: add "-nonempty" option | Jakob Unterwurzacher | |
2016-10-04 | lint fixes | Valient Gough | |
2016-10-04 | tests: skip tests with -openssl=false on Go 1.4 and lower | Jakob Unterwurzacher | |
Go versions 1.4 and lower lack NewGCMWithNonceSize(), which causes a panic in the test. | |||
2016-10-04 | tests: symlink to "/" instead of "/etc/motd" | Jakob Unterwurzacher | |
This file does not exist on all systems, causing spurious test failures. See #40, #43 | |||
2016-10-04 | tests: fallocate: skip some disk usage checks on btrfs | Jakob Unterwurzacher | |
The expected allocated sizes are verified for tmpfs and ext4. btrfs gives different results, but that's not an error. Also, simplify test_helpers.Du and several code paths. Fixes #43. | |||
2016-10-04 | maxlen.bash: result was 1 too high | Jakob Unterwurzacher | |
Additionally, output 0 instead of 7 on permission errors. | |||
2016-09-26 | reverse: switch from GCM-SIV to AES-SIVv1.1-beta1 | Jakob Unterwurzacher | |
GCM-SIV is not yet finalized, and the reference implemenation is painfully slow at about 2 MB/s. Switch to AES-SIV. | |||
2016-09-25 | tests: add reverse linux tarball test | Jakob Unterwurzacher | |