LinuxCommandLibrary

veracrypt

Open-source disk encryption software

TLDR

Create new volume
$ veracrypt -t -c --random-source=/dev/urandom
copy
Mount volume interactively
$ veracrypt -t [path/to/volume] [path/to/mount_point]
copy
Mount with keyfile
$ veracrypt -k [path/to/keyfile] [/dev/sdXN] [path/to/mount_point]
copy
Dismount volume
$ veracrypt -d [path/to/mounted_point]
copy

SYNOPSIS

veracrypt [OPTIONS] [VOLUME] [MOUNTPOINT_]

DESCRIPTION

veracrypt is free and open source disk encryption software. It creates encrypted containers (file-hosted volumes) or encrypts entire partitions or drives, providing on-the-fly encryption.
VeraCrypt supports multiple encryption algorithms and can create hidden volumes for plausible deniability.

PARAMETERS

-t, --text

Use text user interface
-c, --create
Create a new volume
-k, --keyfiles FILE
Use keyfile for decryption
-d, --dismount
Dismount a volume
--random-source FILE
Source of random data for volume creation
-p, --password PASSWORD
Specify password (less secure)

CAVEATS

Forgetting password or losing keyfile results in permanent data loss. Volume creation can be slow. Some features require root privileges.

HISTORY

VeraCrypt is a fork of the discontinued TrueCrypt project, continuing development with security improvements and new features.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard