-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does BIT use EncFS? #644
Comments
The main reason for EncFS is the |
gocryptfs can do this since v1.1, released a week ago. Note: I am the author. And a happy BackInTime user, by the way. |
Awesome! Will have a look, soon. It's not yet in official distribution repositories, is it? |
No. Debian packaging is in progress:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839279
|
Okay, I played a bit with gocryptfs and already love it! @rfjakob just to get it right: if I sync the encrypted view (mounted with
Is there a way to de-/encode filenames like it is done with |
Yes, this should work. Keep an eye on syslog, where gocryptfs will log warnings. For example, having
I suggest to skip No, there is nothing like
Note that this does NOT work in reverse mode because reverse mode uses arbitrary inode numbers. |
Yeah, I guess it would be best to store both
Best would be an API so I could access it directly in python 😉. Hmm, looks like I need to learn some Go... |
How do you handle that currently with encfs? Call encfsctl for every filename? What would probably be the sanest way to do this is adding a control interface to gocryptfs. Maybe a socket in |
Nope. That would take to much time. I start an A socket would be great! Maybe in |
It's probably best to let the caller choose the socket location, in other
words, have a cli option "-ctlsock" that takes a path.
If the option is not passed no socket is created.
|
Ok I have added the control socket functionality. The option is called The JSON interface is very simple, you pass something like
and you get
Or, for encryption:
Response:
ErrNo is a Linux error code, 0 for sucess. It is -1 if there was an error but the error code is not available. The ErrText should explain what went wrong in any case. Edit: reverse mode has both encryption and decryption implemented, forward mode only has encryption for now. [edit: forward mode has ENcryption, not DEcryption] |
Wow. That was stunning fast! Thanks a lot! I wish I could do my part in the same pace 😩 |
Don't worry, take your time :) |
Another library that seems to do a similar job is https://github.com/cryptomator/cryptolib |
@mossroy are you sure about |
No, I meant that I did not look into the technical details of this library at all. |
If you want to use more secure encryption technologies, you can encrypt your hard drive, using Luks for example. tutorial for Luks |
Closing this as outdated, the discussion continues in #1248. |
First of all thank you to all developers who created this useful software!
I absolutely appreciate it that you can make encrypted backups! 👍
However, I wonder why EncFS is used for it? It's known that there are some security flaws in EncFS that are not fixed for a long time now -> vgough/encfs#9.
Would be cool if BIT could use better maintained and more secure encryption technologies!
The text was updated successfully, but these errors were encountered: