Questions tagged [veracrypt]

This tag should be used for programming questions involving interacting with VeraCrypt. VeraCrypt is independent, audited, secure full disk encryption software for Windows, Linux, and more.

VeraCrypt is independent, audited, secure full disk encryption software for Windows, Linux, and more.

25 questions
3
votes
1 answer

Cannot verify PGP signature for veracrypt executable

I just downloaded a fresh copy of veracrypt from the official website, however I'm having some trouble verifying its signature. Here's what I did: gpg import veracrypt.asc (from here) -gpg --verify "VeraCrypt Setup 1.24-Update7.exe.sig" "VeraCrypt…
user16469617
2
votes
1 answer

Piping a passphrase to Veracrypt with popen() - is it secure?

I am trying to make mounting several Veracrypt volumes with the same password more convenient on the Linux commandline. Since Veracrypt does only support passphrase caching in GUI-mode, I wrote the following code to do the job for…
greg.
  • 140
  • 10
2
votes
2 answers

Run veracrypt from powershell

I'm trying to run the following command from a powershell script. "C:\Program Files\VeraCrypt\VeraCrypt Format-x86.exe" /create "C:\test veracrypt file.hc" /password alongpasswordisagoodpassword /hash sha512 /encryption serpent /filesystem NTFS…
Kasper
  • 157
  • 7
2
votes
1 answer

Veracrypt - Mount as a specific user

After I mount a veracrypt volume with the root user like so: veracrypt --verbose --text --protect-hidden=no --keyfiles="" /dev/sde1 /mnt/somewhere All the folders and files have a permissions of rwxr-xr-x and a username:group of 1000:1000. Only…
Zurd
  • 686
  • 7
  • 16
1
vote
1 answer

How to remove veracrypt from startup?

I decrypted the disk, but at the beginning "enter password" still appears, I press Esc and log into Windows. How do I remove this initial veracrypt bootloader entry? Tried to delete it didn't help! It's not in the auto-upload! I even tried…
John
  • 23
  • 5
1
vote
1 answer

`Get-Volume` does not list system favorite volumes mounted by VeraCrypt

I have a Windows 10 Pro (v1903) machine setup with 2 SSDs and full disk encryption by VeraCrypt. The second SSD is mounted as a system favorite volume, so that I only have to provide one password/key at boot and both SSDs will be mounted…
stackprotector
  • 10,498
  • 4
  • 35
  • 64
1
vote
1 answer

Veracrypt container on mac - how to set permissions (compatible with .ssh files)

I would like to know how to make the veracrypt volume (container) able to change permission with chmod (and have key permissions compatible with ssh). I wish to store my .ssh folder securely with veracrypt. But when try to ssh using my credentials…
Vrizzt
  • 31
  • 4
1
vote
1 answer

How to auto-mount veracrypt device-hosted volume with systemd after login on Linux Mint?

I created /etc/systemd/system/veracrypt-automount-devices.service: [Unit] Description=VeraCrypt auto-mount device-hosted volumes [Service] Type=forking ExecStartPre=/bin/sleep 300 ExecStart=/usr/bin/veracrypt --auto-mount=devices…
Thomas
  • 422
  • 1
  • 4
  • 12
1
vote
1 answer

Veracrypt with batchfile: how can execution be stopped if drive is not mounted?

I have a simple batch-file which starts first veracrypt and after mounting another batch-file: C: cd C:\Program2\VeraCrypt veracrypt /v \Device\Harddisk2\Partition1 /l L /a /p 123xyz /q cd /D D:\backup start_backup.bat start_backup.bat starts a…
giordano
  • 2,954
  • 7
  • 35
  • 57
1
vote
1 answer

Creating virtualenv inside veracypt error

I'm setting up a project inside veracrypt and it's throwing this error when I try to setup the environment. admin@kali:/media/veracrypt1$ virtualenv --python=python3 venv Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python…
Sam B.
  • 2,703
  • 8
  • 40
  • 78
1
vote
1 answer

Unfortunate quick formatting of veracrypt

I accidentally quick formatted on Windows 10 a VeraCrypt-encrypted unmounted partition. My objective is to recover the data. Following several threads, I successfully used VeraCrypt "Restore Volume Header" tool and I am able to mount the volume with…
Arnaud BUBBLE
  • 677
  • 1
  • 6
  • 10
1
vote
1 answer

VeraCrypt Windows commandline - encrypt whole USB

I'm trying to format whole USB from windows commandline. In Linux it's quite easy - veracrypt --create diskPath But when i'm trying to do that in windows it's impossible. I'm trying to use this command "VeraCrypt Format.exe" /create…
Razikus
  • 146
  • 2
  • 12
0
votes
0 answers

Is there an application like VeraCrypt which supports TOTP or other changable parameter?

I am looking for a multi-platform application - Windows + Linux that will create a container to keep files there with some predefined password + TOTP or any other changeable parameter that would protect the container if a password leaks.
0
votes
0 answers

Linux Input/Output error on huge file after 193GB has been copied

I'm trying to copy a veracrypt image from a (veracrypt) encrypted ntfs drive which is mounted on /mnt/veracrypt. However, the copy consistently fails at 193GB (out of 2TB). $ sudo cp /mnt/veracrypt/some_file.hc /slow-data/ cp: error reading…
Herbert
  • 5,279
  • 5
  • 44
  • 69
0
votes
0 answers

How can I prevent Windows from caching thumbnails and other metadata for particular folders or drives?

I know I can disable thumbnail caching system wide, but that seems too dramatic, I do enjoy the performance benefits of caching, just not for particular directories or drives. For example I sometimes mount my smartphone, and don't want Windows to…
1
2