-
Notifications
You must be signed in to change notification settings - Fork 208
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
feat: Add local gocryptfs support #1897
base: dev
Are you sure you want to change the base?
Conversation
Wow that is a big step. Awesome! Do we need the latest GoCryptFS when running TavisCI? Are there known Issues with gocryptfs from the Ubuntu repos? |
I suspect that we don't need the latest version. I tested with the version in the latest Linux Mint, and it seemed to work. |
The code fetching the latest version was already in Germar's original branch. I haven't made many changes here, other than fixing merge conflicts. |
Please let me know if you prefer me to solve this merge conflicts. |
I'll do another rebase, and switch Travis to fetch the packaged version of gocryptfs rather than the latest release while I'm at it. |
8854b12
to
af10597
Compare
I've rebased on the latest I confirmed that I can still backup a file, delete it, then restore it. |
When my refactoring work on the manage profiles dialog is finished I think about a release candidate and release 1.5.3. |
FYI: I do plan a 1.5.3 release in the near future. After that release I would target your PR for a 1.6.0 release. |
I'll apply the suggestions above when I get a chance. There are also a few lint errors, so I'll fix those up too. |
The remaining lint errors are because there is similarity between the encfs and gocryptfs modules... Perhaps this can be ignored? |
Usually I would say "no" and recommend to create a base class to avoid code duplication. But we will remove encfs, so I see no problem to add an ignore clause for pylint.
Not sure if this need to be place in both files. |
075f7d1
to
64404a3
Compare
Note to self: I need to test setting up a new EDIT: I've tested setting up a new backup profile from scratch, and the dialog needs some tweaking as it's missing a few inputs. I'll update it to match the EncFS local dialog. |
Co-authored-by: buhtz <[email protected]>
Co-authored-by: buhtz <[email protected]>
Co-authored-by: buhtz <[email protected]>
- Remove unused import - Explicitly declare class members
- It's OK to remove these checks for encfs, as we plan to deprecate and remove the encfs code.
46c51f0
to
b79472c
Compare
EDIT: I've fixed this in e8a66fa. When I create a new EncFS local profile, I see these fields: But when I create a new gocryptfs local profile, I see these fields: i.e. the Where to save snapshots field is missing. Do you know how to make it appear? |
Also, I've rebased on the latest |
I'm getting the following error when I click 'OK' to finalise creation of a new profile:
Do you have any thoughts? |
Blocked by
This is a rebase of Germar Reitze's gocrypt branch on the latest
dev
branch.It seems to work, so I thought we should try to merge it as a base for future gocryptfs work.
I've tested backing up a test file, deleting it, then restoring it.
Related to #1734.