-
-
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 dependencies #22
Conversation
Currently, big stopper is gocryptfs opening/mounting. It fails with error code
go-fuse fails at line https://github.com/hanwen/go-fuse/blob/master/fuse/mount_linux.go#L113 with:
Not sure if related, but
is also printed right before the fs.Mount error. |
Hi, Could we allow static binaries download and place it at and set the $PATH to Thanks. |
or we could allow |
This branch already uses statically compiled binaries, but gocryptfs' open/mount doesn't work within sandboxed environment and I still have to figure out why. I'm not sure if your suggested approach would actually work for gocryptfs. I could only ship CryFS and leave gocryptfs behind, but I'm not sure if this is a good idea. Properly including the dependencies is one of the things I'll look into for the next release though. |
a0285fa
to
1603a76
Compare
I've modified the go-cryptfs-wrapper.sh to include
I've downloaded the static gocrypts from https://github.com/rfjakob/gocryptfs/releases and extracted the gocryptfs binary to ~/bin and compiled vaults with the above wrapper. Flatpak Manifest
|
@fastrizwaan |
hardcoding helps the user. whereas setting PATH for every flatpak user is painful isn't it? yes, adding
to So, either hardcode the path or ask user to add their PATH to .bashrc are presently the ways I can think of. |
No, really, it doesn't help the user. Respect of |
flatpak apps should be isolated from the host, and manipulating host stuff (or just something in the sandbox) to circumvent the actual problem is not the way to go. We should rather find out why gocryptfs' mount/open is not working, build both dependencies from source, and then include it into the flatpak. |
1603a76
to
be35555
Compare
Hi, |
Hey, unfortunately, no. I might take a look again in near future, but I'd like to address other issues first. |
Hi, |
Closed in favor of #97 |
This PR includes gocryptfs and CryFS into the flatpak.
Draft until these issues are solved:
CryFS:
gocryptfs:
Closes: #8