afero
afero copied to clipboard
Will afero support encryption fs?
I use filebrowser( https://github.com/filebrowser/filebrowser ) manage personal files, but filebrowser not supports file encryption. I noticed filebrowser use afero as fs layer. I think AES CTR algorithm encryption in fs is a good idea, so I wrote a prototype https://git.hatter.ink/hatter/go-afero-encfs , and implemented encryption in my own fork of filebrowser: https://git.hatter.ink/hatter/filebrowser/src/branch/main/encfs .
But I'm not good a Go lang, if the official afero will support encryption will be good news.
I wrote a encfs-afero in my repo: https://github.com/jht5945/encfs-afero