summaryrefslogtreecommitdiff
path: root/main.go
AgeCommit message (Collapse)Author
2015-11-29Handle all operations except mounting without forking a childJakob Unterwurzacher
This saves 170ms for each start (why do we take 170ms to start up?) and cuts down test time by 2 seconds.
2015-11-29Add "-scryptn" option that sets the cost parameter for scryptv0.5-rc1Jakob Unterwurzacher
Use that option to speed up the automated tests by 7 seconds. Before: ok github.com/rfjakob/gocryptfs/integration_tests 26.667s After: ok github.com/rfjakob/gocryptfs/integration_tests 19.534s
2015-11-28diriv: also support old CBC symlinkJakob Unterwurzacher
2015-11-28diriv: use "DirIV" flag to discern and support mounting old filesystemsJakob Unterwurzacher
2015-11-27main: pass args struct instead of having a huge function callJakob Unterwurzacher
2015-11-27Run go fmtJakob Unterwurzacher
2015-11-27diriv: Define "DirIV" feature flagJakob Unterwurzacher
(unused so far)
2015-11-25diriv: Create gocryptfs.diriv in every directoryJakob Unterwurzacher
2015-11-25Print newline after gocryptfs.conf not found errorJakob Unterwurzacher
2015-11-15Move "Debug output enabled" after forkChild() to remove duplicate outputJakob Unterwurzacher
2015-11-15Add "-extpass" cli option and associated testsJakob Unterwurzacher
2015-11-14MANPAGE: add "-config" flagJakob Unterwurzacher
Also, "-plaintextnames" can be used with -zerokey. Fix the incorrect description.
2015-11-14Refactor cli argument handlingJakob Unterwurzacher
Also, add the "-config" option for storing gocryptfs.conf outside of CIPHERDIR.
2015-11-14README: add beta badge and update textJakob Unterwurzacher
Also, improve the help text.
2015-11-14Run go fmt and go vetJakob Unterwurzacher
2015-11-09Also hide master key reminder with "-q"Jakob Unterwurzacher
Also fix missing newline after password prompt
2015-11-09Use new arg "-notifypid" for more robust daemonizationJakob Unterwurzacher
No more string matching on the parent command line!
2015-11-09cli: Create our own FlagSet so we can set the policy to ExitOnErrorJakob Unterwurzacher
2015-11-09Add "-q" (quiet) flagJakob Unterwurzacher
2015-11-03tests: check that the filename encryption is working as expectedJakob Unterwurzacher
Also check that the "gocryptfs.conf" path filtering is working as expected
2015-11-03config: Introduce ext4-style feature flagsJakob Unterwurzacher
// List of feature flags this filesystem has enabled. // If gocryptfs encounters a feature flag it does not support, it will refuse // mounting. This mechanism is analogous to the ext4 feature flags that are // stored in the superblock. FeatureFlags []string
2015-11-03Update USAGE.txtJakob Unterwurzacher
Also run go fmt
2015-11-03Implement PlainTextNames modeJakob Unterwurzacher
Also, forbid access to "gocryptfs.conf" in the root dir.
2015-11-02Add "--plaintextnames" optionJakob Unterwurzacher
Also, gather all the command line arguments into an anonymous struct "args".
2015-11-02Fix three "golint" nitpicksJakob Unterwurzacher
2015-11-01Fix daemonization regressionJakob Unterwurzacher
Commit af923d2d16e0eedc7d2c203e28a42b6af49a51f5 broke daemonization. Revert the change but get rid of the warning message when running in the foreground.
2015-11-01Bake version string into binary, add "--version" switchJakob Unterwurzacher
Example: ./gocryptfs -version gocryptfs v0.2-20-gabcef9e-dirty; on-disk format 1 Note that you MUST compile using "./build.bash" for this to work.
2015-11-01Automatically lazy-unmount when we get SIGINT or SIGTERMJakob Unterwurzacher
This hides the dangling "Transport endpoint is not connected" mountpoint for everyone but processes that have file open inside the mountpoint.
2015-11-01Remove code detected by "deadcode"Jakob Unterwurzacher
go get github.com/remyoudompheng/go-misc/deadcode
2015-10-11Run gofmtv0.2Jakob Unterwurzacher
2015-10-11main: check directories for existence earlyJakob Unterwurzacher
This prevents that the user enters the password only to get an error later.
2015-10-11Add native daemonizationJakob Unterwurzacher
2015-10-11Rename sendSig to sendUsr1Jakob Unterwurzacher
This matches waitForUsr1 in daemonize()
2015-10-11Move main files to top level dirJakob Unterwurzacher
This is in preparation of getting rid of the shell wrapper
2015-10-05Move main binary to gocryptfs_mainJakob Unterwurzacher
That way the wrapper shell script can be named just "gocryptfs"
2015-10-04Enable ClientInodes so hard links workJakob Unterwurzacher
Fixes xfstests generic/002
2015-10-04Run go fmtJakob Unterwurzacher
2015-10-04Remove ClueFS frontendJakob Unterwurzacher
Development has focused on PathFS for some time now and things are working well.
2015-09-19Set Fileystem and Type values shown in "df -T" and friendsJakob Unterwurzacher
Filesystem is set to CIPHERDIR, Type is set to fuse.gocryptfs
2015-09-18Add --cpuprofile flagJakob Unterwurzacher
2015-09-16Set GOMAXPROCS = 4Jakob Unterwurzacher
Immediate speedup from 70MB/s to 80MB/s on streaming write. Enables later parallelization.
2015-09-16Fix symlink size reportingJakob Unterwurzacher
2015-09-15Add "--zerokey" option to simplify testing and benchmarkingJakob Unterwurzacher
2015-09-14init: Check if dir is empty part II (done)Jakob Unterwurzacher
2015-09-13init: Check if dir is empty part IJakob Unterwurzacher
2015-09-13Implement password handlingJakob Unterwurzacher
2015-09-13Encrypt key with scrypt-hashed passwordJakob Unterwurzacher
2015-09-13Friendlier error message if gocryptfs.conf does not existJakob Unterwurzacher
2015-09-13Implement json config storage (not yet encrypted)Jakob Unterwurzacher
2015-09-09Fix File.GettAttr() size reportingJakob Unterwurzacher
The too-large reported value broke mmap (applications saw appended zero bytes) Also * Add locking for all fd operations * Add "--debug" command line switch