VeraCrypt: Difference between revisions

From Omnia
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
  veracrypt -d  # unmount all
  veracrypt -d  # unmount all


Mount with password passed in: (need to verify this works)
Mount with password passed in:
  veracrypt CRYPTFILE CRYPTDIR -p 'PASSWORD' -k '' --protect-hidden=no
  veracrypt CRYPTFILE CRYPTDIR -p 'PASSWORD' -k '' --pim=0 --protect-hidden=no
  echo "PASSWORD" | veracrypt CRYPTFILE CRYPTDIR -p '' -k '' --protect-hidden=no
  echo "PASSWORD" | veracrypt CRYPTFILE CRYPTDIR -p '' -k '' --pim=0 --protect-hidden=no

Revision as of 20:18, 16 May 2024

VeraCrypt

Basically a replacement for TrueCrypt. It adds some security enhacements like a PIM (like a PIN, but mathematical purpose).

Linux Command Line

Install: (Ubuntu)

apt install veracrypt

Create volume:

veracrypt -c [enc_file]

Mount volume:

veracrypt [enc_file] [mount_point]

Unmount volume:

veracrypt -d [mount_point]
veracrypt -d   # unmount all

Mount with password passed in:

veracrypt CRYPTFILE CRYPTDIR -p 'PASSWORD' -k  --pim=0 --protect-hidden=no
echo "PASSWORD" | veracrypt CRYPTFILE CRYPTDIR -p  -k  --pim=0 --protect-hidden=no