summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-04Add BlockNoPlainOff() and BlockNoCipherOff() + testJakob Unterwurzacher
Also, fix key, it is now []byte, not [16]byte
2015-10-04tests: add TestFileHolesJakob Unterwurzacher
Create a file with holes by writing to offset 0 (block #0) and offset 4096 (block #1). This test currently fails.
2015-10-04Fix xfstests generic/030 failureJakob Unterwurzacher
The actual fix is oldSize := f.cfs.PlainSize(uint64(fi.Size())) the rest is logging improvements
2015-10-03Add daemonization shell scriptJakob Unterwurzacher
2015-10-03debug: log inode number instead of encrypted filenameJakob Unterwurzacher
Makes the log output smaller and more readable.
2015-10-03Implement file hole passtroughJakob Unterwurzacher
Fixes xfstests generic/010 Note that file holes are not authenticated,
2015-09-30tests: Add append testJakob Unterwurzacher
2015-09-30Implement Truncate() + TestJakob Unterwurzacher
2015-09-30debug: Log encrypted filenameJakob Unterwurzacher
2015-09-30DecryptBlocks: Don't shadow err variableJakob Unterwurzacher
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-19Fix Chown parameter orderJakob Unterwurzacher
2015-09-18Add --cpuprofile flagJakob Unterwurzacher
2015-09-18Make read benchmark smarter when extending fileJakob Unterwurzacher
2015-09-17Fix read benchmarkJakob 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-16symlink encryption: pass ".." and "." through unchangedJakob Unterwurzacher
This fixes relative symlinks: $ tar xf linux-4.2.tar.gz tar: linux-4.2/tools/testing/selftests/powerpc/vphn/vphn.h: Cannot utime: No such file or directory tar: linux-4.2/tools/testing/selftests/powerpc/vphn/vphn.c: Cannot utime: No such file or directory tar: linux-4.2/tools/testing/selftests/powerpc/stringloops/memcmp_64.S: Cannot utime: No such file or directory tar: linux-4.2/tools/testing/selftests/powerpc/primitives/word-at-a-time.h: Cannot utime: No such file or directory tar: linux-4.2/tools/testing/selftests/powerpc/primitives/asm/asm-compat.h: Cannot utime: No such file or directory tar: linux-4.2/tools/testing/selftests/powerpc/copyloops/memcpy_power7.S: Cannot utime: No such file or directory tar: linux-4.2/tools/testing/selftests/powerpc/copyloops/memcpy_64.S: Cannot utime: No such file or directory tar: linux-4.2/tools/testing/selftests/powerpc/copyloops/copyuser_power7.S: Cannot utime: No such file or directory tar: linux-4.2/tools/testing/selftests/powerpc/copyloops/copyuser_64.S: Cannot utime: No such file or directory tar: linux-4.2/arch/powerpc/boot/dts/include/dt-bindings: Cannot utime: No such file or directory tar: linux-4.2/arch/mips/boot/dts/include/dt-bindings: Cannot utime: No such file or directory tar: linux-4.2/arch/metag/boot/dts/include/dt-bindings: Cannot utime: No such file or directory tar: linux-4.2/arch/arm64/boot/dts/include/dt-bindings: Cannot utime: No such file or directory tar: linux-4.2/arch/arm/boot/dts/include/dt-bindings: Cannot utime: No such file or directory tar: Exiting with failure status due to previous errors
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-14Use MarshalIndent for JSON generationJakob Unterwurzacher
2015-09-13init: Check if dir is empty part IJakob Unterwurzacher
2015-09-13Implement password handlingJakob Unterwurzacher
2015-09-13Don't warn about "gocryptfs.conf" in the ciphertext root dirJakob 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
2015-09-08Explain both frontends in readmeJakob Unterwurzacher
Also, re-enable openssl and disable debug messages so testing gocryptfs is less painful
2015-09-08Fix panic on absolute symlinkJakob Unterwurzacher
2015-09-08tests: add TestCiphertextRangeJakob Unterwurzacher
2015-09-08Fix append issueJakob Unterwurzacher
2015-09-08More debug logging, improve main_test.go (do not use all-zero content)Jakob Unterwurzacher
2015-09-08Add pathfs frontend, part IIJakob Unterwurzacher
Fix issues in read and write paths. Now passes selftest.
2015-09-08Add pathfs frontend (uses go-fuse instead of bazil-fuse), part IJakob Unterwurzacher
Currently fails main_test.go, will be fixed in part II
2015-09-07Add tests for name encryption and byte range splittingJakob Unterwurzacher
2015-09-07Rename frontend to "cluefs_frontend"Jakob Unterwurzacher
Enables adding another frontend later
2015-09-06readme: link to go-vs-openssl.mdJakob Unterwurzacher
2015-09-06new file: go-vs-openssl.mdJakob Unterwurzacher
2015-09-06readme: more detailsJakob Unterwurzacher
2015-09-06readme: Fix benchmark alignmentJakob Unterwurzacher
2015-09-06Add "go get" command to readmeJakob Unterwurzacher
2015-09-06Add README.mdJakob Unterwurzacher
Also, run go fmt
2015-09-06Add openssl_benchmark.bash scriptJakob Unterwurzacher
2015-09-06Add streaming read and write benchmarksJakob Unterwurzacher
Run using ./main_benchmark.bash Also, rewrite command line args handling
2015-09-06Add OpenSSL support for file content encryption/decryptionJakob Unterwurzacher
This brings streaming read performance from 30MB/s to 81MB/s (similar improvement for writes)
2015-09-06Set readahead to 1MBJakob Unterwurzacher
This bring streaming read performance from 12MB/s to 30MB/s
2015-09-06Bundle up blocks for bigger reads from the backing filesystemJakob Unterwurzacher
2015-09-05Add openssl benchmarkJakob Unterwurzacher
Results: BenchmarkAESGCMSeal4K 20000 98638 ns/op 41.53 MB/s BenchmarkAESGCMOpen4K 20000 98781 ns/op 41.47 MB/s BenchmarkOpensslGCMenc4K 50000 27563 ns/op 148.60 MB/s BenchmarkOpensslGCMdec4K 50000 27563 ns/op 148.60 MB/s openssl is 3x faster.
2015-09-05Use Debug object instead of fmtJakob Unterwurzacher