Open crowtrobot opened 5 months ago
That is, unfortunately, correct. gocryptfs -reverse does not support xattrs, c.f. https://github.com/rfjakob/gocryptfs/blob/0dfa7f8fadfa200c62f8ed9d3d08f745aa182f5b/internal/fusefrontend_reverse/node_api_check.go#L16
I just started looking into gocryptfs as a new method to encrypt offsite backups with the reverse option, and so far I am loving it. I have noticed one strange thing, and can't find a report for it here.
If I make a normal gocryptfs filesystem, and put some files in it, I can set extended attributes on those files which get encrypted and stored as extended attributes on the encrypted files. But if I mount with -reverse a directory with files that have extended attributes, they don't show up in the encrypted form.
Tested with the latest release downloaded from github, which is
gocryptfs v2.4.0 without_openssl; go-fuse v2.3.0; 2023-06-10 go1.20.3 linux/amd64
Steps to reproduce:
I expected to see here the encrypted xattr, like this:
But instead see nothing.