-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
Encrypt datafile when syncing via Git #1633
Comments
Hello 👋 Thank you for taking the time to open this issue with floccus. I know it's frustrating when software I look forward to working with you on this issue |
Hi @amurashkin17 |
While a different backend may be more closely suited, this use pattern is fairly common (if discouraged for other reasons sometimes) in repositories for which you want to maintain some (or all) encrypted data but still maintain versioning. You do lose out on space savings from delta compression, but version and diff tracking is still useful. See, for example, what git-crypt does (for files in a repo you want to crypt, you use .gitattributes to set a diff-filter and file filter for matching paths). While your AES encryption implementation you use in the GoogleDrive and WebDAV adapters is simple compared to what say git-crypt does, there's really nothing stopping you from porting that over to the other adapters, is there? For my purposes, encryption inside a git backend is exactly the workflow I want. (and git-over-ssh preferably, but git over https is close enough. For 'transparency' you could even add .gitattributes in your repo management and ship a CLI filter that cli git users could use when dealing with a floccus-in-git repo, but that is probably less immediately useful for most people. |
Describe the feature you'd like to request
An option to encrypt datafile when syncing via Git. While Git repository access from the Internet is usually protected (for example, by password), the repository can be accessed by the Git provider, as a result of misconfiguration, or just hacked.
Some bookmarks/tabs can be security sensitive, for instance, contain usernames/passwords/tokens in URLs. Also, just the list of bookmarks/tabs hints at what websites are actually used.
Describe the solution you'd like
The encryption shall work similarly to Google Drive and WebDAV.
Describe alternatives you've considered
The main consideration in my case is that Git keeps multiple versions, so we have the backups as a side effect.
Google Drive keeps previous versions for 30 days (at least in my case).
Floccus+WebDav+LoFloccus+Cryptomator+Something seems fragile (too many possible points of failure). It also does not help with backup problems.
Nextcloud does not support all possible bookmark types.
The text was updated successfully, but these errors were encountered: