Commit Graph

584 Commits

Author SHA1 Message Date
Valient Gough
d99c2e2df2
improve error handling in flush operation 2016-09-08 10:13:38 +02:00
Valient Gough
eaf2574d03
move openssl initialization earlier 2016-09-08 10:04:56 +02:00
Valient Gough
b0b4f8de4d
fix memory leak in encfsctl showKey command 2016-09-08 09:48:42 +02:00
Valient Gough
0eb4641fd7
remove old drone config 2016-09-07 13:11:57 +02:00
Valient Gough
c4f5325ebc
drop unnecessary en translations, for #93 2016-09-07 09:44:11 +02:00
Valient Gough
b3f04d2fa5
don't install libencfs by default 2016-09-05 23:13:21 +02:00
Valient Gough
d3374a515c
regenerate po files 2016-09-05 23:08:17 +02:00
Valient Gough
ed7a6a1082 Merge pull request #204 from vgough/gettext
remove install targets from libtinyxml2, fixes #203
2016-09-05 22:35:48 +02:00
Valient Gough
3c1ffdcef5
remove install targets from libtinyxml2, fixes #203 2016-09-05 22:27:23 +02:00
Valient Gough
0d99703983 Merge pull request #202 from vgough/gettext
update nls install, fixes #198
2016-09-05 22:07:35 +02:00
Valient Gough
535e9d0e2d
update gettext install config 2016-09-05 21:09:30 +02:00
Valient Gough
2dc286b351
improve devmode build options 2016-08-16 23:28:51 -07:00
Valient Gough
cd89e60ff2 Merge pull request #178 from jhepp/reverse-readonly
Allow writing when loading a reverse mount config
2016-08-17 02:20:22 -04:00
rfjakob
af0386d89b Merge pull request #195 from jetwhiz/fix-FileNode-setName
Bugfix: Segfault when running paranoid config in verbose mode
2016-08-12 19:16:28 +02:00
Charles Munson
37cf68c8c5 Bugfix: Segfault when running paranoid config in verbose mode
When "external IV chaining" is enabled, cipherName_ parameter may be
  NULL, resulting in segfault in verbose log attempt
2016-08-12 08:00:56 +02:00
Valient Gough
4d952b74d8 Merge pull request #182 from vgough/issue181
Fix issue 181 by reverting the responsible commits
2016-06-29 20:52:55 -07:00
Jakob Unterwurzacher
87ee4b7d99 Revert "Remove "-o default_permissions" unless needed."
Caused a regression: https://github.com/vgough/encfs/issues/112 , and
removing open_readonly_workaround caused another one. So let's just
keep it as it was.

This reverts commit 82ceb88998.
2016-06-25 15:12:04 +02:00
Jakob Unterwurzacher
4a691dc0bb Revert "Remove open_readonly_workaround"
Caused a regression: https://github.com/vgough/encfs/issues/181

Without this, "umask 0777 ; echo foo > bar" fails.

This reverts commit c2e046b694.
2016-06-25 14:55:35 +02:00
Jakob Unterwurzacher
2b3e6031eb tests: open file with umask 0777
Regression test for https://github.com/vgough/encfs/issues/181

(fails at the moment, fixed in the next commits)
2016-06-25 14:47:16 +02:00
Valient Gough
426d9dae76 Merge pull request #172 from jetwhiz/fork-encfsctl-patch
Fix incorrect masking in encfsctl export's copyContents
2016-06-21 20:28:28 -07:00
jhepp
2c541474b5 Allow writing when loading a reverse mount config
- set readOnly to false when uniqueIV is false
2016-06-04 19:12:21 +02:00
Valient Gough
105a8acd60
logging: enable debug log only in verbose mode 2016-05-23 20:31:52 -07:00
Charles Munson
d2f243a195 Fix incorrect masking in encfsctl export's copyContents
Code did not properly detect when a file had S_IFLNK mode
2016-05-23 23:07:16 +02:00
Valient Gough
ad43aa10b2
use utimensat if available 2016-05-13 13:33:23 -07:00
Valient Gough
e19f4a8c69 Merge pull request #171 from ial0/fix-refactor
Fix undeeded string assignment in eraseNode
2016-05-13 11:19:58 -07:00
Ian Lee
4033ca85d2 The string copy will not be shallow, due to undordere_map returning a const std::string. 2016-05-12 17:11:59 +01:00
Ian Lee
6ad5cd4225 Revert "unordered_map value type, is of std::pair<const Key, T>, hence a copy from const Key to Key is never shallow."
This reverts commit 6985c8f64c.
2016-05-12 17:03:10 +01:00
Valient Gough
2fe6f89925
drop drone status 2016-05-10 23:01:58 -07:00
Valient Gough
3076450d34 Merge pull request #164 from vgough/readdir
replace getdir with readdir
2016-05-10 22:53:47 -07:00
Valient Gough
b0ef1d719e Merge pull request #165 from ial0/filenode_cache_refactor
Filenode cache refactor
2016-05-10 22:29:10 -07:00
Ian Lee
6985c8f64c unordered_map value type, is of std::pair<const Key, T>, hence a copy from const Key to Key is never shallow. 2016-05-10 16:32:34 +01:00
Ian Lee
af64702dd0 Simplify FileNode Cache. Remove the need for PlaceHolder.
- Store std::shared_ptr's directly, no need for PlaceHolder wrapper
 - Use std::forward_list to store shared_ptr's, the shared_ptr
   is guaranteed to be unique hence a set is an unnecessary overhead
 - Refactor code to use FileNode * instead of PlaceHolder *
2016-05-10 16:32:34 +01:00
Valient Gough
282fe77ec7
replace getdir with readdir 2016-04-30 23:10:45 -07:00
Valient Gough
ba9b25a1d2
reformat 2016-04-26 22:56:03 -07:00
Valient Gough
057a5741e7
fix trivial memory leak 2016-04-26 22:55:56 -07:00
Valient Gough
19a49b7865 Merge pull request #158 from benrubson/issue156
Improve unmount
2016-04-26 22:25:04 -07:00
Valient Gough
aacce54f42
add encfs_create, fixes #162 2016-04-26 21:49:27 -07:00
benrubson
01cdc07f95 fixes a never ending unmounting case, and log if we still have opened files 2016-04-26 08:49:29 +02:00
Valient Gough
05a749d32f
replace INFO log level 2016-04-25 21:18:08 -07:00
Valient Gough
4326eed2ec
drop old TR1 test 2016-04-25 21:10:41 -07:00
Valient Gough
b70d4500bc Merge pull request #160 from vgough/glog
replace rlog with easylogging++
2016-04-24 23:21:16 -07:00
Valient Gough
e47ec3d8c5
move tinyxml2 to internal path 2016-04-24 23:15:43 -07:00
Valient Gough
8bf55774ac
add license text for included sources 2016-04-24 23:15:43 -07:00
Valient Gough
46a5c9f4f9
replace rlog with easylogging++ 2016-04-24 23:15:43 -07:00
Valient Gough
f345450abd vendor tinyxml2 (#159)
* vendor tinyxml2 and switch to static build by default
* drop tinyxml2 from CI requirements
2016-04-24 21:33:15 -07:00
Valient Gough
f7149eaf7a
correct return code, fixes #142 2016-04-23 22:19:07 -07:00
Valient Gough
671ff0e3f2 Merge pull request #154 from vgough/xml
replace boost serialization with tinyxml2
2016-04-15 16:05:03 -07:00
Valient Gough
e78d1659e3
replace boost serialization with tinyxml2 2016-04-14 23:56:59 -07:00
Valient Gough
bbf3d6f679 Merge pull request #150 from benrubson/issue81
Add method to check password
2016-04-10 21:24:42 -07:00
benrubson
252f15e33d Add method to check password 2016-03-26 17:20:33 +01:00