Re-design of the original gocryptfs code to work as a library.
Go to file
Matéo Duparc d6e75be376
Use renameat instead of renameat2
2021-12-18 14:52:00 +01:00
allocator Genesis patch 2021-06-11 15:52:46 +02:00
internal Use renameat instead of renameat2 2021-12-18 14:52:00 +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 Genesis patch 2021-06-11 15:52:46 +02:00
common_ops.go Use renameat instead of renameat2 2021-12-18 14:52:00 +01:00
directory.go Switch to v2 module 2021-10-24 10:48:44 +02:00
file.go Switch to v2 module 2021-10-24 10:48:44 +02:00
go.mod Use renameat instead of renameat2 2021-12-18 14:52:00 +01:00
go.sum Use renameat instead of renameat2 2021-12-18 14:52:00 +01:00
helpers.go Switch to v2 module 2021-10-24 10:48:44 +02:00
main.go libgocryptfs: update to gocryptfs v2.2.0 2021-10-12 16:54:56 +02:00
volume.go Switch to v2 module 2021-10-24 10:48:44 +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 !