Age | Commit message (Collapse) | Author |
|
Our git version is v2+ for some time now, but go.mod
still declared v1. Hopefully making both match makes
https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work.
All the import paths have been fixed like this:
find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/%
|
|
Close https://github.com/rfjakob/gocryptfs/issues/54
|
|
tlog is used heavily everywhere and deserves a shorter name.
Renamed using sed magic, without any manual rework:
find * -type f -exec sed -i 's/toggledlog/tlog/g' {} +
|
|
Several fatal errors were just printed to stdout, which
meant they were invisible when running the test suite.
Fix this by introducing toggledlog.Fatal and convert as
follows:
Fatal errors -> toggledlog.Fatal
Warnings -> toggledlog.Warn
Password prompts -> fmt.Fprintf
|
|
No more string matching on the parent command line!
|
|
|
|
Commit af923d2d16e0eedc7d2c203e28a42b6af49a51f5 broke daemonization.
Revert the change but get rid of the warning message when running
in the foreground.
|
|
This matches waitForUsr1 in daemonize()
|