Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2016-12-13 | benchmark.bash: reject "-openssl" option for encfs mode | Jakob Unterwurzacher | |
2016-12-13 | benchmark.bash: add proper argument handling | Jakob Unterwurzacher | |
2016-12-13 | benchmark.bash: OSX dd does not support "K" postfix | Jakob Unterwurzacher | |
2016-12-10 | benchmark.bash: add comments to show how to force openssl usage | Jakob Unterwurzacher | |
2016-12-10 | prefer_openssl: default to Go GCM on OSX | Jakob Unterwurzacher | |
2016-12-10 | ctlsock: abort the connection if the request is too big | Jakob Unterwurzacher | |
Reading partial JSON would cause a mess. Just kill the connection. Also, stop using syscall.PathMax that is not defined on Darwin ( https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-264253024 ) | |||
2016-12-10 | ctlsock: add a note about Accept() throwing errors on Close() | Jakob Unterwurzacher | |
2016-12-10 | ctlsock: exit early if socket cannot be created; delete on exit | Jakob Unterwurzacher | |
Both are achieved by opening the socket from main and passing it to the ctlsock package instead of passing the path. | |||
2016-12-10 | test.bash: call vet early | Jakob Unterwurzacher | |
2016-12-10 | stupidgcm: Fix without_openssl build failure | Jakob Unterwurzacher | |
Also, always call build-without-openssl.bash from test.bash. Failure was: internal/stupidgcm/without_openssl.go:29: missing return at end of function | |||
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-12-10 | ctlsock: exit if socket cannot be created | Jakob Unterwurzacher | |
2016-12-10 | test.bash: check for naked "panic()" calls | Jakob Unterwurzacher | |
2016-12-10 | Replace all calls to naked panic() with log.Panic() | Jakob Unterwurzacher | |
We want all panics to show up in the syslog. | |||
2016-12-06 | build-without-openssl: compile statically | Jakob Unterwurzacher | |
$ ldd gocryptfs not a dynamic executable $ file gocryptfs gocryptfs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped | |||
2016-12-04 | README: v1.2 includes the rendered man page in the tarballv1.2 | Jakob Unterwurzacher | |
2016-12-04 | Update README for v1.2 release | Jakob Unterwurzacher | |
2016-11-28 | fusefrontend: preserve owner for symlinks | Jakob Unterwurzacher | |
https://github.com/rfjakob/gocryptfs/issues/64 | |||
2016-11-28 | fusefronted: preserve owner for device nodes and sockets | Jakob Unterwurzacher | |
https://github.com/rfjakob/gocryptfs/issues/64 | |||
2016-11-28 | fusefrontend: use Lchown when preserving owner | Jakob Unterwurzacher | |
This prevents (unlikely) symlink race attacks | |||
2016-11-26 | main: fix USR1 race condition, fixes test flakiness | Jakob Unterwurzacher | |
We could have gotten the signal before the handler was ready, which caused the process to wait indefinitely. This was the reason test.bash sometimes hung. | |||
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 | test.bash: lock against multiple parallel incovations | Jakob Unterwurzacher | |
Running multiple test.bash in parallel causes all kinds of mayham. | |||
2016-11-26 | Add write coalescing and -noprealloc to changelog | Jakob Unterwurzacher | |