moson-mo / cryptor Goto Github PK
View Code? Open in Web Editor NEWSimple GUI application for gocryptfs
License: BSD 3-Clause "New" or "Revised" License
Simple GUI application for gocryptfs
License: BSD 3-Clause "New" or "Revised" License
While the only way you interact with vaults is the cryptor and if you have option to unmount all vaults on quit - everything is ok.
But when you mount a vault via cryptor and then unmount it in console or Thunar, cryptor still acts as if this vault is still mounted and neither allows to mount it again nor can unmount already unmounted vault. So it enters the broken state where you can't do anything until you re-launch the app, which resets the state of vaults.
Same happens if you close cryptor without unmounting vault. On next launch it acts as if vault is not mounted and fails to mount it again because of "mount point not empty" error. In this case only manual 3rd-pary unmount fixes the broken state.
I think there should be background checks or some kind of "Refresh" button that will check each mount in config for is it mounted already or not. There's no need for any extensive checks. We could just run findmnt --mountpoint
for each vault configured and basing on response either mark vaults already mounted or not mounted.
Another approach could be changing is_mounted from boolean variable false by default to function performing findmnt
on each call.
I'll try to implement both scenarios and provide PR next week with best working solution.
I was hit by the bug where it didn't save the config, so after creating a vault and copying data to it, when starting the application again it forgot the vault.
I wanted to add the vault by selecting the Add Vault option from the menu.
It let me choose the name of the vault, the location and the mount point, but after confirming the dialog nothing happened.
When choosing Open it also let's me select an location (although it's not clear what?), but it comes up with an error message when selecting the gocryptfs.conf and then confirming the dialog.
"Error loading vaults."
Is there an option to add existing vaults that I'm missing?
Cryptor does not create config file in the home directory. After Quit all settings drops.
cryptor ver: 1.0.1
OS: Manjaro Linux x86_64 Kernel: 5.15.38-1-MANJARO DE: Xfce 4.16
And please, add a preference to automatic creation of mounting folder and its deletion after unmount as it was made in Cryptkeeper for Encfs.
Hello.
I'm working on a translation right now and I noticed that some lines are missing both in the localization files and in the translation template (.pot file). A list of these lines:
Vault location
Browse...
Read-Write
Read-Only
I can send you an RP later if you add a translation option to these lines that are missing now:
It would be nice to have "Custom parameters" config field to provide command line parameters for each vault separately. Right now cryptor provides only "reverse" checkbox and "mode" selector in "Edit vault" form. Adding "Custom parameters" into "Edit dialog" will cover all other options available.
Use case - I want to mount one of my vaults with "-allow_other" and "-nonempty" parameters and can't do this with cryptor.
Will provide a PR.
Providing master password to gocryptfs via temporary file may rise some security concerns.
Current workflow is:
var temp_file = File.new_tmp (null, out ps);
-passfile
option.pfile.delete ();
Simple delete ()
may not be enough in this case, because this temporary file will probably be recoverable for some time (using ext4magic for example). We should either use some kind of "wipe then delete" scenario or implement some kind of virtual passfile.
Current gocryptfs displays master recovery key on init of the new vault:
$ gocryptfs -init dir
Choose a password for protecting your files.
Password:
Repeat:
Your master key is:
XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-
XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX
If the gocryptfs.conf file becomes corrupted or you ever forget your password,
there is only one hope for recovery: The master key. Print it to a piece of
paper and store it in a drawer. This message is only printed once.
The gocryptfs filesystem has been created successfully.
You can now mount it using: gocryptfs dir MOUNTPOINT
But when you initialize new vault from cryptor master key is "lost in transition". We should provide additional step in vault creation workflow that will display dialogue window with master key and instructions as seen above.
Will provide a PR.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.