Re-design of the original gocryptfs code to work as a library.
Go to file
Matéo Duparc b2ddf58e89
Return an error if the volume is already closed
2022-04-19 21:00:30 +02:00
allocator Genesis patch 2021-06-11 15:52:46 +02:00
internal Allow the password hash to be returned when creating a volume 2022-03-01 10:57:57 +01:00
.gitignore Genesis patch 2021-06-11 15:52:46 +02:00
LICENSE LICENSE: add full name 2016-10-08 23:41:22 +02:00
README.md libgocryptfs: update to gocryptfs v2.2.1 2021-12-18 14:33:17 +01:00
build.sh Better build script 2022-01-20 10:19:20 +01:00
common_ops.go Return an error if the volume is already closed 2022-04-19 21:00:30 +02:00
dircache.go Update FUSE related stuff according to gocryptfs fusefrontend 2022-04-19 19:49:09 +02:00
directory.go Return an error if the volume is already closed 2022-04-19 21:00:30 +02:00
file.go Return an error if the volume is already closed 2022-04-19 21:00:30 +02:00
go.mod Allow the password hash to be returned when creating a volume 2022-03-01 10:57:57 +01:00
go.sum Allow the password hash to be returned when creating a volume 2022-03-01 10:57:57 +01:00
helpers.go Update FUSE related stuff according to gocryptfs fusefrontend 2022-04-19 19:49:09 +02:00
main.go libgocryptfs: update to gocryptfs v2.2.0 2021-10-12 16:54:56 +02:00
volume.go Return an error if the volume is already closed 2022-04-19 21:00:30 +02:00

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 !