You are not logged in.

#1 2016-04-26 11:54:16

alphazo
Member
Registered: 2009-10-20
Posts: 163

[REQUEST] gocryptfs

gocryptfs seems a nice and potentially more secure (scrypt, AES-GCM) alternative to encfs.

Comparison with other solutions can be found here too: https://nuetzlich.net/gocryptfs/comparison/

While I use dm-crypt on many places including full disk encryption such per file encryption scheme can have value for cloud or NAS storage. I tried to compile it but it failed on of the SSL library check.

Would appreciate help on generating a working PKGBUILD.

Thanks.

Last edited by alphazo (2016-04-26 12:04:30)

Offline

#2 2016-04-26 14:51:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: [REQUEST] gocryptfs

I took a look at this (god I hate go). The problem is that it's looking for SSLv3, which Arch doesn't ship as it's old and insecure. It will likely need patched.

Edit: see https://github.com/spacemonkeygo/openssl/issues/49

Last edited by Scimmia (2016-04-26 14:55:56)

Offline

#3 2016-05-04 19:29:49

alphazo
Member
Registered: 2009-10-20
Posts: 163

Re: [REQUEST] gocryptfs

gocryptfs author has dropped the ugly dependency to spacemonkey and now relies on OpenSSL.
https://github.com/rfjakob/gocryptfs/is … -216950955

I was able to download and compile the binary using:

export GOPATH=~
go get github.com/rfjakob/gocryptfs
~/src/github.com/rfjakob/gocryptfs/build.bash
~/bin/gocryptfs --version
gocryptfs v0.10-rc1-3-gd0945b7; on-disk format 2; go-fuse ed84134

Now I'm not sure on how to properly setup the PKGBUILD since it uses go & git. Can someone help?

Alphazo

Offline

#4 2016-05-09 13:39:21

petres
Member
Registered: 2015-02-24
Posts: 6

Re: [REQUEST] gocryptfs

Have a try:
    https://aur.archlinux.org/packages/gocryptfs/

It will compile on your computer, therefore the go package is a dependency.

Offline

#5 2016-05-09 14:11:20

alphazo
Member
Registered: 2009-10-20
Posts: 163

Re: [REQUEST] gocryptfs

Thanks for the package.
Compiles and works fine. I noticed one minor thing though. The version number is not reported by --version:

# gocryptfs --version
gocryptfs [version not set - please compile using ./build.bash]; on-disk format 2; go-fuse [version not set - please compile using ./build.bash]

Last edited by alphazo (2016-05-09 14:11:47)

Offline

#6 2016-05-09 14:15:38

petres
Member
Registered: 2015-02-24
Posts: 6

Re: [REQUEST] gocryptfs

I think thats because the used version (0.10-rc1) isn't a release, in the future I will only update on new releases.

Offline

#7 2016-08-02 08:37:42

mhogomchungu
Member
Registered: 2013-03-29
Posts: 87

Re: [REQUEST] gocryptfs

cryfs-gui[1] offers a GUI solution to create and unlock gocryptfs volumes among others.

[1] http://mhogomchungu.github.io/cryfs-gui/

Offline

Board footer

Powered by FluxBB