| Age | Commit message (Collapse) | Author | 
 | 
We have to check if the input path is empty AFTER canonicalizing it,
too!
 | 
 | 
 | 
 | 
internal/ctlsock/ctlsock_serve.go:73:1: comment on exported const
ReadBufSize should be of the form "ReadBufSize ..."
 | 
 | 
The code was missing a "continue" in that branch.
Also improve the error messages a bit.
 | 
 | 
Paths that start with ".." were previously accepted as-is.
 | 
 | 
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 )
 | 
 | 
 | 
 | 
Both are achieved by opening the socket from main and passing
it to the ctlsock package instead of passing the path.
 | 
 | 
You used to be able to crash gocryptfs by passing "/foo"
of "foo/" to the ctlsock.
Fixes https://github.com/rfjakob/gocryptfs/issues/66
 | 
 | 
At the moment, in forward mode you can only encrypt paths
and in reverse mode you can only decrypt paths.
 |