File Encryption In Linux

Discussion in 'Programming/Scripts' started by asyadiqin, Nov 22, 2007.

  1. asyadiqin

    asyadiqin New Member

    Not sure if this is the correct thread for this, so apologies if its not.

    I need a way to encrypt multiples files, eg. tar files, preferable using blowfish. The reason is that I am going to create backups of files on my servers and back it up to a portable USB harddrives. Since the datas in the files are sensitive, those files must be encrypted.

    Any suggestions or tips? Thanks again.
  2. sjau

    sjau Local Meanie Moderator

    Hmmm, you could use GPG/enigmail with thunderbird to encrypt it to yourself and send it to yourself...

    you could use dm_crypt or truecrypt to create a container that can be copied and store the files within the container...
  3. asyadiqin

    asyadiqin New Member

    Thanks for the post.

    Email is not an option as the total size of one of the folders that was tarred is about 40GB. Creating an encrypted container to store the files is also not an option.

    Is there any other encryption tools that can be executed from a CLI or/and crontab so that we can automate the encryption and backup?

    I am looking for something like bcrypt ( but it seems the last official stable release is September 2002. Not sure if its still good enough. However, the alternative tool should be easy to use like bcrypt.
  4. the_spy

    the_spy New Member

    personally I use OpenSSL to encrypt files:

    and when I'm done with backuping my files, I do a "shred" on the pass.txt so it can't be retrievable.
  5. sjau

    sjau Local Meanie Moderator

    why not encrypt the whole usb disk with dm_crypt/LUKS or Truecrypt....

Share This Page