Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Travis CI: also test with Go 1.8 | Jakob Unterwurzacher | |
(Currently failing the tests!) | |||
2017-02-20 | Get rid of remaining $GOPATH dependencies | Jakob Unterwurzacher | |
2017-02-20 | build.bash: use $(go env GOPATH) | Jakob Unterwurzacher | |
2017-02-19 | build.bash: deduplicate build call | Jakob Unterwurzacher | |
2017-02-19 | build.bash: GOPATH may be unset since Go v1.8. Handle it. | Jakob Unterwurzacher | |
2017-02-17 | tests.bash: OSX compat: use "flock -n" and skip openssl build | Jakob Unterwurzacher | |
Mac OS X flock does not support "--nonblock", but does support "-n": https://github.com/discoteq/flock/blob/master/man/flock.1.ronn Skip the openssl build because it requires 1) openssl 2) fixing the import paths in gocryptfs Reported at https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-280464400 | |||
2017-02-16 | Travis: set clone depth to 100 | Jakob Unterwurzacher | |
Otherwise the build fails once you have more than 50 commits since the last tag. You'd get: $ ./build.bash fatal: No names found, cannot describe anything. | |||
2017-02-16 | tests: reverse: check Access() call | Jakob Unterwurzacher | |
2017-02-16 | fusefrontend_reverse: handle .name files in Access() | Jakob Unterwurzacher | |
These were currently passed to decryptPath() were it caused a warning. | |||
2017-02-16 | tests: configfile: add missing newlines in verbose output | 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 | syscallcompat: OSX compat: fix variable warnings | Jakob Unterwurzacher | |
As suggested by https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-279130217 | |||
2017-02-16 | tests: OSX compat: use "mount" command instead of /proc/mounts | Jakob Unterwurzacher | |
Mac OS X does not have /proc. 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-16 | README: also link to cppcryptfs | Jakob Unterwurzacher | |
2017-02-16 | README: mention graphical interfaces | Jakob Unterwurzacher | |
2017-02-15 | main: don't attempt lazy unmount on MacOSX | Jakob Unterwurzacher | |
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-14 | Add Mac OS X fusermount replacement script | Jakob Unterwurzacher | |
2017-02-13 | readpassword: limit password length to 1000 bytes | Jakob Unterwurzacher | |
This used to hang at 100% CPU: cat /dev/zero | gocryptfs -init a ...and would ultimately send the box into out-of-memory. The number 1000 is chosen arbitrarily and seems big enough given that the password must be one line. Suggested by @mhogomchungu in https://github.com/rfjakob/gocryptfs/issues/77 . | |||
2017-02-12 | Add CLI ABI documentation | Jakob Unterwurzacher | |
Closes https://github.com/rfjakob/gocryptfs/issues/77 | |||
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 | readpassword: improve comment on readPasswordStdin | Jakob Unterwurzacher | |
2017-02-12 | Document "--" to stop option parsing in help text + man page | Jakob Unterwurzacher | |
2017-02-12 | main: suggest "-q" to suppress master key message | Jakob Unterwurzacher | |
If the user has already saved the master key and is not aware of "-q" the master key needlessly ends up in the terminal buffer. Closes https://github.com/rfjakob/gocryptfs/issues/76 | |||
2017-02-12 | tests: ctlsock: check warning for non-canonical paths | Jakob Unterwurzacher | |
2017-02-05 | ctlsock: handle non-canonical empty paths | Jakob Unterwurzacher | |
We have to check if the input path is empty AFTER canonicalizing it, too! | |||
2017-02-05 | ctlsock: sanitize: handle multiple leading slashes | Jakob Unterwurzacher | |
2017-01-29 | golint comment fix | Jakob Unterwurzacher | |
internal/ctlsock/ctlsock_serve.go:73:1: comment on exported const ReadBufSize should be of the form "ReadBufSize ..." | |||
2017-01-29 | contrib: add ctlsock helper scripts | Jakob Unterwurzacher | |
2017-01-29 | ctlsock: better error message for forward mode path decryption | Jakob Unterwurzacher | |
2017-01-29 | ctlsock: abort message processing on JSON error | Jakob Unterwurzacher | |
The code was missing a "continue" in that branch. Also improve the error messages a bit. | |||
2017-01-29 | ctlsock: interpret paths that point above CWD as "" | Jakob Unterwurzacher | |
Paths that start with ".." were previously accepted as-is. | |||
2017-01-29 | readpassword: support spaces in "-passfile" filename | Jakob Unterwurzacher | |
...and while we are at it, also filenames starting with "-". | |||
2017-01-26 | main: add "-fsname" option | Jakob Unterwurzacher | |
As requested in https://github.com/rfjakob/gocryptfs/issues/73 . | |||
2017-01-26 | main: make sure the ctlsock file is deleted on incorrect password | Jakob Unterwurzacher | |
Otherwise the next try to mount ends in "ctlsock: listen unix ctl.sock: bind: address already in use" | |||
2017-01-26 | fusefrontend: fix hard-linking with long name | Jakob Unterwurzacher | |
This used to incorrectly try to link twice and return EEXIST. | |||
2017-01-26 | tests: add TestLongLink (currently broken) | Jakob Unterwurzacher | |
2017-01-26 | tlog: better comment for the terminal colors | Jakob Unterwurzacher | |
2017-01-03 | reverse: add single-entry path cache | Jakob Unterwurzacher | |
Speeds up the "ls -lR" benchmark from 2.6 seconds to 2.0. | |||
2017-01-03 | reverse: factor out rDecryptName | Jakob Unterwurzacher | |
This prepares the code for the introduction of a path cache. | |||
2017-01-03 | test.bash: don't let the test process inherit the lock file | Jakob Unterwurzacher | |
This meant that dangling mounts (and gocryptfs processes) kept the lock open. | |||
2017-01-03 | Add reverse benchmark | 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. | |||
2017-01-02 | main: disconnect from the controlling terminal | Jakob Unterwurzacher | |
This prevents us from getting SIGINT when the user kills the running script. |