aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-03Update README with v0.4Jakob Unterwurzacher
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-02Bump on-disk version to 2Jakob Unterwurzacher
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-02Add USAGE.txtJakob Unterwurzacher
2015-11-01package.bash: add architecture to filenameJakob Unterwurzacher
Example: gocryptfs_v0.3-1-g0788eb4_linux-amd64.tar.gz
2015-11-01Update test.bash to call build.bashv0.3.1Jakob Unterwurzacher
This makes sure the version number is baked into the binary that is built
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-01Update package.bash to call build.bashv0.3Jakob Unterwurzacher
This makes sure the version number is baked in
2015-11-01README: Note used on-disk formatsJakob Unterwurzacher
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-11-01README: Describe storage overheadJakob Unterwurzacher
2015-11-01Refactor ciphertext <-> plaintext offset translation functionsJakob Unterwurzacher
Move all the intelligence into the new file address_translation.go. That the calculations were spread out too much became apparent when adding the file header. This should make the code much easier to modify in the future.
2015-11-01Fix missing printf arguments discovered by "go vet"Jakob Unterwurzacher
2015-11-01Add file header (on-disk-format change)Jakob Unterwurzacher
Format: [ "Version" uint16 big endian ] [ "Id" 16 random bytes ] Quoting SECURITY.md: * Every file has a header that contains a 16-byte random *file id* * Each block uses the file id and its block number as GCM *authentication data* * This means the position of the blocks is protected as well. The blocks can not be reordered or copied between different files without causing an decryption error.
2015-11-01tests: run unit tests before integration testsJakob Unterwurzacher
2015-11-01tests: introduce verifySize() for detailed error messagesJakob Unterwurzacher
2015-11-01tests: additionally verify the file size by reading the whole fileJakob Unterwurzacher
2015-11-01tests: verify file size in testWriteNJakob Unterwurzacher
2015-11-01tests: Use /tmp/gocryptfs_main_test temporary directoryJakob Unterwurzacher
Using "/tmp" meant that running the test would delete everything there.
2015-11-01TestRmwRace: abort testing on write failuresJakob Unterwurzacher
Continuing the test will just generate useless noise
2015-11-01Activate block number authenticationJakob Unterwurzacher
2015-11-01Add rmw race testJakob Unterwurzacher
2015-10-11README: Add travis badgerfjakob
2015-10-11Add travis config fileJakob Unterwurzacher
2015-10-11Fix link in XFSTESTS.mdrfjakob
2015-10-11Add MIT LICENSEJakob Unterwurzacher
2015-10-11Update READMEJakob Unterwurzacher
2015-10-11Run gofmtv0.2Jakob Unterwurzacher
2015-10-11Fix helper scripts for new top-level pathJakob 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-11Drop shell wrapperJakob Unterwurzacher
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-10README: Remove dots noticeJakob Unterwurzacher
2015-10-08Shell wrapper: Also search the binary in $GOPATH/binJakob Unterwurzacher
2015-10-07README: Mention that only Linux is testedJakob Unterwurzacher
2015-10-07Update READMEJakob Unterwurzacher
2015-10-07Run go fmtJakob Unterwurzacher
2015-10-07Add package.bashJakob Unterwurzacher
2015-10-07Add test.bashv0.1Jakob Unterwurzacher
...also adapt the cryptfs tests for 256 bit long keys
2015-10-07Adapt openssl benchmark for 256 bit long keysJakob Unterwurzacher
2015-10-07Better usage textJakob Unterwurzacher
2015-10-07Move gocryptfs wrapper into the same folder as the binaryJakob Unterwurzacher
2015-10-07Implement "gocryptfs --passwd" (pasword changing)Jakob Unterwurzacher