LinuxCommandLibrary

veracrypt

Free and open source disk encryption software.

TLDR

Create a new volume through a text user interface and use /dev/urandom as a source of random data

$ veracrypt --text --create --random-source=[/dev/urandom]
copy


Decrypt a volume interactively through a text user interface and mount it to a directory
$ veracrypt --text [path/to/volume] [path/to/mount_point]
copy


Decrypt a partition using a keyfile and mount it to a directory
$ veracrypt --keyfiles=[path/to/keyfile] [/dev/sdXN] [path/to/mount_point]
copy


Dismount a volume on the directory it is mounted to
$ veracrypt --dismount [path/to/mounted_point]
copy

Copied to clipboard