Re-design of the original gocryptfs code to work as a library.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Hardcore Sushi b2ddf58e89
Return an error if the volume is already closed
4 months ago
allocator Genesis patch 1 year ago
internal Allow the password hash to be returned when creating a volume 5 months ago
.gitignore Genesis patch 1 year ago
LICENSE LICENSE: add full name 6 years ago
README.md libgocryptfs: update to gocryptfs v2.2.1 8 months ago
build.sh Better build script 7 months ago
common_ops.go Return an error if the volume is already closed 4 months ago
dircache.go Update FUSE related stuff according to gocryptfs fusefrontend 4 months ago
directory.go Return an error if the volume is already closed 4 months ago
file.go Return an error if the volume is already closed 4 months ago
go.mod Allow the password hash to be returned when creating a volume 5 months ago
go.sum Allow the password hash to be returned when creating a volume 5 months ago
helpers.go Update FUSE related stuff according to gocryptfs fusefrontend 4 months ago
main.go libgocryptfs: update to gocryptfs v2.2.0 10 months ago
volume.go Return an error if the volume is already closed 4 months ago

README.md

libgocryptfs is a re-desing of the original gocryptfs code to work as a library. Volumes are not mounted with FUSE but rather opened in memory and accessed through API calls. What the purpose ?

  • Allow the use of gocryptfs in embedded devices where FUSE is not available (such as Android)
  • Reduce attack surface by restricting volumes access to only one process rather than one user

Warning !

The only goal of this library is to be integrated in DroidFS. It's not actually ready for other usages. libgocryptfs doesn't implement all features provided by gocryptfs like symbolic links creation, thread-safety, reverse volume creation... Use it at your own risk !