Adam Williamson
3f249ff1cd
Include stdexcept when using logic_error
...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-26 13:55:20 -08:00
D Lamb
bbc7acc30f
minor: shebang python -> python3 ( #439 )
...
Co-authored-by: D Lamb <dlamb.gh@mm.st>
2022-10-11 18:56:45 -07:00
Onuralp Sezer
231a60a611
change unversioned python commandline into versioned python3 commandline ( #413 )
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
2022-10-11 18:52:44 -07:00
Bernhard Rosenkraenzer
ee6250380f
Fix build with fmt 9.0 ( #433 )
...
* Fix build with fmt 9.0
Co-authored-by: Sebastian Meßmer <smessmer@users.noreply.github.com>
2022-07-22 07:36:34 -05:00
Sebastian Messmer
26ea5a0209
Fix Subprocess on Windows
2021-12-22 22:12:03 +01:00
Sebastian Messmer
31c9290487
Fix subprocess call sites
2021-12-12 13:14:05 +01:00
Sebastian Messmer
c4bc749fa6
Process I/O needs to use the async API to avoid deadlocks
2021-12-12 13:00:22 +01:00
Sebastian Messmer
67bd0ed295
Flush logs in test cases
2021-12-11 12:04:20 +01:00
Sebastian Messmer
69770c77d4
cryfs-unmount correctly unmounts paths that contain spaces
2021-12-10 17:51:52 +01:00
Sebastian Messmer
b28b8b6ea8
Show old config values at mount time, otherwise they'd just always show the current version
2021-08-14 10:34:41 -07:00
Sam James
8f49e7d28c
Don't limit install on Release/Debug/RelWithDebInfo CONFIGURATIONS ( #396 )
...
Co-authored-by: Andreas Sturmlechner <asturm@gentoo.org>
2021-08-14 09:38:02 -07:00
Sam James
041b5baea5
src/fspp/fuse/Fuse.h: add <memory.h> include for std::shared_ptr ( #395 )
...
Needed to fix build with Boost 1.77 (some indirect inclusion
got lost).
Signed-off-by: Sam James <sam@gentoo.org>
2021-08-14 09:29:24 -07:00
Sebastian Messmer
a2b07cd8e8
Merge branch 'hotfix/gcc11' into feature/gcc11
2021-05-08 14:46:32 -07:00
Sebastian Messmer
27587ea1ac
Fixed an issue when compiling with GCC 11, see https://github.com/cryfs/cryfs/issues/389
2021-05-08 14:44:27 -07:00
Sebastian Messmer
c28cb2b2c4
Add Windows CI to Github Actions
2021-04-26 19:08:15 -07:00
Sebastian Messmer
68a4c5646a
Fix clang-tidy warnings
2021-04-21 17:37:40 -07:00
Sebastian Messmer
42169308b3
Update boost
2021-04-18 00:49:26 -07:00
midchildan
fe1b0f10d3
Support the latest FUSE on macOS ( #378 )
...
* feat: support latest FUSE on macOS
This drops osxfuse support in favor of macFUSE. macFUSE is a newer
version of osxfuse that supports the latest release of macOS, and is a
rebranded version of the same project.
* build: use pkg-config to find FUSE
Co-authored-by: Sebastian Messmer <smessmer@users.noreply.github.com>
2021-04-13 00:45:47 -07:00
Sebastian Messmer
944c8f2f66
Merge branch 'release/0.10' into develop
2021-02-23 08:26:46 -08:00
Sebastian Messmer
c6a69ae36b
Fixed crash on startup when running in an environment that doesn't have /home/heinzi set (e.g. an empty env), https://github.com/cryfs/cryfs/issues/374
2021-02-23 08:25:15 -08:00
Sebastian Messmer
e2cd97de96
Update ranges-v3 to 0.11.0
2021-01-14 20:08:09 -08:00
Sebastian Messmer
a245ac1ffb
Add XChaCha20-Poly1305 cipher and make it the default
2021-01-14 20:02:06 -08:00
Sebastian Messmer
3c64693778
Fix windows build
2021-01-13 12:35:44 -08:00
Sebastian Messmer
b3c6658466
Comments
2021-01-13 02:11:28 -08:00
Sebastian Messmer
d30f69c165
Fix data generation that was broken by the last commit
2021-01-12 23:00:12 -08:00
Sebastian Messmer
caf0b90325
Fix test cases for newer GCC versions in Release mode
2021-01-12 22:09:33 -08:00
jeremymeadows
353f287bde
Added an option to create a mountpoint with a missing directory ( #354 )
...
* Added an option to create a mountpoint with a missing directory
It skips the normal confirmation message, which makes cryfs easier
to use in scripts, or can be aliased for quicker use.
* separated basedir and mountpoint autocreate flags, and added tests
* Werror and clang-tidy fixes
added to the ChangeLog
* fixed the bugs that clang-tidy caused
never used clang before, so I don't really know what it did and why it
caused compile errors
2020-07-31 18:08:19 -07:00
Sebastian Messmer
76cf9ea0ed
cryfs-stats displays filesystem config information
2020-07-24 16:15:27 -07:00
Sebastian Messmer
3938942a02
- cryfs-stats tool is guaranteed to be readonly and not modify the file system
...
- Now shows a better error message when failing to load the config file and distinguishes between 'wrong password' and 'config file not found'
- The cryfs-stats tool only reads and never writes the cryfs.config file
2020-07-24 16:14:53 -07:00
Sebastian Messmer
5290947a98
Update CI to clang-tidy 9 and fix warnings
2020-07-22 10:32:43 -07:00
Sebastian Messmer
cf19fc4f30
Display file system configuration when loading
2020-07-19 16:57:37 -07:00
Sebastian Messmer
41ab58faf3
Remove cryfs-stats tool which isn't ready yet and could destroy the file system
2020-07-19 13:30:12 -07:00
Sebastian Messmer
ad0e064f42
Use noatime by default
2020-07-14 20:16:32 -07:00
Sebastian Messmer
b603d3b58a
Add an --immediate flag to cryfs-unmount that tries to unmount immediately and doesn't wait for processes to release their locks on the file system.
2020-07-13 18:43:50 -07:00
Sebastian Messmer
be20465f5e
Fixed determining the user's homedir: If $HOME and the /etc/passwd entry for the current user contradict each other, now $HOME takes preference over /etc/passwd.
2020-07-12 15:19:17 -07:00
Sebastian Messmer
2793e014d4
Fixed determining the user's homedir: If $HOME and the /etc/passwd entry for the current user contradict each other, now $HOME takes preference over /etc/passwd.
2020-07-12 15:18:21 -07:00
Sebastian Messmer
0e27097462
Allow building with local dependencies instead of using conan
2020-07-09 01:15:25 -07:00
Sebastian Messmer
6f94834c90
Fix bug where a comma in the base directory name would make the file system fail to mount, https://github.com/cryfs/cryfs/issues/326
2020-06-30 19:13:28 -07:00
Sebastian Messmer
9cbc12fc57
Fix bug where a comma in the base directory name would make the file system fail to mount, https://github.com/cryfs/cryfs/issues/326
2020-06-30 14:25:37 -07:00
Sebastian Messmer
873681a3ef
Silence compiler warning about unused httpClient when explicitly building without update checks
2020-06-30 00:09:31 -07:00
Sebastian Messmer
f179b8c4a4
Fix appveyor build
2020-06-27 17:27:16 -07:00
Sebastian Messmer
4329279163
Add spdlog via conan and not via the vendor/ directory
2019-11-07 15:25:30 -05:00
Sebastian Messmer
8e617b1342
Add support for atime mount options (noatime, strictatime, relatime, atime, nodiratime). As before, relatime is the default.
2019-11-05 10:08:04 -05:00
Sebastian Messmer
ae09ff98aa
Add range-v3 via conan and not via the vendor/ directory
2019-11-05 10:08:00 -05:00
Sebastian Messmer
8376a554cc
Setup conan and get boost dependency through it
2019-11-05 10:02:54 -05:00
Sebastian Messmer
cb01025c81
Simplify mocking thanks to new googletest features
2019-10-25 23:38:04 -07:00
Sebastian Messmer
bb4c10770a
Fix googletest deprecations
2019-10-19 18:38:54 -07:00
Sebastian Messmer
a76e7f26cf
- expectThrows
...
- expectFailsAssertion
- fix asserts
2019-10-13 13:01:57 +07:00
Sebastian Messmer
f6ef18b046
Fix gcc build
2019-09-30 10:50:51 +07:00
Sebastian Messmer
50341b763c
Merge branch 'release/0.10' into develop
2019-06-08 13:33:06 -07:00