Comments on: 7 Tools to Encrypt/Decrypt and Password Protect Files in Linux https://www.tecmint.com/linux-password-protect-files-with-encryption/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 30 Nov 2023 21:10:56 +0000 hourly 1 By: Kanu Patel https://www.tecmint.com/linux-password-protect-files-with-encryption/comment-page-1/#comment-2109383 Thu, 30 Nov 2023 21:10:56 +0000 http://www.tecmint.com/?p=12279#comment-2109383 I have created a UNIX encryption/decryption tool using my propitiatory RSA algorithm. Currently, I am giving it to use it free for 3 months to individuals and businesses.

]]>
By: Doug W https://www.tecmint.com/linux-password-protect-files-with-encryption/comment-page-1/#comment-1499632 Mon, 24 May 2021 19:19:59 +0000 http://www.tecmint.com/?p=12279#comment-1499632 Easily encrypt an entire directory using encfs.

]]>
By: H. Molina https://www.tecmint.com/linux-password-protect-files-with-encryption/comment-page-1/#comment-1498415 Mon, 24 May 2021 10:04:53 +0000 http://www.tecmint.com/?p=12279#comment-1498415 In reply to Arun.

You can pass the password using an environment variable, using the -pass argument:

export PASSWORD=YOUR_PASSWORD_HERE
openssl enc -pass env:PASSWORD -aes-256-cbc -in your_src_file.ext -out your_dst_file.enc

Now, in your script, you can set the environment variable, or read the password from a file.

Best regards

]]>
By: Arun https://www.tecmint.com/linux-password-protect-files-with-encryption/comment-page-1/#comment-1341561 Tue, 30 Jun 2020 06:43:12 +0000 http://www.tecmint.com/?p=12279#comment-1341561 HI,

Can we pass the encryption password as an option to OpenSSL without being prompted for standard input?

I would like to implement this in a script.

]]>
By: Shaheer Farooq https://www.tecmint.com/linux-password-protect-files-with-encryption/comment-page-1/#comment-1176964 Fri, 21 Jun 2019 10:18:43 +0000 http://www.tecmint.com/?p=12279#comment-1176964 Thanks for sharing such a useful article. Really helps me a lot.

]]>