Sebastian Messmer
54d2fc516f
Add environment variables to help output
2016-02-21 22:28:29 +01:00
Sebastian Messmer
d95cc33a58
You can disable the automatic update check by setting CRYFS_NO_UPDATE_CHECK=true in your environment.
2016-02-21 22:15:27 +01:00
Sebastian Messmer
9c83d3b2a4
If CRYFS_FRONTEND=noninteractive is set in the environment, assume we're used by a tool and:
...
- Don't ask for config. Use default settings for everything that is not specified as command line parameter.
- Don't ask for password confirmation. Password only has to be passed in once to stdin.
2016-02-21 01:36:14 +01:00
Sebastian Messmer
346baf8e9b
Only show update check warning if version on server is actually newer
2016-02-20 18:23:46 +01:00
Sebastian Messmer
d00e097954
Do a sanity check when mounting the file system and fail if the root blob is not available.
2016-02-19 02:10:10 +01:00
Sebastian Messmer
014b5703e0
Instead of modifying include paths, include osxfuse header from the right location
2016-02-17 22:30:28 +01:00
Sebastian Messmer
980f560f04
Fix build
2016-02-17 21:40:03 +01:00
Sebastian Messmer
237abf61c7
TODOs
2016-02-17 13:13:03 +01:00
Sebastian Messmer
80f63969c7
Add TODOs
2016-02-17 13:09:03 +01:00
Sebastian Messmer
25b93ebe41
When deleting a block fails, log the error but don't crash (i.e. continue to delete other blocks of the same blob on a best-effort basis)
2016-02-17 13:01:12 +01:00
Sebastian Messmer
df041ac845
Fix a bug where deleting a directory could leave over some blocks.
...
Details: Before, we allowed removing non-empty directories. Seems 'rm -rf' is trying to do that. Now, we return the correct error code ENOTEMPTY in this case, which causes that 'rm -rf' deletes the entries first.
2016-02-17 12:52:01 +01:00
Sebastian Messmer
bb54c2f879
When removing a block, check whether it was successful
2016-02-17 11:03:06 +01:00
Sebastian Messmer
b8fdd2e941
Fix includes on Mac
2016-02-17 08:51:48 +01:00
Sebastian Messmer
35f4723b65
Fix compiler error
2016-02-17 00:24:40 +01:00
Sebastian Messmer
74288c81e4
Replace sysctl on Mac with a syscall that is supported in all kernels
2016-02-16 23:24:11 +01:00
Sebastian Messmer
a05f51ee08
Replace sysctl on Mac with a syscall that is supported in all kernels
2016-02-16 22:27:07 +01:00
Sebastian Messmer
7f1493ab92
Increase scrypt KDF effort for generating the config file key from the password
2016-02-16 20:35:51 +01:00
Sebastian Messmer
8a83827042
Fix linux build
2016-02-16 20:12:04 +01:00
Sebastian Messmer
c889366619
Add some default search paths for libraries on Mac OS X
2016-02-15 20:01:13 +01:00
Sebastian Messmer
68acc27e88
Report file system statistics (like free space) to operating system
2016-02-15 14:20:21 +01:00
Sebastian Messmer
6fb46c7e73
Use inline for short functions
2016-02-15 13:22:21 +01:00
Sebastian Messmer
456b240e21
Add TODOs
2016-02-15 03:45:09 +01:00
Sebastian Messmer
5651a86b78
Improve CLI usage line and README
2016-02-15 02:40:56 +01:00
Sebastian Messmer
63d0b2b29d
Fix compiling test cases on Debian
2016-02-14 18:17:37 +01:00
Sebastian Messmer
e44c44334f
Fix compile on Debian 8 (link it to a library it wants)
2016-02-14 16:54:29 +01:00
Sebastian Messmer
31bf927e07
Fix compile on Debian 8 (link it to a library it wants)
2016-02-14 16:35:37 +01:00
Sebastian Messmer
ccc2f74e63
Fix compile on Debian 8 (link it to a library it wants)
2016-02-14 16:34:50 +01:00
Sebastian Messmer
1e975f64f7
Improve error messages when libraries aren't found
2016-02-14 15:55:54 +01:00
Sebastian Messmer
26929b4354
Merge
2016-02-14 04:19:32 +01:00
Sebastian Messmer
cc2101af9c
Link osxfuse C++ library, not C# framework
2016-02-14 04:17:35 +01:00
Sebastian Messmer
0286f36cf6
Allow setting library locations using CMake parameters
2016-02-14 03:13:50 +01:00
Sebastian Messmer
b3dc0e9b58
Find osxfuse/fuse library with CMake find_library()
2016-02-14 02:38:01 +01:00
Sebastian Messmer
7ede09877e
Removed resolved TODO
2016-02-14 02:29:27 +01:00
Sebastian Messmer
80b113f0f1
Fix some more fuse tests
2016-02-14 02:23:54 +01:00
Sebastian Messmer
fcf817fbdd
Work around timing bug in OS X test cases
2016-02-14 01:18:19 +01:00
Sebastian Messmer
5363a397f8
Handle stopping the file system correctly on Mac OS X
2016-02-14 01:00:00 +01:00
Sebastian Messmer
e532885598
Fix crash on Mac OS X when parsing the command line parameters
2016-02-13 20:59:51 +01:00
Sebastian Messmer
53ef40ba46
Show correct umount command on Mac OS X
2016-02-13 20:50:50 +01:00
Sebastian Messmer
7453e83732
Fix crash on mac os X due to unimplemented statfs()
2016-02-13 20:47:15 +01:00
Sebastian Messmer
2b9469cd20
Fix compiler error on Mac OS X
2016-02-13 16:13:25 +01:00
Sebastian Messmer
56ccf781eb
Fix compiler warning on GCC 4.8
2016-02-13 15:26:16 +01:00
Sebastian Messmer
636445cd82
Introduce version flags for file system entities to allow future CryFS versions to be backwards-compatible even if the format changes.
2016-02-13 15:06:28 +01:00
Sebastian Messmer
f433da7dc1
Remove --extpass parameter, because that encourages tool writers to do bad things like storing a password in a file and using --extpass="cat filename".
...
The password can now be passed in to stdin without problems, so tools should use that.
2016-02-13 10:46:05 +01:00
Sebastian Messmer
098f16a4fe
Since Mac OS X doesn't support clock_gettime, implement it if running on Mac.
2016-02-13 02:46:00 +01:00
Sebastian Messmer
f749ad66f1
Fix a compiler error on Mac OS X
2016-02-13 02:19:31 +01:00
Sebastian Messmer
3ff69b6a9f
Allow specifying osxfuse include directory on command line using "cmake -DCMAKE_CXX_FLAGS=-I/path/to/osxfuse/include/dir". Furthermore, add some setup instructions for installing the requirements on Mac OS X.
2016-02-13 02:07:19 +01:00
Sebastian Messmer
ff62ef1b88
Don't use libc getpass() for asking the password anymore. It is deprecated and doesn't play nice with tools that want to pass in the password on stdin. Now we just use stdin.
2016-02-12 23:18:13 +01:00
Sebastian Messmer
d05e3841bd
Mountdir has correct ownership and permissions set. Fixes https://github.com/cryfs/cryfs/issues/10
2016-02-12 12:21:39 +01:00
Sebastian Messmer
cfe2a48ebc
Merge branch 0.9 (pre-work for version 0.9)
2016-02-11 17:35:20 +01:00
Sebastian Messmer
fff5b4b6e9
Make CPack work with new repository layout
2016-02-11 17:34:08 +01:00