https://www.zdnet.com/article/how-to-encrypt-a-file-in-linux-and-when-you-should/
Читать далее...ZDNET
How to encrypt a file on Linux (and when you should)
If you're looking for the easiest method of protecting a file behind a layer of encryption in Linux, here are two easy ways to make this work.