-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Include encryption deps #8
Comments
Gotcha! I figured there was some reason. However borg does mount its archives as FUSE mounts and other flatpak apps like pika and vorta don't require borg on the host. So those apps may offer a clue. I know pika has a matrix room if you wanted to talk to the dev. |
Thanks, I'll look into it again. |
This is now being implemented at #22 but might take a while. Help and contributions very much appreciated. |
Greetings, I have a project named SiriKali and it does what you are doing and i though i should assist in making vaults bundle its dependencies. My project's manifest file is here and how to biuld and bundle Gocryptfs and Cryfs starts at line 218. From within your flatpak application, you can get the "out of flatpak" path to where these binaries are installed by parsing the contents of "/.flatpak-info" and then get "Instance/app-path" option. |
Thank you very much for your hints and help! I'll take a look at the weekend when I got some more time :) |
Hey, I tried your approach and it worked, thanks a lot! I had hoped mounting gocryptfs directories without |
FUSE is not permitted inside Flatpak by design so using "flatpak-spawn --host" is the only available option. |
Alright, then there's not much we can do here. Thanks! |
The problem here was to bundle CryFs and Gocryptfs. You can bundle them and then use |
Yes, I tried all of it and it works great! However, I'm still wondering why cryfs works within flatpak while gocryptfs does not when they are both based on fuse. |
Are you sure CryFs works within flatpak? It does not work here and i am getting "fuse: device not found, try 'modprobe fuse' first" error. |
Unless there's some magic happening, yes. I pushed some work to https://github.com/mpobaschnig/vaults/tree/update-dependencies if you want to look at it or try out (e.g. using GNOME Builder). |
Is your feature request related to a problem? Please describe.
On distros like fedora silverblue you generally are discouraged from layering packages.
Describe the solution you'd like
Include gocryptfs, CryFS, libfuse in the flatpak.
Additional context
Considering these are sensitive deps I wouldn't want them included in the flatpak unless there was a way to have a flathub bot watch upstream for updates and make automatic PRs.
The text was updated successfully, but these errors were encountered: