Results 1 to 3 of 3

Thread: Encryption

  1. #1
    Join Date
    Oct 2008
    Beans
    48

    Encryption

    I know Ubuntu uses Luks for full disk encryption but to encrypt any other file or disk like a usb drive you are on your own so i looked into this and have a few choices and a lot of questions to ask. !st Veracrypt seems to be about the best 3rd party encryption tool out there it does AES and everything there is also AES crypt that looks really good to me as well and it's a lot smaller but there's not much info on it.

    Questions.
    Has anyone used AES crypt?
    Can it encrypt a usb drive or is it just for files?
    Between Veracrypt and AES crypt what would be the best to use?
    Last edited by mike010; January 21st, 2024 at 09:10 PM.

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Encryption

    I use it with my VPN's and other related applications.
    Dont know if you have read this yet? https://proprivacy.com/guides/aes-encryption

    Others here may use something different, but I like and use the gpg command for like, folders and usb drives
    a quick example for one i
    Code:
    gpg --cipher-algo AES256 --symmetric filename.tar.gz
    This will ask for a passphrase.
    Code:
    gpg --cipher-algo AES256 -c filename.tar.gz
    Decrypt:

    Code:
    gpg --output filename.tar.gz --decrypt filename.tar.gz.gpg
    Plenty of choices on how deep you can go as well
    I recommend aes 256 in CBC mode. These are the ciphers modes you have available (only counting AES):

    Code:
    aes-128-cbc ← this is okay
    aes-128-ecb
    aes-192-cbc
    aes-192-ecb
    aes-256-cbc ← this is recommended
    aes-256-ecb
    Lots of information on the Web about all this.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Dec 2014
    Beans
    2,584

    Re: Encryption

    You do know that you can use LUKS for removable media, don't you ? If you use gnome-disks to partition and format a removable medium you get the option to set up LUKS on it. When you connect such a device the automounter (udisk2) is smart enough to recognize a LUKS container and ask for the password. If you don't mind the command line, then 'cryptsetup' and loop devices even allow you to have containers in files which you can (manually) mount into directories to have encrypted directories using LUKS.

    Holger

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •