fscrypt
gocryptfs implementation in Go fs.FS interface, as a library
Poster
| Codeberg: | https://codeberg.org/NaitLee/fscrypt |
| Go Package: | https://pkg.go.dev/codeberg.org/NaitLee/fscrypt |
Usage
Note: fscrypt is a software library.
See repository readme for document and code examples.
Cases
Reason
- Learn how gocryptfs works, as it’s different from traditional “entire file system volume in a file/partition/disk”.
- We need a simple-to-use library for using gocryptfs in code, as original gocryptfs code is not suitable to be used as a library.
fs.FSis an awesome interface.
Notes
- Since
fs.FSis a readonly interface, fscrypt is readonly too. - It should be relatively simple to implement write interfaces, like those
osfunctions. - fscrypt is not intended to replace gocryptfs or other implementations.
Disclaimer
fscrypt is not audited by security experts. No warranty of any kind.