Currently I am wondering whether it is possible to apply asymetric encryption of a directory in Linux.
I would like to achieve the following:
- Write log files to /var/log/secret
- Everything written to /var/log/secret is instantly encrypted by a public RSA key (or something similar)
The encryption programms I know, i.e. ecryptfs do not support asymetric encryption of files, at least as far as I know. (Correct me if I am wrong). Therefore I am asking here whether you know of any possibility to implement this.
Thanks in advance